Home
last modified time | relevance | path

Searched refs:view_type (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/
Dextension_view_host_factory.cc33 ViewType view_type) { in CreateViewHostForExtension() argument
36 DCHECK(browser || view_type == VIEW_TYPE_EXTENSION_DIALOG); in CreateViewHostForExtension()
42 new ExtensionViewHostMac(extension, site_instance, url, view_type); in CreateViewHostForExtension()
44 new ExtensionViewHost(extension, site_instance, url, view_type); in CreateViewHostForExtension()
63 ViewType view_type) { in CreateViewHostForIncognito() argument
71 extension, url, original_profile, browser, view_type); in CreateViewHostForIncognito()
77 extension, url, profile, browser, view_type); in CreateViewHostForIncognito()
103 extensions::ViewType view_type) { in CreateViewHost() argument
106 DCHECK(browser || view_type == VIEW_TYPE_EXTENSION_DIALOG); in CreateViewHost()
113 extension, url, profile, browser, view_type); in CreateViewHost()
[all …]
/external/chromium_org/chrome/renderer/extensions/
Druntime_custom_bindings.cc141 ViewType view_type = VIEW_TYPE_INVALID; in GetExtensionViews() local
143 view_type = VIEW_TYPE_EXTENSION_BACKGROUND_PAGE; in GetExtensionViews()
145 view_type = VIEW_TYPE_EXTENSION_INFOBAR; in GetExtensionViews()
147 view_type = VIEW_TYPE_NOTIFICATION; in GetExtensionViews()
149 view_type = VIEW_TYPE_TAB_CONTENTS; in GetExtensionViews()
151 view_type = VIEW_TYPE_EXTENSION_POPUP; in GetExtensionViews()
153 view_type = VIEW_TYPE_EXTENSION_DIALOG; in GetExtensionViews()
155 view_type = VIEW_TYPE_APP_SHELL; in GetExtensionViews()
157 view_type = VIEW_TYPE_PANEL; in GetExtensionViews()
167 extension_id, browser_window_id, view_type); in GetExtensionViews()
Dextension_helper.h45 ViewType view_type);
56 ViewType view_type() const { return view_type_; } in view_type() function
96 void OnNotifyRendererViewType(ViewType view_type);
Dextension_helper.cc64 ViewType view_type) in ViewAccumulator() argument
67 view_type_(view_type) { in ViewAccumulator()
75 if (!ViewTypeMatches(helper->view_type(), view_type_)) in Visit()
122 ViewType view_type) { in GetExtensionViews() argument
123 ViewAccumulator accumulator(extension_id, browser_window_id, view_type); in GetExtensionViews()
Devent_bindings.cc318 helper->view_type() == VIEW_TYPE_EXTENSION_BACKGROUND_PAGE); in IsLazyBackgroundPage()
/external/chromium_org/chrome/browser/task_manager/
Dextension_process_resource_provider.cc161 extensions::ViewType view_type = extensions::GetViewType(web_contents); in IsBackground() local
162 return view_type == extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE; in IsBackground()
297 extensions::ViewType view_type = extensions::GetViewType(web_contents); in IsHandledByThisProvider() local
302 return (view_type != extensions::VIEW_TYPE_TAB_CONTENTS && in IsHandledByThisProvider()
303 view_type != extensions::VIEW_TYPE_BACKGROUND_CONTENTS); in IsHandledByThisProvider()
305 return (view_type != extensions::VIEW_TYPE_TAB_CONTENTS && in IsHandledByThisProvider()
306 view_type != extensions::VIEW_TYPE_BACKGROUND_CONTENTS && in IsHandledByThisProvider()
307 view_type != extensions::VIEW_TYPE_PANEL); in IsHandledByThisProvider()
/external/chromium/chrome/browser/extensions/
Dextension_process_manager.cc38 ViewType::Type view_type);
118 ViewType::Type view_type) { in CreateView() argument
121 DCHECK(browser || (!browser && view_type == ViewType::EXTENSION_POPUP)); in CreateView()
125 view_type); in CreateView()
127 new ExtensionHost(extension, GetSiteInstanceForURL(url), url, view_type); in CreateView()
136 ViewType::Type view_type) { in CreateView() argument
138 DCHECK(browser || (!browser && view_type == ViewType::EXTENSION_POPUP)); in CreateView()
144 return CreateView(extension, url, browser, view_type); in CreateView()
387 ViewType::Type view_type) { in CreateView() argument
391 browser, view_type); in CreateView()
[all …]
Dextension_process_manager.h41 ViewType::Type view_type);
44 ViewType::Type view_type);
/external/chromium_org/chrome/browser/speech/
Dchrome_speech_recognition_manager_delegate.cc435 extensions::ViewType view_type = extensions::GetViewType(web_contents); in CheckRenderViewType() local
442 if (view_type == extensions::VIEW_TYPE_TAB_CONTENTS || in CheckRenderViewType()
443 view_type == extensions::VIEW_TYPE_APP_SHELL || in CheckRenderViewType()
444 view_type == extensions::VIEW_TYPE_VIRTUAL_KEYBOARD || in CheckRenderViewType()
450 (view_type == extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE && in CheckRenderViewType()
/external/chromium_org/chrome/browser/ui/translate/
Dtranslate_bubble_model_impl.cc12 TranslateBubbleModel::ViewState view_type, in TranslateBubbleModelImpl() argument
15 view_state_transition_(view_type) { in TranslateBubbleModelImpl()
Dtranslate_bubble_model_impl.h18 TranslateBubbleModelImpl(TranslateBubbleModel::ViewState view_type,
/external/chromium_org/ash/system/chromeos/power/
Dpower_status_view.cc30 PowerStatusView::PowerStatusView(ViewType view_type, in PowerStatusView() argument
38 view_type_(view_type) { in PowerStatusView()
40 if (view_type == VIEW_DEFAULT) { in PowerStatusView()
Dpower_status_view.h26 PowerStatusView(ViewType view_type, bool default_view_right_align);
/external/chromium_org/chrome/browser/tab_contents/
Dspellchecker_submenu_observer_hunspell.cc77 extensions::ViewType view_type = in InitMenu() local
79 if (view_type != extensions::VIEW_TYPE_PANEL) { in InitMenu()
Dspelling_menu_observer.cc169 extensions::ViewType view_type = in InitMenu() local
171 if (view_type != extensions::VIEW_TYPE_PANEL) { in InitMenu()
Drender_view_context_menu.cc565 extensions::ViewType view_type = in InitMenu() local
567 if (view_type == extensions::VIEW_TYPE_APP_SHELL) { in InitMenu()
570 } else if (view_type == extensions::VIEW_TYPE_EXTENSION_POPUP) { in InitMenu()
573 } else if (view_type == extensions::VIEW_TYPE_PANEL) { in InitMenu()
/external/chromium_org/extensions/browser/
Dprocess_manager.cc318 ViewType view_type = view->second; in UnregisterRenderViewHost() local
322 if (view_type != VIEW_TYPE_INVALID && in UnregisterRenderViewHost()
323 view_type != VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) { in UnregisterRenderViewHost()
400 ViewType view_type = GetViewType(web_contents); in IncrementLazyKeepaliveCountForView() local
401 if (view_type != VIEW_TYPE_INVALID && in IncrementLazyKeepaliveCountForView()
402 view_type != VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) { in IncrementLazyKeepaliveCountForView()
/external/chromium_org/chrome/browser/guestview/
Dguestview.cc73 GuestView::Type view_type) { in Create() argument
74 switch (view_type) { in Create()
Dguestview.h48 Type view_type);
/external/chromium_org/chrome/test/functional/
Dexecute_javascript.py49 view_type='EXTENSION_BACKGROUND_PAGE')
/external/chromium_org/extensions/
Dextensions.gyp121 'common/view_type.cc',
122 'common/view_type.h',
/external/chromium_org/ash/system/chromeos/network/
Dtray_sms.cc91 ViewType view_type, in SmsMessageView() argument
108 if (view_type == VIEW_DETAILED) in SmsMessageView()
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_view_mac.mm14 #include "extensions/common/view_type.h"
/external/chromium_org/chrome/test/functional/gtalk/
Dtest_basic.py36 view_type='EXTENSION_BACKGROUND_PAGE')
/external/chromium_org/chrome/browser/
Dchrome_content_browser_client.cc2283 extensions::ViewType view_type = extensions::GetViewType(web_contents); in OverrideWebkitPrefs() local
2295 extension, view_type, web_prefs); in OverrideWebkitPrefs()
2299 if (view_type == extensions::VIEW_TYPE_NOTIFICATION) { in OverrideWebkitPrefs()
2301 } else if (view_type == extensions::VIEW_TYPE_BACKGROUND_CONTENTS) { in OverrideWebkitPrefs()

12