/external/chromium/chrome/browser/ui/ |
D | browser.cc | 203 Browser::Browser(Type type, Profile* profile) in Browser() function in Browser 284 Browser::~Browser() { in ~Browser() 341 Browser* Browser::Create(Profile* profile) { in Create() 342 Browser* browser = new Browser(TYPE_NORMAL, profile); in Create() 348 Browser* Browser::CreateForPopup(Type type, in CreateForPopup() 353 Browser* browser = new Browser(type, profile); in CreateForPopup() 362 Browser* Browser::CreateForType(Type type, Profile* profile) { in CreateForType() 363 Browser* browser = new Browser(type, profile); in CreateForType() 369 Browser* Browser::CreateForApp(const std::string& app_name, in CreateForApp() 373 Browser::Type type = TYPE_APP; in CreateForApp() [all …]
|
D | browser_list.h | 17 typedef std::vector<Browser*> BrowserVector; 27 virtual void OnBrowserAdded(const Browser* browser) = 0; 30 virtual void OnBrowserRemoved(const Browser* browser) = 0; 33 virtual void OnBrowserSetLastActive(const Browser* browser) {} in OnBrowserSetLastActive() 42 static void AddBrowser(Browser* browser); 43 static void RemoveBrowser(Browser* browser); 50 static void SetLastActive(Browser* browser); 61 static Browser* GetLastActive(); 66 static Browser* GetLastActiveWithProfile(Profile *profile); 73 static Browser* FindBrowserWithType(Profile* p, Browser::Type t, [all …]
|
D | browser_list.cc | 87 Browser* browser = BrowserList::GetLastActive(); in LogBrowserTabCount() 118 bool BrowserMatches(Browser* browser, in BrowserMatches() 120 Browser::Type type, in BrowserMatches() 121 Browser::WindowFeature window_feature, in BrowserMatches() 136 if (type != Browser::TYPE_ANY && browser->type() != type) in BrowserMatches() 146 Browser* FindBrowserMatching(const T& begin, in FindBrowserMatching() 149 Browser::Type type, in FindBrowserMatching() 150 Browser::WindowFeature window_feature, in FindBrowserMatching() 165 void BrowserList::AddBrowser(Browser* browser) { in AddBrowser() 176 Source<Browser>(browser), in AddBrowser() [all …]
|
D | browser_init_browsertest.cc | 44 void FindOneOtherBrowser(Browser** out_other_browser) { in FindOneOtherBrowser() 49 Browser* other_browser = NULL; in FindOneOtherBrowser() 65 virtual void OnBrowserAdded(const Browser* browser) { in OnBrowserAdded() 69 virtual void OnBrowserRemoved(const Browser* browser) { } in OnBrowserRemoved() 71 const Browser* added_browser_; 89 Browser* popup = Browser::CreateForType(Browser::TYPE_POPUP, in IN_PROC_BROWSER_TEST_F() 91 ASSERT_EQ(popup->type(), Browser::TYPE_POPUP); in IN_PROC_BROWSER_TEST_F() 120 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() 125 EXPECT_EQ(Browser::TYPE_APP, new_browser->type()); in IN_PROC_BROWSER_TEST_F() 149 Browser* new_browser = NULL; in IN_PROC_BROWSER_TEST_F() [all …]
|
D | browser_navigator.cc | 55 bool WindowCanOpenTabs(Browser* browser) { in WindowCanOpenTabs() 56 return browser->CanSupportWindowFeature(Browser::FEATURE_TABSTRIP) || in WindowCanOpenTabs() 62 Browser* GetOrCreateBrowser(Profile* profile) { in GetOrCreateBrowser() 63 Browser* browser = BrowserList::FindBrowserWithType(profile, in GetOrCreateBrowser() 64 Browser::TYPE_NORMAL, in GetOrCreateBrowser() 66 return browser ? browser : Browser::Create(profile); in GetOrCreateBrowser() 142 params->browser = Browser::GetOrCreateTabbedBrowser(profile); in AdjustNavigateParamsForURL() 151 Browser* GetBrowserForDisposition(browser::NavigateParams* params) { in GetBrowserForDisposition() 166 params->browser = Browser::GetOrCreateTabbedBrowser(profile); in GetBrowserForDisposition() 183 Browser::Type type = Browser::TYPE_POPUP; in GetBrowserForDisposition() [all …]
|
D | browser_navigator_browsertest.cc | 28 Browser* browser) const { in MakeNavigateParams() 35 Browser* BrowserNavigatorTest::CreateEmptyBrowserForType(Browser::Type type, in CreateEmptyBrowserForType() 37 Browser* browser = Browser::CreateForType(type, profile); in CreateEmptyBrowserForType() 43 return Browser::TabContentsFactory( in CreateTabContents() 185 Browser* popup = CreateEmptyBrowserForType(Browser::TYPE_POPUP, in IN_PROC_BROWSER_TEST_F() 217 Browser* popup = CreateEmptyBrowserForType( in IN_PROC_BROWSER_TEST_F() 218 Browser::TYPE_POPUP, browser()->profile()->GetOffTheRecordProfile()); in IN_PROC_BROWSER_TEST_F() 239 EXPECT_EQ(Browser::TYPE_NORMAL, p.browser->type()); in IN_PROC_BROWSER_TEST_F() 257 EXPECT_EQ(Browser::TYPE_POPUP, p.browser->type()); in IN_PROC_BROWSER_TEST_F() 280 EXPECT_EQ(Browser::TYPE_POPUP, p2.browser->type()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | browser_tab_restore_service_delegate.cc | 73 Browser* browser = Browser::Create(profile); in Create() 84 Browser* browser = Browser::GetBrowserForController(controller, index); in FindDelegateForController() 94 Browser* browser = BrowserList::FindBrowserWithID(desired_id); in FindDelegateWithID()
|
/external/chromium/chrome/browser/automation/ |
D | testing_automation_provider.h | 46 Browser* browser; 53 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; 54 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; 379 Browser* browser, 385 void SetWindowDimensions(Browser* browser, 397 void PerformActionOnInfobar(Browser* browser, 404 void GetBrowserInfo(Browser* browser, 411 void GetNavigationInfo(Browser* browser, 418 void GetDownloadsInfo(Browser* browser, 424 void WaitForDownloadsToComplete(Browser* browser, [all …]
|
D | automation_browser_tracker.cc | 11 : AutomationResourceTracker<Browser*>(automation) { in AutomationBrowserTracker() 16 void AutomationBrowserTracker::AddObserver(Browser* resource) { in AddObserver() 18 Source<Browser>(resource)); in AddObserver() 21 void AutomationBrowserTracker::RemoveObserver(Browser* resource) { in RemoveObserver() 23 Source<Browser>(resource)); in RemoveObserver()
|
D | automation_browser_tracker.h | 11 class Browser; variable 14 class AutomationBrowserTracker : public AutomationResourceTracker<Browser*> { 18 virtual void AddObserver(Browser* resource); 19 virtual void RemoveObserver(Browser* resource);
|
/external/chromium/chrome/browser/chromeos/ |
D | tab_closeable_state_watcher.cc | 24 TabCloseableStateWatcher* main_watcher, const Browser* browser) in TabStripWatcher() 83 bool TabCloseableStateWatcher::CanCloseTab(const Browser* browser) const { in CanCloseTab() 84 return browser->type() != Browser::TYPE_NORMAL ? true : in CanCloseTab() 88 bool TabCloseableStateWatcher::CanCloseBrowser(Browser* browser) { in CanCloseBrowser() 101 void TabCloseableStateWatcher::OnWindowCloseCanceled(Browser* browser) { in OnWindowCloseCanceled() 113 void TabCloseableStateWatcher::OnBrowserAdded(const Browser* browser) { in OnBrowserAdded() 117 if (browser->type() != Browser::TYPE_NORMAL) in OnBrowserAdded() 127 void TabCloseableStateWatcher::OnBrowserRemoved(const Browser* browser) { in OnBrowserRemoved() 129 if (browser->type() != Browser::TYPE_NORMAL) in OnBrowserRemoved() 161 void TabCloseableStateWatcher::OnTabStripChanged(const Browser* browser, in OnTabStripChanged() [all …]
|
D | tab_closeable_state_watcher.h | 50 virtual bool CanCloseTab(const Browser* browser) const; 51 virtual bool CanCloseBrowser(Browser* browser); 52 virtual void OnWindowCloseCanceled(Browser* browser); 62 virtual void OnBrowserAdded(const Browser* browser); 63 virtual void OnBrowserRemoved(const Browser* browser); 72 virtual void OnTabStripChanged(const Browser* browser, bool closing_last_tab); 81 void CheckAndUpdateState(const Browser* browser_to_check); 88 bool CanCloseBrowserImpl(const Browser* browser, 118 const Browser* browser); 131 const Browser* browser() const { in browser() [all …]
|
D | tab_closeable_state_watcher_browsertest.cc | 39 void AddTabWithURL(Browser* browser, const GURL& url) { in AddTabWithURL() 47 bool CanCloseTab(const Browser* browser) { in CanCloseTab() 52 Browser* CreatePopupBrowser() { in CreatePopupBrowser() 55 Browser* popup_browser = Browser::CreateForType(Browser::TYPE_POPUP, in CreatePopupBrowser() 63 Browser* CreateIncognitoBrowser() { in CreateIncognitoBrowser() 66 Browser* incognito_browser = in CreateIncognitoBrowser() 67 Browser::Create(browser()->profile()->GetOffTheRecordProfile()); in CreateIncognitoBrowser() 96 explicit NewTabObserver(Browser* browser) : browser_(browser) { in NewTabObserver() 111 Browser* browser_; 167 Browser* popup_browser = CreatePopupBrowser(); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/chrome/browser/sessions/ |
D | session_restore.cc | 204 Browser* browser = Browser::GetBrowserForController(tab, &tab_index); in LoadNextTab() 410 Browser* browser, in SessionRestoreImpl() 424 Browser* Restore() { in Restore() 436 Browser* browser = ProcessSessionWindows(&windows_); in Restore() 443 Source<Browser>(browser_)); in Restore() 457 Browser* browser = CreateRestoredBrowser( in RestoreForeignSession() 458 static_cast<Browser::Type>((*i)->type), in RestoreForeignSession() 480 Browser* current_browser = in RestoreForeignTab() 522 Browser* FinishedTabCreation(bool succeeded, bool created_tabbed_browser) { in FinishedTabCreation() 523 Browser* browser = NULL; in FinishedTabCreation() [all …]
|
D | session_restore_browsertest.cc | 40 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE { in OnBrowserAdded() 42 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE { in OnBrowserRemoved() 90 Browser* popup = Browser::CreateForType(Browser::TYPE_POPUP, profile); in IN_PROC_BROWSER_TEST_F() 99 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); in IN_PROC_BROWSER_TEST_F() 203 Browser* incognito_browser = CreateIncognitoBrowser(); in IN_PROC_BROWSER_TEST_F() 219 Browser* new_browser = ui_test_utils::WaitForNewBrowser(); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/ui/webui/ |
D | mediaplayer_ui.h | 23 class Browser; variable 36 Browser* creator); 40 void EnqueueMediaFileUrl(const GURL& url, Browser* creator); 46 Browser* creator); 50 void ForcePlayMediaURL(const GURL& url, Browser* creator); 114 void PopupMediaPlayer(Browser* creator); 118 void PopupPlaylist(Browser* creator); 133 Browser* playlist_browser_; 138 Browser* mediaplayer_browser_;
|
/external/chromium/chrome/browser/tabs/ |
D | pinned_tab_service.cc | 14 static bool IsLastNormalBrowser(Browser* browser) { in IsLastNormalBrowser() 17 if (*i != browser && (*i)->type() == Browser::TYPE_NORMAL && in IsLastNormalBrowser() 45 Browser* browser = Source<Browser>(source).ptr(); in Observe() 46 if (!has_normal_browser_ && browser->type() == Browser::TYPE_NORMAL && in Observe() 54 Browser* browser = Source<Browser>(source).ptr(); in Observe()
|
D | tab_finder.h | 20 class Browser; variable 40 TabContents* FindTab(Browser* browser, 42 Browser** existing_browser); 74 TabContents* FindTabInBrowser(Browser* browser, const GURL& url); 81 void TrackBrowser(Browser* browser);
|
/external/chromium/chrome/browser/extensions/ |
D | extension_process_manager.h | 18 class Browser; variable 40 Browser* browser, 43 Browser* browser, 47 Browser* browser); 48 ExtensionHost* CreatePopup(const GURL& url, Browser* browser); 51 Browser* browser); 53 Browser* browser); 56 void OpenOptionsPage(const Extension* extension, Browser* browser);
|
D | extension_management_apitest.cc | 16 Browser* FindOtherBrowser(Browser* browser) { in FindOtherBrowser() 17 Browser* found = NULL; in FindOtherBrowser() 90 Browser* app_browser = FindOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F() 91 ASSERT_EQ(Browser::TYPE_APP_POPUP, app_browser->type()); in IN_PROC_BROWSER_TEST_F() 96 Source<Browser>(app_browser)); in IN_PROC_BROWSER_TEST_F() 120 ASSERT_EQ(Browser::TYPE_APP_POPUP, app_browser->type()); in IN_PROC_BROWSER_TEST_F() 172 Browser* app_browser = FindOtherBrowser(browser()); in IN_PROC_BROWSER_TEST_F() 173 ASSERT_EQ(Browser::TYPE_APP, app_browser->type()); in IN_PROC_BROWSER_TEST_F()
|
D | extension_tabs_module.cc | 56 static Browser* GetBrowserInProfileWithId(Profile* profile, 65 Browser** browser, 81 static std::string GetWindowTypeText(Browser::Type type); 83 int ExtensionTabUtil::GetWindowId(const Browser* browser) { in GetWindowId() 111 ListValue* ExtensionTabUtil::CreateTabList(const Browser* browser) { in CreateTabList() 152 DictionaryValue* ExtensionTabUtil::CreateWindowValue(const Browser* browser, in CreateWindowValue() 201 bool ExtensionTabUtil::GetDefaultTab(Browser* browser, in GetDefaultTab() 220 Browser** browser, in GetTabById() 229 Browser* target_browser = *iter; in GetTabById() 259 Browser* browser = GetBrowserInProfileWithId(profile(), window_id, in RunImpl() [all …]
|
/external/chromium/chrome/browser/ui/toolbar/ |
D | wrench_menu_model.h | 17 class Browser; variable 28 explicit EncodingMenuModel(Browser* browser); 42 Browser* browser_; // weak 61 ToolsMenuModel(ui::SimpleMenuModel::Delegate* delegate, Browser* browser); 65 void Build(Browser* browser); 79 WrenchMenuModel(ui::AcceleratorProvider* provider, Browser* browser); 115 Browser* browser() const { return browser_; } in browser() 146 Browser* browser_; // weak
|
/external/chromium/chrome/browser/ |
D | tab_closeable_state_watcher.h | 11 class Browser; variable 35 virtual bool CanCloseTab(const Browser* browser) const; 39 virtual bool CanCloseBrowser(Browser* browser); 44 virtual void OnWindowCloseCanceled(Browser* browser) {} in OnWindowCloseCanceled()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
D | HtmlTooltipHelper.java | 17 import org.eclipse.swt.browser.Browser; 129 final Browser browser = new Browser(parent, SWT.NONE); in createTooltipControl_Browser() 136 hideTooltip((Browser) event.widget); in createTooltipControl_Browser() 175 private static void tweakBrowserSize(Browser browser, int heightLimitChars) { in tweakBrowserSize() 189 private static void expandShellToShowFullPage_Height(Browser browser, int maxHeight) { in expandShellToShowFullPage_Height() 229 private static int getContentOffsetWidth(Browser browser) throws Exception { in getContentOffsetWidth() 235 private static int getContentOffsetHeight(Browser browser) throws Exception { in getContentOffsetHeight() 241 private static int getContentScrollHeight(Browser browser) throws Exception { in getContentScrollHeight() 247 private static int getBodyOffsetHeight(Browser browser) throws Exception { in getBodyOffsetHeight() 251 private static int getBodyScrollHeight(Browser browser) throws Exception { in getBodyScrollHeight() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
D | extension_view_mac.h | 14 class Browser; variable 25 ExtensionViewMac(ExtensionHost* extension_host, Browser* browser); 36 Browser* browser() const { return browser_; } in browser() 73 Browser* browser_; // weak
|