Home
last modified time | relevance | path

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

/external/chromium_org/ash/shell/
Dwindow_watcher.cc31 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE { in OnWindowAdded() argument
32 new_window->AddObserver(watcher_); in OnWindowAdded()
95 void WindowWatcher::OnWindowAdded(aura::Window* new_window) { in OnWindowAdded() argument
96 if (new_window->type() != aura::client::WINDOW_TYPE_NORMAL && in OnWindowAdded()
97 new_window->type() != aura::client::WINDOW_TYPE_PANEL) in OnWindowAdded()
103 item.type = new_window->type() == aura::client::WINDOW_TYPE_PANEL ? in OnWindowAdded()
106 id_to_window_[id] = new_window; in OnWindowAdded()
125 SetLauncherIDForWindow(id, new_window); in OnWindowAdded()
Dwindow_watcher.h37 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
/external/chromium_org/content/browser/web_contents/aura/
Dwindow_slider_unittest.cc38 aura::Window* new_window = new aura::Window(NULL); in ChangeSliderOwnerDuringScrollCallback() local
39 new_window->Init(ui::LAYER_TEXTURED); in ChangeSliderOwnerDuringScrollCallback()
40 new_window->Show(); in ChangeSliderOwnerDuringScrollCallback()
41 slider->ChangeOwner(new_window); in ChangeSliderOwnerDuringScrollCallback()
42 (*window)->parent()->AddChild(new_window); in ChangeSliderOwnerDuringScrollCallback()
43 window->reset(new_window); in ChangeSliderOwnerDuringScrollCallback()
311 aura::Window* new_window = window.get(); in TEST_F() local
312 EXPECT_NE(old_window, new_window); in TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsessions_helper.cc158 SessionWindow* new_window = new SessionWindow(); in GetLocalWindows() local
159 new_window->window_id.set_id(window.window_id.id()); in GetLocalWindows()
166 new_window->tabs.push_back(new_tab); in GetLocalWindows()
168 (*local_windows)[new_window->window_id.id()] = new_window; in GetLocalWindows()
/external/chromium_org/ash/wm/overview/
Dwindow_selector.cc395 void WindowSelector::OnWindowAdded(aura::Window* new_window) { in OnWindowAdded() argument
396 if (new_window->type() != aura::client::WINDOW_TYPE_NORMAL && in OnWindowAdded()
397 new_window->type() != aura::client::WINDOW_TYPE_PANEL) { in OnWindowAdded()
402 if (new_window->parent()->id() == kSwitchableWindowContainerIds[i] && in OnWindowAdded()
403 !new_window->transient_parent()) { in OnWindowAdded()
Dwindow_selector.h76 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc204 Browser* new_window = NULL; in CreateBrowserWindow() local
208 new_window = chrome::FindTabbedBrowser(profile, false, in CreateBrowserWindow()
211 if (!new_window) in CreateBrowserWindow()
212 new_window = new Browser(params); in CreateBrowserWindow()
213 return new_window; in CreateBrowserWindow()
577 Browser* new_window = CreateBrowserWindow(create_params, window_profile, in RunImpl() local
582 new_window, *i, content::PAGE_TRANSITION_LINK); in RunImpl()
596 TabStripModel* target_tab_strip = new_window->tab_strip_model(); in RunImpl()
604 chrome::NewTab(new_window); in RunImpl()
606 chrome::SelectNumberedTab(new_window, 0); in RunImpl()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_tabs_module.cc491 Browser* new_window = Browser::CreateForType(window_type, window_profile); in RunImpl() local
493 new_window->AddSelectedTabWithURL(*i, PageTransition::LINK); in RunImpl()
495 TabStripModel* target_tab_strip = new_window->tabstrip_model(); in RunImpl()
499 new_window->NewTab(); in RunImpl()
501 new_window->SelectNumberedTab(0); in RunImpl()
503 new_window->window()->SetBounds(popup_bounds); in RunImpl()
505 new_window->window()->SetBounds(window_bounds); in RunImpl()
508 new_window->window()->Show(); in RunImpl()
510 new_window->window()->ShowInactive(); in RunImpl()
512 if (new_window->profile()->IsOffTheRecord() && !include_incognito()) { in RunImpl()
[all …]
/external/chromium_org/ui/views/widget/
Dwindow_reorderer.cc186 void WindowReorderer::OnWindowAdded(aura::Window* new_window) { in OnWindowAdded() argument
187 association_observer_->StartObserving(new_window); in OnWindowAdded()
Dwindow_reorderer.h40 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
/external/chromium_org/ash/wm/
Dwindow_positioner.cc218 const aura::Window* new_window, in GetBoundsAndShowStateForNewWindow() argument
229 if (top_window == new_window) in GetBoundsAndShowStateForNewWindow()
244 (!new_window || !wm::GetWindowState(new_window)->IsFullscreen())))) { in GetBoundsAndShowStateForNewWindow()
Dsolo_window_tracker.h53 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
Dwindow_positioner.h54 const aura::Window* new_window,
Dsolo_window_tracker.cc187 void SoloWindowTracker::OnWindowAdded(aura::Window* new_window) { in OnWindowAdded() argument
/external/chromium_org/ui/aura/
Dwindow_observer.h48 virtual void OnWindowAdded(Window* new_window) {} in OnWindowAdded() argument
Dwindow_unittest.cc1807 virtual void OnWindowAdded(Window* new_window) OVERRIDE { in TEST_F() argument
/external/chromium_org/chrome/browser/ui/
Dbrowser_commands.cc617 BrowserWindow* new_window = new_browser->window(); in DuplicateTabAt() local
618 new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), in DuplicateTabAt()
1103 BrowserWindow* new_window = b->window(); in ViewSource() local
1104 new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), in ViewSource()
Dbrowser_navigator.cc522 aura::Window* new_window = params->browser->window()->GetNativeWindow(); in Navigate() local
525 if (src_user != manager->GetUserPresentingWindow(new_window)) { in Navigate()
530 manager->ShowWindowForUser(new_window, src_user); in Navigate()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura.cc766 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE { in OnWindowAdded() argument
767 if (new_window == view_->window_) in OnWindowAdded()
770 if (new_window == parent_) in OnWindowAdded()
775 if (new_window->parent() == parent_ || in OnWindowAdded()
776 new_window->parent() == view_->window_->GetRootWindow()) { in OnWindowAdded()
777 new_window->AddObserver(this); in OnWindowAdded()
/external/chromium/chrome/browser/
Daeropeek_manager.cc1130 AeroPeekWindow* new_window =
1132 if (new_window)
1133 new_window->Activate();
/external/chromium_org/chrome/test/chromedriver/test/
Drun_py_tests.py570 new_window = self._WaitForNewWindow(old_windows)
571 self.assertNotEqual(None, new_window)
574 self._driver.SwitchToWindow(new_window)
/external/chromium_org/chrome_frame/test/
Die_event_sink.h53 virtual void OnNewBrowserWindow(IDispatch* new_window, const wchar_t* url) {} in OnNewBrowserWindow() argument
/external/chromium_org/win8/metro_driver/
Dchrome_app_view.cc253 bool new_window = (index == globals.host_windows.end()); in SetFrameWindowInternal() local
254 if (!new_window) { in SetFrameWindowInternal()
261 if (new_window) { in SetFrameWindowInternal()
/external/chromium_org/chrome/browser/sessions/
Dsession_restore_browsertest.cc923 Browser* new_window = active_browser_list_->get(1); in IN_PROC_BROWSER_TEST_F() local
924 CloseBrowserSynchronously(new_window); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/
Dbrowser.cc2591 BrowserWindow* new_window = browser->window(); in DuplicateContentsAt() local
2592 new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), in DuplicateContentsAt()
4410 BrowserWindow* new_window = browser->window(); in ViewSource() local
4411 new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), in ViewSource()