window 197 apps/app_window.h AppWindow* window, window 17 apps/app_window_interactive_uitest.cc void CheckAlwaysOnTopToFullscreen(AppWindow* window) { window 18 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window->GetBaseWindow()->IsAlwaysOnTop()); window 22 apps/app_window_interactive_uitest.cc window->Fullscreen(); window 23 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 26 apps/app_window_interactive_uitest.cc EXPECT_TRUE(window->IsAlwaysOnTop()); window 29 apps/app_window_interactive_uitest.cc window->Restore(); window 30 apps/app_window_interactive_uitest.cc EXPECT_TRUE(window->GetBaseWindow()->IsAlwaysOnTop()); window 33 apps/app_window_interactive_uitest.cc void CheckNormalToFullscreen(AppWindow* window) { window 36 apps/app_window_interactive_uitest.cc ASSERT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 37 apps/app_window_interactive_uitest.cc window->Fullscreen(); window 38 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 39 apps/app_window_interactive_uitest.cc window->Restore(); window 40 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 43 apps/app_window_interactive_uitest.cc void CheckFullscreenToAlwaysOnTop(AppWindow* window) { window 44 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window->GetBaseWindow()->IsFullscreenOrPending()); window 48 apps/app_window_interactive_uitest.cc window->SetAlwaysOnTop(true); window 49 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 52 apps/app_window_interactive_uitest.cc EXPECT_TRUE(window->IsAlwaysOnTop()); window 55 apps/app_window_interactive_uitest.cc window->Restore(); window 56 apps/app_window_interactive_uitest.cc EXPECT_TRUE(window->GetBaseWindow()->IsAlwaysOnTop()); window 73 apps/app_window_interactive_uitest.cc AppWindow* window = CreateTestAppWindow("{ \"alwaysOnTop\": true }"); window 74 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window); window 75 apps/app_window_interactive_uitest.cc CheckAlwaysOnTopToFullscreen(window); window 77 apps/app_window_interactive_uitest.cc window->SetAlwaysOnTop(false); window 78 apps/app_window_interactive_uitest.cc CheckNormalToFullscreen(window); window 80 apps/app_window_interactive_uitest.cc CloseAppWindow(window); window 93 apps/app_window_interactive_uitest.cc AppWindow* window = CreateTestAppWindow("{}"); window 94 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window); window 95 apps/app_window_interactive_uitest.cc CheckNormalToFullscreen(window); window 97 apps/app_window_interactive_uitest.cc window->SetAlwaysOnTop(true); window 98 apps/app_window_interactive_uitest.cc CheckAlwaysOnTopToFullscreen(window); window 100 apps/app_window_interactive_uitest.cc CloseAppWindow(window); window 112 apps/app_window_interactive_uitest.cc AppWindow* window = CreateTestAppWindow("{ \"state\": \"fullscreen\" }"); window 113 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window); window 114 apps/app_window_interactive_uitest.cc CheckFullscreenToAlwaysOnTop(window); window 116 apps/app_window_interactive_uitest.cc CloseAppWindow(window); window 129 apps/app_window_interactive_uitest.cc AppWindow* window = CreateTestAppWindow("{}"); window 130 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window); window 132 apps/app_window_interactive_uitest.cc window->Fullscreen(); window 133 apps/app_window_interactive_uitest.cc CheckFullscreenToAlwaysOnTop(window); window 135 apps/app_window_interactive_uitest.cc CloseAppWindow(window); window 147 apps/app_window_interactive_uitest.cc AppWindow* window = CreateTestAppWindow( window 149 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window); window 151 apps/app_window_interactive_uitest.cc EXPECT_TRUE(window->GetBaseWindow()->IsFullscreenOrPending()); window 152 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 155 apps/app_window_interactive_uitest.cc EXPECT_TRUE(window->IsAlwaysOnTop()); window 157 apps/app_window_interactive_uitest.cc window->Restore(); window 158 apps/app_window_interactive_uitest.cc EXPECT_TRUE(window->GetBaseWindow()->IsAlwaysOnTop()); window 160 apps/app_window_interactive_uitest.cc CloseAppWindow(window); window 174 apps/app_window_interactive_uitest.cc AppWindow* window = CreateTestAppWindow("{ \"alwaysOnTop\": true }"); window 175 apps/app_window_interactive_uitest.cc ASSERT_TRUE(window); window 178 apps/app_window_interactive_uitest.cc window->Fullscreen(); window 179 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 180 apps/app_window_interactive_uitest.cc window->SetAlwaysOnTop(false); window 181 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 184 apps/app_window_interactive_uitest.cc window->Restore(); window 185 apps/app_window_interactive_uitest.cc EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); window 187 apps/app_window_interactive_uitest.cc CloseAppWindow(window); window 130 apps/app_window_registry.cc gfx::NativeWindow window) const { window 134 apps/app_window_registry.cc if ((*i)->GetNativeWindow() == window) window 181 apps/app_window_registry.cc gfx::NativeWindow window) { window 193 apps/app_window_registry.cc AppWindow* app_window = registry->GetAppWindowForNativeWindow(window); window 76 apps/app_window_registry.h apps::AppWindow* GetAppWindowForNativeWindow(gfx::NativeWindow window) const; window 96 apps/app_window_registry.h gfx::NativeWindow window); window 22 apps/shell/browser/shell_app_window_delegate.cc AppWindow* window, window 25 apps/shell/browser/shell_app_window_delegate.cc native_app_window->Init(window, params); window 23 apps/shell/browser/shell_app_window_delegate.h AppWindow* window, window 101 apps/shell/browser/shell_desktop_controller.cc new ShellViewsDelegate(wm_test_helper_->host()->window()); window 123 apps/shell/browser/shell_desktop_controller.cc aura::Window* root_window = GetWindowTreeHost()->window(); window 167 apps/shell/browser/shell_desktop_controller.cc host->window()->SetLayoutManager(new FillLayout); window 55 apps/ui/views/app_window_frame_view.cc NativeAppWindow* window, window 63 apps/ui/views/app_window_frame_view.cc window_ = window; window 52 apps/ui/views/app_window_frame_view.h NativeAppWindow* window, window 55 apps/ui/views/native_app_window_views.h void set_window_for_testing(views::Widget* window) { widget_ = window; } window 19 ash/accelerators/accelerator_commands.cc aura::Window* window = wm::GetActiveWindow(); window 22 ash/accelerators/accelerator_commands.cc if (!window) { window 29 ash/accelerators/accelerator_commands.cc wm::WindowState* window_state = wm::GetWindowState(window); window 265 ash/accelerators/accelerator_controller.cc aura::Window* window = wm::GetActiveWindow(); window 267 ash/accelerators/accelerator_controller.cc if (window && !wm::GetWindowState(window)->IsDocked()) { window 268 ash/accelerators/accelerator_controller.cc wm::CenterWindow(window); window 510 ash/accelerators/accelerator_controller.cc window_state->window()->type() != ui::wm::WINDOW_TYPE_NORMAL || window 704 ash/accelerators/accelerator_controller.cc void PrintWindowHierarchy(aura::Window* window, window 708 ash/accelerators/accelerator_controller.cc std::string name(window->name()); window 711 ash/accelerators/accelerator_controller.cc *out << indent_str << name << " (" << window << ")" window 712 ash/accelerators/accelerator_controller.cc << " type=" << window->type() window 713 ash/accelerators/accelerator_controller.cc << (wm::IsActiveWindow(window) ? " [active] " : " ") window 714 ash/accelerators/accelerator_controller.cc << (window->IsVisible() ? " visible " : " ") window 715 ash/accelerators/accelerator_controller.cc << window->bounds().ToString() window 718 ash/accelerators/accelerator_controller.cc for (size_t i = 0; i < window->children().size(); ++i) window 719 ash/accelerators/accelerator_controller.cc PrintWindowHierarchy(window->children()[i], indent + 3, out); window 472 ash/accelerators/accelerator_controller_unittest.cc scoped_ptr<aura::Window> window( window 476 ash/accelerators/accelerator_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 483 ash/accelerators/accelerator_controller_unittest.cc window.get()); window 484 ash/accelerators/accelerator_controller_unittest.cc EXPECT_EQ(expected_bounds.ToString(), window->bounds().ToString()); window 489 ash/accelerators/accelerator_controller_unittest.cc window.get()); window 490 ash/accelerators/accelerator_controller_unittest.cc EXPECT_EQ(expected_bounds.ToString(), window->bounds().ToString()); window 497 ash/accelerators/accelerator_controller_unittest.cc EXPECT_NE(normal_bounds.ToString(), window->bounds().ToString()); window 503 ash/accelerators/accelerator_controller_unittest.cc EXPECT_EQ(normal_bounds.ToString(), window->bounds().ToString()); window 528 ash/accelerators/accelerator_controller_unittest.cc scoped_ptr<aura::Window> window( window 531 ash/accelerators/accelerator_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 537 ash/accelerators/accelerator_controller_unittest.cc Shell::GetScreen()->GetDisplayNearestWindow(window.get()).work_area(); window 538 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect bounds = window->GetBoundsInScreen(); window 547 ash/accelerators/accelerator_controller_unittest.cc window->SetBounds(gfx::Rect(0, 0, 20, 20)); window 549 ash/accelerators/accelerator_controller_unittest.cc window->GetRootWindow(), kShellWindowId_DockedContainer); window 550 ash/accelerators/accelerator_controller_unittest.cc docked_container->AddChild(window.get()); window 551 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect docked_bounds = window->GetBoundsInScreen(); window 554 ash/accelerators/accelerator_controller_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 555 ash/accelerators/accelerator_controller_unittest.cc EXPECT_EQ(docked_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 600 ash/accelerators/accelerator_controller_unittest.cc scoped_ptr<aura::Window> window( window 602 ash/accelerators/accelerator_controller_unittest.cc wm::ActivateWindow(window.get()); window 606 ash/accelerators/accelerator_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 1114 ash/accelerators/accelerator_controller_unittest.cc scoped_ptr<aura::Window> window( window 1117 ash/accelerators/accelerator_controller_unittest.cc wm::ActivateWindow(window.get()); window 1243 ash/accelerators/accelerator_controller_unittest.cc scoped_ptr<aura::Window> window( window 1245 ash/accelerators/accelerator_controller_unittest.cc wm::ActivateWindow(window.get()); window 45 ash/accelerators/accelerator_filter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithDelegate( window 49 ash/accelerators/accelerator_filter_unittest.cc wm::ActivateWindow(window.get()); window 63 ash/accelerators/accelerator_filter_unittest.cc window.reset(); window 103 ash/accelerators/accelerator_filter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(1)); window 104 ash/accelerators/accelerator_filter_unittest.cc wm::GetWindowState(window.get())->set_can_consume_system_keys(true); window 108 ash/accelerators/accelerator_filter_unittest.cc dispatch_helper.set_target(window.get()); window 115 ash/accelerators/accelerator_filter_unittest.cc window->AddChild(child.get()); window 43 ash/accelerators/magnifier_key_scroller_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithDelegate( window 47 ash/accelerators/magnifier_key_scroller_unittest.cc wm::ActivateWindow(window.get()); window 302 ash/autoclick/autoclick_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithDelegate( window 304 ash/autoclick/autoclick_unittest.cc window->Show(); window 55 ash/display/cursor_window_controller.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} window 56 ash/display/cursor_window_controller.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {} window 122 ash/display/cursor_window_controller.cc SetContainer(mirror_host ? mirror_host->window() : NULL); window 120 ash/display/display_controller.cc CreateRootWindowTransformerForDisplay(host->window(), display)); window 519 ash/display/display_controller.cc const aura::Window* window, window 521 ash/display/display_controller.cc const aura::Window* root_window = window->GetRootWindow(); window 603 ash/display/display_controller.cc const_cast<aura::Window*>(host->window())); window 691 ash/display/display_controller.cc host->window()->SetName(base::StringPrintf("RootWindow-%d", host_count++)); window 696 ash/display/display_controller.cc InitRootWindowSettings(host->window())->display_id = display.id(); window 699 ash/display/display_controller.cc root_windows_[display.id()] = host->window(); window 145 ash/display/display_controller.h bool UpdateWorkAreaOfDisplayNearestWindow(const aura::Window* window, window 112 ash/display/display_manager_unittest.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 113 ash/display/display_manager_unittest.cc ASSERT_EQ(Shell::GetPrimaryRootWindow(), window); window 1060 ash/display/display_manager_unittest.cc test_api.GetHost()->window()->bounds().size().ToString()); window 1077 ash/display/display_manager_unittest.cc test_api.GetHost()->window()->bounds().size().ToString()); window 1082 ash/display/display_manager_unittest.cc test_api.GetHost()->window()->bounds().size().ToString()); window 1087 ash/display/display_manager_unittest.cc test_api.GetHost()->window()->bounds().size().ToString()); window 1092 ash/display/display_manager_unittest.cc test_api.GetHost()->window()->bounds().size().ToString()); window 1098 ash/display/display_manager_unittest.cc test_api.GetHost()->window()->bounds().size().ToString()); window 41 ash/display/mirror_window_controller.cc void DisableInput(XID window) { window 44 ash/display/mirror_window_controller.cc XSelectInput(gfx::GetXDisplay(), window, event_mask); window 55 ash/display/mirror_window_controller.cc virtual void SetCapture(aura::Window* window) OVERRIDE {} window 58 ash/display/mirror_window_controller.cc virtual void ReleaseCapture(aura::Window* window) OVERRIDE {} window 87 ash/display/mirror_window_controller.cc host_->window()->SetName( window 95 ash/display/mirror_window_controller.cc InitRootWindowSettings(host_->window())->display_id = display_info.id(); window 101 ash/display/mirror_window_controller.cc aura::client::SetCaptureClient(host_->window(), new NoneCaptureClient()); window 107 ash/display/mirror_window_controller.cc host_->window()->AddChild(mirror_window); window 108 ash/display/mirror_window_controller.cc mirror_window->SetBounds(host_->window()->bounds()); window 114 ash/display/mirror_window_controller.cc GetRootWindowSettings(host_->window())->display_id = display_info.id(); window 142 ash/display/mirror_window_controller.cc aura::client::GetCaptureClient(host_->window())); window 143 ash/display/mirror_window_controller.cc aura::client::SetCaptureClient(host_->window(), NULL); window 79 ash/display/mirror_window_controller_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate( window 84 ash/display/mirror_window_controller_unittest.cc window->Show(); window 85 ash/display/mirror_window_controller_unittest.cc window->SetName("foo"); window 88 ash/display/mirror_window_controller_unittest.cc EXPECT_EQ("50,50 100x100", window->bounds().ToString()); window 136 ash/display/mirror_window_controller_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate( window 141 ash/display/mirror_window_controller_unittest.cc window->Show(); window 142 ash/display/mirror_window_controller_unittest.cc window->SetName("foo"); window 145 ash/display/mirror_window_controller_unittest.cc EXPECT_EQ("50,50 100x100", window->bounds().ToString()); window 138 ash/display/screen_ash.cc gfx::Rect ScreenAsh::GetMaximizedWindowBoundsInParent(aura::Window* window) { window 139 ash/display/screen_ash.cc if (GetRootWindowController(window->GetRootWindow())->shelf()) window 140 ash/display/screen_ash.cc return GetDisplayWorkAreaBoundsInParent(window); window 142 ash/display/screen_ash.cc return GetDisplayBoundsInParent(window); window 146 ash/display/screen_ash.cc gfx::Rect ScreenAsh::GetDisplayBoundsInParent(aura::Window* window) { window 148 ash/display/screen_ash.cc window->parent(), window 149 ash/display/screen_ash.cc Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); window 153 ash/display/screen_ash.cc gfx::Rect ScreenAsh::GetDisplayWorkAreaBoundsInParent(aura::Window* window) { window 155 ash/display/screen_ash.cc window->parent(), window 156 ash/display/screen_ash.cc Shell::GetScreen()->GetDisplayNearestWindow(window).work_area()); window 160 ash/display/screen_ash.cc gfx::Rect ScreenAsh::ConvertRectToScreen(aura::Window* window, window 163 ash/display/screen_ash.cc aura::client::GetScreenPositionClient(window->GetRootWindow())-> window 164 ash/display/screen_ash.cc ConvertPointToScreen(window, &point); window 169 ash/display/screen_ash.cc gfx::Rect ScreenAsh::ConvertRectFromScreen(aura::Window* window, window 172 ash/display/screen_ash.cc aura::client::GetScreenPositionClient(window->GetRootWindow())-> window 173 ash/display/screen_ash.cc ConvertPointFromScreen(window, &point); window 229 ash/display/screen_ash.cc gfx::Display ScreenAsh::GetDisplayNearestWindow(gfx::NativeView window) const { window 230 ash/display/screen_ash.cc if (!window) window 232 ash/display/screen_ash.cc const aura::Window* root_window = window->GetRootWindow(); window 36 ash/display/screen_ash.h static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window); window 39 ash/display/screen_ash.h static gfx::Rect GetDisplayBoundsInParent(aura::Window* window); window 42 ash/display/screen_ash.h static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window); window 46 ash/display/screen_ash.h static gfx::Rect ConvertRectToScreen(aura::Window* window, window 51 ash/display/screen_ash.h static gfx::Rect ConvertRectFromScreen(aura::Window* window, window 30 ash/display/screen_position_controller.cc bool ShouldStayInSameRootWindow(const aura::Window* window) { window 31 ash/display/screen_position_controller.cc return window && (window->GetProperty(kStayInSameRootWindowKey) || window 32 ash/display/screen_position_controller.cc ShouldStayInSameRootWindow(window->parent())); window 38 ash/display/screen_position_controller.cc aura::Window* window) { window 42 ash/display/screen_position_controller.cc ::wm::GetTransientChildren(window); window 57 ash/display/screen_position_controller.cc aura::Window::Windows children = window->children(); window 69 ash/display/screen_position_controller.cc aura::Window* window, window 71 ash/display/screen_position_controller.cc aura::Window* root_window = window->GetRootWindow(); window 73 ash/display/screen_position_controller.cc aura::Window::ConvertPointToTarget(window, root_window, &location_in_root); window 118 ash/display/screen_position_controller.cc const aura::Window* window, window 120 ash/display/screen_position_controller.cc const aura::Window* root = window->GetRootWindow(); window 121 ash/display/screen_position_controller.cc aura::Window::ConvertPointToTarget(window, root, point); window 128 ash/display/screen_position_controller.cc const aura::Window* window, window 130 ash/display/screen_position_controller.cc const aura::Window* root = window->GetRootWindow(); window 134 ash/display/screen_position_controller.cc aura::Window::ConvertPointToTarget(root, window, point); window 148 ash/display/screen_position_controller.cc void ScreenPositionController::SetBounds(aura::Window* window, window 152 ash/display/screen_position_controller.cc if (!window->parent()->GetProperty(kUsesScreenCoordinatesKey)) { window 153 ash/display/screen_position_controller.cc window->SetBounds(bounds); window 163 ash/display/screen_position_controller.cc if (!::wm::GetTransientParent(window) && window 164 ash/display/screen_position_controller.cc !ShouldStayInSameRootWindow(window)) { window 170 ash/display/screen_position_controller.cc if (dst_root != window->GetRootWindow()) { window 171 ash/display/screen_position_controller.cc int container_id = window->parent()->id(); window 175 ash/display/screen_position_controller.cc if (!SystemModalContainerLayoutManager::IsModalBackground(window)) window 179 ash/display/screen_position_controller.cc if (dst_container && window->parent() != dst_container) { window 180 ash/display/screen_position_controller.cc aura::Window* focused = aura::client::GetFocusClient(window)-> window 183 ash/display/screen_position_controller.cc aura::client::GetActivationClient(window->GetRootWindow()); window 199 ash/display/screen_position_controller.cc window->SetBounds(new_bounds); window 201 ash/display/screen_position_controller.cc dst_container->AddChild(window); window 203 ash/display/screen_position_controller.cc MoveAllTransientChildrenToNewRoot(display, window); window 207 ash/display/screen_position_controller.cc aura::client::GetFocusClient(window)->FocusWindow(focused); window 223 ash/display/screen_position_controller.cc window).bounds().origin(); window 225 ash/display/screen_position_controller.cc window->SetBounds(gfx::Rect(origin, bounds.size())); window 19 ash/display/screen_position_controller.h virtual void ConvertPointToScreen(const aura::Window* window, window 21 ash/display/screen_position_controller.h virtual void ConvertPointFromScreen(const aura::Window* window, window 23 ash/display/screen_position_controller.h virtual void ConvertHostPointToScreen(aura::Window* window, window 25 ash/display/screen_position_controller.h virtual void SetBounds(aura::Window* window, window 63 ash/display/shared_display_edge_indicator.cc aura::Window* window = widget->GetNativeWindow(); window 65 ash/display/shared_display_edge_indicator.cc aura::client::GetScreenPositionClient(window->GetRootWindow()); window 66 ash/display/shared_display_edge_indicator.cc screen_position_client->SetBounds(window, bounds, display); window 49 ash/display/virtual_keyboard_window_controller.cc host->window()->SetName( window 56 ash/display/virtual_keyboard_window_controller.cc InitRootWindowSettings(host->window())->display_id = display_info.id(); window 59 ash/display/virtual_keyboard_window_controller.cc root_window_controller_.reset(GetRootWindowController(host->window())); window 66 ash/display/virtual_keyboard_window_controller.cc GetRootWindowSettings(host->window())->display_id = display_info.id(); window 93 ash/display/virtual_keyboard_window_controller.cc host->window(), display_manager->non_desktop_display())); window 65 ash/drag_drop/drag_drop_controller.cc void DispatchGestureEndToWindow(aura::Window* window) { window 66 ash/drag_drop/drag_drop_controller.cc if (window && window->delegate()) { window 75 ash/drag_drop/drag_drop_controller.cc window->delegate()->OnGestureEvent(&gesture_end); window 116 ash/drag_drop/drag_drop_controller.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} window 117 ash/drag_drop/drag_drop_controller.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {} window 460 ash/drag_drop/drag_drop_controller.cc void DragDropController::OnWindowDestroyed(aura::Window* window) { window 461 ash/drag_drop/drag_drop_controller.cc if (drag_window_ == window) window 463 ash/drag_drop/drag_drop_controller.cc if (drag_source_window_ == window) window 67 ash/drag_drop/drag_drop_controller.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 671 ash/drag_drop/drag_drop_controller_unittest.cc aura::Window* window = widget->GetNativeView(); window 693 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(window, GetDragWindow()); window 976 ash/drag_drop/drag_drop_controller_unittest.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 977 ash/drag_drop/drag_drop_controller_unittest.cc window_location_on_destroying_ = window->GetBoundsInScreen().origin(); window 1008 ash/drag_drop/drag_drop_controller_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 1011 ash/drag_drop/drag_drop_controller_unittest.cc window->GetRootWindow(), window 1012 ash/drag_drop/drag_drop_controller_unittest.cc window, window 1027 ash/drag_drop/drag_drop_controller_unittest.cc drag_drop_controller_->DragUpdate(window, e); window 1035 ash/drag_drop/drag_drop_controller_unittest.cc drag_drop_controller_->DragUpdate(window, e); window 1046 ash/drag_drop/drag_drop_controller_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 1049 ash/drag_drop/drag_drop_controller_unittest.cc window->GetRootWindow(), window 1050 ash/drag_drop/drag_drop_controller_unittest.cc window, window 1064 ash/drag_drop/drag_drop_controller_unittest.cc drag_drop_controller_->DragUpdate(window, e); window 1072 ash/drag_drop/drag_drop_controller_unittest.cc drag_drop_controller_->DragUpdate(window, e); window 43 ash/drag_drop/drag_drop_tracker.cc aura::Window* window = new aura::Window(delegate); window 44 ash/drag_drop/drag_drop_tracker.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 45 ash/drag_drop/drag_drop_tracker.cc window->Init(aura::WINDOW_LAYER_NOT_DRAWN); window 46 ash/drag_drop/drag_drop_tracker.cc aura::client::ParentWindowWithContext(window, context_root, gfx::Rect()); window 47 ash/drag_drop/drag_drop_tracker.cc aura::client::SetActivationDelegate(window, activation_delegate_instance); window 48 ash/drag_drop/drag_drop_tracker.cc window->Show(); window 49 ash/drag_drop/drag_drop_tracker.cc DCHECK(window->bounds().size().IsEmpty()); window 50 ash/drag_drop/drag_drop_tracker.cc return window; window 463 ash/extended_desktop_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate( window 465 ash/extended_desktop_unittest.cc MoveWindowByClickEventHandler event_handler(window.get()); window 466 ash/extended_desktop_unittest.cc window->AddPreTargetHandler(&event_handler); window 470 ash/extended_desktop_unittest.cc event_generator.MoveMouseToCenterOf(window.get()); window 475 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 688 ash/extended_desktop_unittest.cc aura::Window* window = aura::test::CreateTestWindowWithId( window 690 ash/extended_desktop_unittest.cc window->SetBoundsInScreen(gfx::Rect(150, 10, 50, 50), window 692 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 697 ash/extended_desktop_unittest.cc window = aura::test::CreateTestWindowWithId(100, status_container); window 698 ash/extended_desktop_unittest.cc window->SetBoundsInScreen(gfx::Rect(150, 10, 50, 50), window 700 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 65 ash/first_run/desktop_cleaner.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 66 ash/first_run/desktop_cleaner.cc DCHECK(window == container_); window 30 ash/first_run/first_run_helper_impl.cc views::Widget* window = new views::Widget; window 31 ash/first_run/first_run_helper_impl.cc window->Init(params); window 32 ash/first_run/first_run_helper_impl.cc return window; window 38 ash/focus_cycler.cc aura::Window* window = ash::wm::GetActiveWindow(); window 39 ash/focus_cycler.cc if (window) { window 40 ash/focus_cycler.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 82 ash/focus_cycler.cc aura::Window* window = mru_windows.front(); window 83 ash/focus_cycler.cc wm::GetWindowState(window)->Activate(); window 84 ash/focus_cycler.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 224 ash/frame/caption_buttons/alternate_frame_size_button.cc aura::Window* window = frame_->GetNativeWindow(); window 226 ash/frame/caption_buttons/alternate_frame_size_button.cc phantom_window_controller_.reset(new PhantomWindowController(window)); window 229 ash/frame/caption_buttons/alternate_frame_size_button.cc wm::GetDefaultLeftSnappedWindowBoundsInParent(window) : window 230 ash/frame/caption_buttons/alternate_frame_size_button.cc wm::GetDefaultRightSnappedWindowBoundsInParent(window); window 232 ash/frame/caption_buttons/alternate_frame_size_button.cc window->parent(), phantom_bounds_in_parent)); window 166 ash/frame/caption_buttons/frame_maximize_button.cc aura::Window* window, window 172 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::OnWindowPropertyChanged(aura::Window* window, window 178 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::OnWindowDestroying(aura::Window* window) { window 181 ash/frame/caption_buttons/frame_maximize_button.cc CHECK_EQ(frame_->GetNativeWindow(), window); window 442 ash/frame/caption_buttons/frame_maximize_button.cc aura::Window* window = frame_->GetNativeWindow(); window 446 ash/frame/caption_buttons/frame_maximize_button.cc window->parent(), window 447 ash/frame/caption_buttons/frame_maximize_button.cc wm::GetDefaultLeftSnappedWindowBoundsInParent(window)); window 450 ash/frame/caption_buttons/frame_maximize_button.cc window->parent(), window 451 ash/frame/caption_buttons/frame_maximize_button.cc wm::GetDefaultRightSnappedWindowBoundsInParent(window)); window 454 ash/frame/caption_buttons/frame_maximize_button.cc window->parent(), window 455 ash/frame/caption_buttons/frame_maximize_button.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window)); window 457 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Rect rect = GetMinimizeAnimationTargetBoundsInScreen(window); window 466 ash/frame/caption_buttons/frame_maximize_button.cc wm::WindowState* window_state = wm::GetWindowState(window); window 57 ash/frame/caption_buttons/frame_maximize_button.h virtual void OnWindowBoundsChanged(aura::Window* window, window 60 ash/frame/caption_buttons/frame_maximize_button.h virtual void OnWindowPropertyChanged(aura::Window* window, window 63 ash/frame/caption_buttons/frame_maximize_button.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 187 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window_state->window()->GetRootWindow(), center); window 223 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 227 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), center); window 229 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 241 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(wm::GetDefaultRightSnappedWindowBoundsInParent(window).ToString(), window 242 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window->bounds().ToString()); window 256 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(wm::GetDefaultLeftSnappedWindowBoundsInParent(window).ToString(), window 257 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window->bounds().ToString()); window 290 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ("400,0 400x553", window->bounds().ToString()); window 305 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(wm::GetDefaultLeftSnappedWindowBoundsInParent(window).ToString(), window 306 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window->bounds().ToString()); window 329 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 336 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 338 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsNormalStateType()); window 352 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 359 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 361 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsNormalStateType()); window 367 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsMaximized()); window 375 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 382 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 384 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsNormalStateType()); window 420 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 428 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 430 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsNormalStateType()); window 447 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 450 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(wm::GetDefaultLeftSnappedWindowBoundsInParent(window).ToString(), window 451 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window->bounds().ToString()); window 456 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 463 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 465 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsNormalStateType()); window 468 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::client::GetFocusClient(window)->GetFocusedWindow(); window 475 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(active, aura::client::GetFocusClient(window)->GetFocusedWindow()); window 479 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 480 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* root_window = window->GetRootWindow(); window 512 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 519 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 521 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 573 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window, window 578 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 601 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 607 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_LEFT); window 608 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 617 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_LEFT); window 630 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 636 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_NONE); window 638 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 641 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_LEFT); window 648 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_LEFT); window 662 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 668 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_LEFT); window 670 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 673 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_NONE); window 676 ash/frame/caption_buttons/frame_maximize_button_unittest.cc ClickMaxButton(maximize_button, window, SNAP_NONE); window 689 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 696 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 705 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 714 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 718 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 725 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow()); window 745 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 755 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow()); window 774 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 779 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 780 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsNormalStateType()); window 787 ash/frame/caption_buttons/frame_maximize_button_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), off_pos); window 809 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(wm::GetWindowState(window)->IsNormalStateType()); window 810 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(initial_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 271 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc MaximizeBubbleTargeter(aura::Window* window, window 273 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc : ::wm::MaskedWindowTargeter(window), window 281 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc virtual bool GetHitTestMask(aura::Window* window, window 387 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc aura::Window* window = bubble_widget->GetNativeWindow(); window 388 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc window->SetEventTargeter(scoped_ptr<ui::EventTargeter>( window 389 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc new MaximizeBubbleTargeter(window, bubble_border_))); window 69 ash/frame/custom_frame_view_ash.cc window_state_->window()->AddObserver(this); window 75 ash/frame/custom_frame_view_ash.cc window_state_->window()->RemoveObserver(this); window 83 ash/frame/custom_frame_view_ash.cc window_state->window()->SetProperty(aura::client::kShowStateKey, window 96 ash/frame/custom_frame_view_ash.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 98 ash/frame/custom_frame_view_ash.cc window_state_->window()->RemoveObserver(this); window 274 ash/frame/custom_frame_view_ash.cc aura::Window* window = frame_->GetNativeView(); window 275 ash/frame/custom_frame_view_ash.cc bool show = delegate->ShouldShowAvatar(window); window 284 ash/frame/custom_frame_view_ash.cc delegate->GetBrowserContextForWindow(window)).AsImageSkia(); window 94 ash/frame/header_painter_util.cc aura::Window* window = widget->GetNativeWindow(); window 95 ash/frame/header_painter_util.cc if (!window->parent()) window 99 ash/frame/header_painter_util.cc window->parent()->layer()->GetAnimator(); window 92 ash/magnifier/magnification_controller.cc virtual void OnWindowBoundsChanged(aura::Window* window, window 453 ash/magnifier/magnification_controller.cc aura::Window* window, window 100 ash/magnifier/partial_magnification_controller.cc aura::Window* window) { window 104 ash/magnifier/partial_magnification_controller.cc if (new_root_window != window) window 158 ash/magnifier/partial_magnification_controller.cc aura::Window* window = zoom_widget_->GetNativeView(); window 159 ash/magnifier/partial_magnification_controller.cc window->SetName(kPartialMagniferWindowName); window 69 ash/magnifier/partial_magnification_controller.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 117 ash/root_window_controller.cc void ReparentWindow(aura::Window* window, aura::Window* new_parent) { window 118 ash/root_window_controller.cc const gfx::Size src_size = window->parent()->bounds().size(); window 121 ash/root_window_controller.cc wm::WindowState* state = wm::GetWindowState(window); window 129 ash/root_window_controller.cc local_bounds = state->window()->bounds(); window 138 ash/root_window_controller.cc new_parent->AddChild(window); window 142 ash/root_window_controller.cc window->SetBounds(local_bounds); window 244 ash/root_window_controller.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} window 245 ash/root_window_controller.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { window 281 ash/root_window_controller.cc RootWindowController* RootWindowController::ForShelf(aura::Window* window) { window 282 ash/root_window_controller.cc return GetRootWindowController(window->GetRootWindow()); window 287 ash/root_window_controller.cc const aura::Window* window) { window 288 ash/root_window_controller.cc return GetRootWindowController(window->GetRootWindow()); window 298 ash/root_window_controller.cc aura::Window* window) { window 299 ash/root_window_controller.cc aura::Window* container = window->parent(); window 358 ash/root_window_controller.cc RootWindowController::GetSystemModalLayoutManager(aura::Window* window) { window 360 ash/root_window_controller.cc if (window) { window 361 ash/root_window_controller.cc aura::Window* window_container = GetContainerForWindow(window); window 383 ash/root_window_controller.cc return host_->window()->GetChildById(container_id); window 507 ash/root_window_controller.cc aura::Window* window = root_window()->children()[0]; window 508 ash/root_window_controller.cc if (window->owned_by_parent()) { window 509 ash/root_window_controller.cc delete window; window 511 ash/root_window_controller.cc root_window()->RemoveChild(window); window 651 ash/root_window_controller.cc bool RootWindowController::IsVirtualKeyboardWindow(aura::Window* window) { window 654 ash/root_window_controller.cc return parent ? parent->Contains(window) : false; window 96 ash/root_window_controller.h static RootWindowController* ForShelf(aura::Window* window); window 99 ash/root_window_controller.h static RootWindowController* ForWindow(const aura::Window* window); window 105 ash/root_window_controller.h static aura::Window* GetContainerForWindow(aura::Window* window); window 109 ash/root_window_controller.h aura::Window* root_window() { return host_->window(); } window 110 ash/root_window_controller.h const aura::Window* root_window() const { return host_->window(); } window 180 ash/root_window_controller.h aura::Window* window); window 235 ash/root_window_controller.h bool IsVirtualKeyboardWindow(aura::Window* window); window 67 ash/root_window_controller_unittest.cc void SetWindow(aura::Window* window) { window 68 ash/root_window_controller_unittest.cc window_ = window; window 540 ash/root_window_controller_unittest.cc void SetWindow(Window* window) { window 541 ash/root_window_controller_unittest.cc window_ = window; window 542 ash/root_window_controller_unittest.cc window->AddObserver(this); window 548 ash/root_window_controller_unittest.cc virtual void OnWindowDestroying(Window* window) OVERRIDE { window 34 ash/screen_util.cc gfx::Rect ScreenUtil::GetMaximizedWindowBoundsInParent(aura::Window* window) { window 35 ash/screen_util.cc if (GetRootWindowController(window->GetRootWindow())->shelf()) window 36 ash/screen_util.cc return GetDisplayWorkAreaBoundsInParent(window); window 38 ash/screen_util.cc return GetDisplayBoundsInParent(window); window 42 ash/screen_util.cc gfx::Rect ScreenUtil::GetDisplayBoundsInParent(aura::Window* window) { window 44 ash/screen_util.cc window->parent(), window 45 ash/screen_util.cc Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); window 49 ash/screen_util.cc gfx::Rect ScreenUtil::GetDisplayWorkAreaBoundsInParent(aura::Window* window) { window 51 ash/screen_util.cc window->parent(), window 52 ash/screen_util.cc Shell::GetScreen()->GetDisplayNearestWindow(window).work_area()); window 56 ash/screen_util.cc gfx::Rect ScreenUtil::ConvertRectToScreen(aura::Window* window, window 59 ash/screen_util.cc aura::client::GetScreenPositionClient(window->GetRootWindow())-> window 60 ash/screen_util.cc ConvertPointToScreen(window, &point); window 65 ash/screen_util.cc gfx::Rect ScreenUtil::ConvertRectFromScreen(aura::Window* window, window 68 ash/screen_util.cc aura::client::GetScreenPositionClient(window->GetRootWindow())-> window 69 ash/screen_util.cc ConvertPointFromScreen(window, &point); window 32 ash/screen_util.h static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window); window 35 ash/screen_util.h static gfx::Rect GetDisplayBoundsInParent(aura::Window* window); window 38 ash/screen_util.h static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window); window 43 ash/screen_util.h static gfx::Rect ConvertRectToScreen(aura::Window* window, window 48 ash/screen_util.h static gfx::Rect ConvertRectFromScreen(aura::Window* window, window 30 ash/screenshot_delegate.h aura::Window* window, const gfx::Rect& rect) = 0; window 56 ash/session_state_delegate.h aura::Window* window) = 0; window 113 ash/session_state_delegate.h virtual bool ShouldShowAvatar(aura::Window* window) = 0; window 29 ash/session_state_delegate_stub.cc aura::Window* window) { window 92 ash/session_state_delegate_stub.cc bool SessionStateDelegateStub::ShouldShowAvatar(aura::Window* window) { window 25 ash/session_state_delegate_stub.h aura::Window* window) OVERRIDE; window 43 ash/session_state_delegate_stub.h virtual bool ShouldShowAvatar(aura::Window* window) OVERRIDE; window 72 ash/shelf/shelf.cc Shelf* Shelf::ForWindow(aura::Window* window) { window 73 ash/shelf/shelf.cc ShelfWidget* shelf_widget = RootWindowController::ForShelf(window)->shelf(); window 83 ash/shelf/shelf.cc gfx::Rect Shelf::GetScreenBoundsOfItemIconForWindow(aura::Window* window) { window 84 ash/shelf/shelf.cc ShelfID id = GetShelfIDForWindow(window); window 94 ash/shelf/shelf.cc void Shelf::UpdateIconPositionForWindow(aura::Window* window) { window 96 ash/shelf/shelf.cc GetShelfIDForWindow(window), window 99 ash/shelf/shelf.cc window->GetBoundsInScreen()).CenterPoint()); window 59 ash/shelf/shelf.h static Shelf* ForWindow(aura::Window* window); window 66 ash/shelf/shelf.h gfx::Rect GetScreenBoundsOfItemIconForWindow(aura::Window* window); window 70 ash/shelf/shelf.h void UpdateIconPositionForWindow(aura::Window* window); window 594 ash/shelf/shelf_layout_manager.cc ShelfLayoutManager* ShelfLayoutManager::ForShelf(aura::Window* window) { window 595 ash/shelf/shelf_layout_manager.cc ShelfWidget* shelf = RootWindowController::ForShelf(window)->shelf(); window 1132 ash/shelf/shelf_layout_manager.cc bool ShelfLayoutManager::IsShelfWindow(aura::Window* window) { window 1133 ash/shelf/shelf_layout_manager.cc if (!window) window 1135 ash/shelf/shelf_layout_manager.cc return (shelf_ && shelf_->GetNativeWindow()->Contains(window)) || window 1137 ash/shelf/shelf_layout_manager.cc shelf_->status_area_widget()->GetNativeWindow()->Contains(window)); window 224 ash/shelf/shelf_layout_manager.h static ShelfLayoutManager* ForShelf(aura::Window* window); window 322 ash/shelf/shelf_layout_manager.h bool IsShelfWindow(aura::Window* window); window 345 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = new aura::Window(NULL); window 346 ash/shelf/shelf_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 347 ash/shelf/shelf_layout_manager_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 348 ash/shelf/shelf_layout_manager_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 349 ash/shelf/shelf_layout_manager_unittest.cc ParentWindowInPrimaryRootWindow(window); window 350 ash/shelf/shelf_layout_manager_unittest.cc return window; window 394 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 398 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_shelf = window->bounds(); window 405 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_noshelf = window->bounds(); window 427 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_NE(bounds_shelf.ToString(), window->bounds().ToString()); window 438 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_shelf.ToString(), window->bounds().ToString()); window 474 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_shelf.ToString(), window->bounds().ToString()); window 488 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_noshelf.ToString(), window->bounds().ToString()); window 508 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_shelf.ToString(), window->bounds().ToString()); window 524 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_noshelf.ToString(), window->bounds().ToString()); window 561 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_shelf.ToString(), window->bounds().ToString()); window 577 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_noshelf.ToString(), window->bounds().ToString()); window 584 ash/shelf/shelf_layout_manager_unittest.cc wm::GetWindowState(window)->set_hide_shelf_when_fullscreen(false); window 587 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_fullscreen = window->bounds(); window 602 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_fullscreen.ToString(), window->bounds().ToString()); window 614 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_fullscreen.ToString(), window->bounds().ToString()); window 618 ash/shelf/shelf_layout_manager_unittest.cc wm::GetWindowState(window)->set_hide_shelf_when_fullscreen(true); window 631 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(bounds_fullscreen.ToString(), window->bounds().ToString()); window 1056 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 1058 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); window 1069 ash/shelf/shelf_layout_manager_unittest.cc window).work_area().bottom(), window 1075 ash/shelf/shelf_layout_manager_unittest.cc window).work_area().bottom(), window 1081 ash/shelf/shelf_layout_manager_unittest.cc window).work_area().bottom(), window 1103 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 1105 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); window 1177 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 1179 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); window 1276 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = CreateTestWindow(); window 1277 ash/shelf/shelf_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); window 1278 ash/shelf/shelf_layout_manager_unittest.cc window->Show(); window 1303 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = CreateTestWindow(); window 1304 ash/shelf/shelf_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); window 1305 ash/shelf/shelf_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); window 1306 ash/shelf/shelf_layout_manager_unittest.cc window->Show(); window 1307 ash/shelf/shelf_layout_manager_unittest.cc wm::ActivateWindow(window); window 1337 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = CreateTestWindow(); window 1338 ash/shelf/shelf_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); window 1339 ash/shelf/shelf_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); window 1340 ash/shelf/shelf_layout_manager_unittest.cc window->Show(); window 1341 ash/shelf/shelf_layout_manager_unittest.cc wm::ActivateWindow(window); window 1537 ash/shelf/shelf_layout_manager_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 1541 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_shelf = window->bounds(); window 1555 ash/shelf/shelf_layout_manager_unittest.cc wm::GetWindowState(window)->set_hide_shelf_when_fullscreen(false); window 1558 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_fullscreen = window->bounds(); window 23 ash/shelf/shelf_util.cc void SetShelfIDForWindow(ShelfID id, aura::Window* window) { window 24 ash/shelf/shelf_util.cc if (!window) window 27 ash/shelf/shelf_util.cc window->SetProperty(kShelfID, id); window 30 ash/shelf/shelf_util.cc ShelfID GetShelfIDForWindow(aura::Window* window) { window 31 ash/shelf/shelf_util.cc DCHECK(window); window 32 ash/shelf/shelf_util.cc return window->GetProperty(kShelfID); window 35 ash/shelf/shelf_util.cc void SetShelfItemDetailsForWindow(aura::Window* window, window 39 ash/shelf/shelf_util.cc window->SetProperty(kShelfItemDetailsKey, item_details); window 42 ash/shelf/shelf_util.cc void ClearShelfItemDetailsForWindow(aura::Window* window) { window 43 ash/shelf/shelf_util.cc window->ClearProperty(kShelfItemDetailsKey); window 47 ash/shelf/shelf_util.cc aura::Window* window) { window 48 ash/shelf/shelf_util.cc return window->GetProperty(kShelfItemDetailsKey); window 22 ash/shelf/shelf_util.h ASH_EXPORT void SetShelfIDForWindow(ShelfID id, aura::Window* window); window 28 ash/shelf/shelf_util.h ASH_EXPORT ShelfID GetShelfIDForWindow(aura::Window* window); window 31 ash/shelf/shelf_util.h ASH_EXPORT void SetShelfItemDetailsForWindow(aura::Window* window, window 37 ash/shelf/shelf_util.h ASH_EXPORT void ClearShelfItemDetailsForWindow(aura::Window* window); window 42 ash/shelf/shelf_util.h aura::Window* window); window 357 ash/shelf/shelf_widget.cc virtual void OnWindowBoundsChanged(aura::Window* window, window 569 ash/shelf/shelf_widget.cc aura::Window* window, window 38 ash/shelf/shelf_window_watcher.cc bool HasShelfItemForWindow(aura::Window* window) { window 39 ash/shelf/shelf_window_watcher.cc if (ash::GetShelfItemDetailsForWindow(window) != NULL && window 40 ash/shelf/shelf_window_watcher.cc ash::GetShelfIDForWindow(window) != ash::kInvalidShelfID) window 46 ash/shelf/shelf_window_watcher.cc bool IsDragging(aura::Window* window) { window 47 ash/shelf/shelf_window_watcher.cc return ash::wm::GetWindowState(window)->is_dragged(); window 63 ash/shelf/shelf_window_watcher.cc aura::Window* window) { window 64 ash/shelf/shelf_window_watcher.cc window_watcher_->OnRootWindowRemoved(window); window 76 ash/shelf/shelf_window_watcher.cc aura::Window* window, window 90 ash/shelf/shelf_window_watcher.cc IsDragging(window) && window 97 ash/shelf/shelf_window_watcher.cc window_watcher_->FinishObservingRemovedWindow(window); window 101 ash/shelf/shelf_window_watcher.cc aura::Window* window) { window 102 ash/shelf/shelf_window_watcher.cc DCHECK(HasShelfItemForWindow(window)); window 103 ash/shelf/shelf_window_watcher.cc window_watcher_->FinishObservingRemovedWindow(window); window 131 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::AddShelfItem(aura::Window* window) { window 133 ash/shelf/shelf_window_watcher.cc GetShelfItemDetailsForWindow(window); window 136 ash/shelf/shelf_window_watcher.cc item.status = wm::IsActiveWindow(window) ? STATUS_ACTIVE: STATUS_RUNNING; window 138 ash/shelf/shelf_window_watcher.cc SetShelfIDForWindow(id, window); window 140 ash/shelf/shelf_window_watcher.cc new ShelfWindowWatcherItemDelegate(window, model_)); window 146 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::RemoveShelfItem(aura::Window* window) { window 147 ash/shelf/shelf_window_watcher.cc model_->RemoveItemAt(model_->ItemIndexByID(GetShelfIDForWindow(window))); window 148 ash/shelf/shelf_window_watcher.cc SetShelfIDForWindow(kInvalidShelfID, window); window 172 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::UpdateShelfItemStatus(aura::Window* window, window 174 ash/shelf/shelf_window_watcher.cc int index = GetShelfItemIndexForWindow(window); window 183 ash/shelf/shelf_window_watcher.cc aura::Window* window) const { window 184 ash/shelf/shelf_window_watcher.cc return model_->ItemIndexByID(GetShelfIDForWindow(window)); window 187 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::StartObservingRemovedWindow(aura::Window* window) { window 188 ash/shelf/shelf_window_watcher.cc observed_removed_windows_.Add(window); window 191 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::FinishObservingRemovedWindow(aura::Window* window) { window 192 ash/shelf/shelf_window_watcher.cc observed_removed_windows_.Remove(window); window 193 ash/shelf/shelf_window_watcher.cc RemoveShelfItem(window); window 204 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::OnWindowAdded(aura::Window* window) { window 205 ash/shelf/shelf_window_watcher.cc observed_windows_.Add(window); window 207 ash/shelf/shelf_window_watcher.cc if (observed_removed_windows_.IsObserving(window)) { window 210 ash/shelf/shelf_window_watcher.cc DCHECK(HasShelfItemForWindow(window)); window 211 ash/shelf/shelf_window_watcher.cc observed_removed_windows_.Remove(window); window 218 ash/shelf/shelf_window_watcher.cc if (GetShelfIDForWindow(window) == kInvalidShelfID && window 219 ash/shelf/shelf_window_watcher.cc GetShelfItemDetailsForWindow(window)) window 220 ash/shelf/shelf_window_watcher.cc AddShelfItem(window); window 223 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::OnWillRemoveWindow(aura::Window* window) { window 225 ash/shelf/shelf_window_watcher.cc if (observed_windows_.IsObserving(window)) window 226 ash/shelf/shelf_window_watcher.cc observed_windows_.Remove(window); window 231 ash/shelf/shelf_window_watcher.cc if (HasShelfItemForWindow(window)) window 232 ash/shelf/shelf_window_watcher.cc StartObservingRemovedWindow(window); window 235 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::OnWindowDestroying(aura::Window* window) { window 237 ash/shelf/shelf_window_watcher.cc if (observed_windows_.IsObserving(window)) window 238 ash/shelf/shelf_window_watcher.cc observed_windows_.Remove(window); window 241 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::OnWindowPropertyChanged(aura::Window* window, window 247 ash/shelf/shelf_window_watcher.cc if (GetShelfItemDetailsForWindow(window) == NULL) { window 250 ash/shelf/shelf_window_watcher.cc RemoveShelfItem(window); window 255 ash/shelf/shelf_window_watcher.cc if (HasShelfItemForWindow(window)) { window 256 ash/shelf/shelf_window_watcher.cc int index = GetShelfItemIndexForWindow(window); window 260 ash/shelf/shelf_window_watcher.cc GetShelfItemDetailsForWindow(window); window 267 ash/shelf/shelf_window_watcher.cc AddShelfItem(window); window 50 ash/shelf/shelf_window_watcher.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 67 ash/shelf/shelf_window_watcher.h virtual void OnWindowParentChanged(aura::Window* window, window 69 ash/shelf/shelf_window_watcher.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 78 ash/shelf/shelf_window_watcher.h void AddShelfItem(aura::Window* window); window 81 ash/shelf/shelf_window_watcher.h void RemoveShelfItem(aura::Window* window); window 90 ash/shelf/shelf_window_watcher.h void UpdateShelfItemStatus(aura::Window* window, bool is_active); window 93 ash/shelf/shelf_window_watcher.h int GetShelfItemIndexForWindow(aura::Window* window) const; window 99 ash/shelf/shelf_window_watcher.h void StartObservingRemovedWindow(aura::Window* window); window 103 ash/shelf/shelf_window_watcher.h void FinishObservingRemovedWindow(aura::Window* window); window 110 ash/shelf/shelf_window_watcher.h virtual void OnWindowAdded(aura::Window* window) OVERRIDE; window 111 ash/shelf/shelf_window_watcher.h virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE; window 112 ash/shelf/shelf_window_watcher.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 113 ash/shelf/shelf_window_watcher.h virtual void OnWindowPropertyChanged(aura::Window* window, window 19 ash/shelf/shelf_window_watcher_item_delegate.cc aura::Window* window, ShelfModel* model) window 20 ash/shelf/shelf_window_watcher_item_delegate.cc : window_(window), window 22 ash/shelf/shelf_window_watcher_item_delegate.h ShelfWindowWatcherItemDelegate(aura::Window* window, ShelfModel* model_); window 40 ash/shelf/shelf_window_watcher_unittest.cc ShelfID CreateShelfItem(aura::Window* window) { window 44 ash/shelf/shelf_window_watcher_unittest.cc SetShelfItemDetailsForWindow(window, item_details); window 120 ash/shelf/shelf_window_watcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 123 ash/shelf/shelf_window_watcher_unittest.cc ShelfID id = CreateShelfItem(window.get()); window 133 ash/shelf/shelf_window_watcher_unittest.cc SetShelfItemDetailsForWindow(window.get(), details); window 145 ash/shelf/shelf_window_watcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 146 ash/shelf/shelf_window_watcher_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 149 ash/shelf/shelf_window_watcher_unittest.cc ShelfID id = CreateShelfItem(window.get()); window 180 ash/shelf/shelf_window_watcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 181 ash/shelf/shelf_window_watcher_unittest.cc window->set_owned_by_parent(false); window 184 ash/shelf/shelf_window_watcher_unittest.cc ShelfID id = CreateShelfItem(window.get()); window 190 ash/shelf/shelf_window_watcher_unittest.cc aura::Window* root_window = window->GetRootWindow(); window 194 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(default_container, window->parent()); window 202 ash/shelf/shelf_window_watcher_unittest.cc new_parent->AddChild(window.get()); window 207 ash/shelf/shelf_window_watcher_unittest.cc default_container->AddChild(window.get()); window 217 ash/shelf/shelf_window_watcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 220 ash/shelf/shelf_window_watcher_unittest.cc ShelfID id = CreateShelfItem(window.get()); window 228 ash/shelf/shelf_window_watcher_unittest.cc CreateWindowResizer(window.get(), window 247 ash/shelf/shelf_window_watcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 248 ash/shelf/shelf_window_watcher_unittest.cc window->set_owned_by_parent(false); window 251 ash/shelf/shelf_window_watcher_unittest.cc ShelfID id = CreateShelfItem(window.get()); window 256 ash/shelf/shelf_window_watcher_unittest.cc aura::Window* root_window = window->GetRootWindow(); window 260 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(default_container, window->parent()); window 269 ash/shelf/shelf_window_watcher_unittest.cc CreateWindowResizer(window.get(), window 280 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->is_dragged()); window 281 ash/shelf/shelf_window_watcher_unittest.cc new_parent->AddChild(window.get()); window 284 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->is_dragged()); window 157 ash/shell.cc aura::Window* window, window 159 ash/shell.cc return AnimateOnChildWindowVisibilityChanged(window, visible); window 281 ash/shell.cc void Shell::ToggleAppList(aura::Window* window) { window 283 ash/shell.cc if (!window) window 284 ash/shell.cc window = GetTargetRootWindow(); window 287 ash/shell.cc app_list_controller_->SetVisible(!app_list_controller_->IsVisible(), window); window 503 ash/shell.cc void Shell::CreateModalBackground(aura::Window* window) { window 511 ash/shell.cc (*iter)->GetSystemModalLayoutManager(window)->CreateModalBackground(); window 1070 ash/shell.cc bool Shell::CanWindowReceiveEvents(aura::Window* window) { window 1075 ash/shell.cc (*iter)->GetSystemModalLayoutManager(window); window 1076 ash/shell.cc if (layout_manager && layout_manager->CanWindowReceiveEvents(window)) window 1080 ash/shell.cc if ((*iter)->IsVirtualKeyboardWindow(window)) window 270 ash/shell.h void SetDisplayWorkAreaInsets(aura::Window* window, window 456 ash/shell.h void CreateModalBackground(aura::Window* window); window 590 ash/shell.h virtual bool CanWindowReceiveEvents(aura::Window* window) OVERRIDE; window 35 ash/shell/window_watcher.cc virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE { window 36 ash/shell/window_watcher.cc DCHECK(window->children().empty()); window 37 ash/shell/window_watcher.cc window->RemoveObserver(watcher_); window 127 ash/shell/window_watcher.cc void WindowWatcher::OnWillRemoveWindow(aura::Window* window) { window 130 ash/shell/window_watcher.cc if (i->second == window) { window 38 ash/shell/window_watcher.h virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE; window 26 ash/shell/window_watcher_shelf_item_delegate.cc aura::Window* window = watcher_->GetWindowByID(id_); window 27 ash/shell/window_watcher_shelf_item_delegate.cc if (window->type() == ui::wm::WINDOW_TYPE_PANEL) window 28 ash/shell/window_watcher_shelf_item_delegate.cc wm::MoveWindowToEventRoot(window, event); window 29 ash/shell/window_watcher_shelf_item_delegate.cc window->Show(); window 30 ash/shell/window_watcher_shelf_item_delegate.cc wm::ActivateWindow(window); window 457 ash/shell_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(NULL)); window 458 ash/shell_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 459 ash/shell_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 460 ash/shell_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 461 ash/shell_unittest.cc ParentWindowInPrimaryRootWindow(window.get()); window 462 ash/shell_unittest.cc window->Show(); window 463 ash/shell_unittest.cc wm::ActivateWindow(window.get()); window 475 ash/shell_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); window 19 ash/switchable_windows.cc bool IsSwitchableContainer(const aura::Window* window) { window 20 ash/switchable_windows.cc if (!window) window 23 ash/switchable_windows.cc if (window->id() == kSwitchableWindowContainerIds[i]) window 24 ash/switchable_windows.h ASH_EXPORT bool IsSwitchableContainer(const aura::Window* window); window 85 ash/system/overview/overview_button_tray_unittest.cc scoped_ptr<aura::Window> window( window 387 ash/system/tray/system_tray_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 393 ash/system/tray/system_tray_unittest.cc wm::ActivateWindow(window.get()); window 409 ash/system/tray/system_tray_unittest.cc wm::ActivateWindow(window.get()); window 370 ash/system/web_notification/web_notification_tray_unittest.cc scoped_ptr<aura::Window> window( window 381 ash/system/web_notification/web_notification_tray_unittest.cc window.reset(); window 387 ash/system/web_notification/web_notification_tray_unittest.cc window.reset(CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 3, 4))); window 417 ash/system/web_notification/web_notification_tray_unittest.cc window.reset(); window 432 ash/system/web_notification/web_notification_tray_unittest.cc scoped_ptr<aura::Window> window( window 444 ash/system/web_notification/web_notification_tray_unittest.cc wm::GetWindowState(window.get())->set_hide_shelf_when_fullscreen(false); window 445 ash/system/web_notification/web_notification_tray_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); window 74 ash/test/ash_test_base.cc const aura::Window* window) const OVERRIDE { window 75 ash/test/ash_test_base.cc return aura::client::GetScreenPositionClient(window->GetRootWindow()); window 267 ash/test/ash_test_base.cc aura::Window* window = new aura::Window(delegate); window 268 ash/test/ash_test_base.cc window->set_id(id); window 269 ash/test/ash_test_base.cc window->SetType(type); window 270 ash/test/ash_test_base.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 271 ash/test/ash_test_base.cc window->Show(); window 274 ash/test/ash_test_base.cc ParentWindowInPrimaryRootWindow(window); window 282 ash/test/ash_test_base.cc window->SetBounds(gfx::Rect(origin, bounds.size())); window 283 ash/test/ash_test_base.cc aura::client::ParentWindowWithContext(window, root, bounds); window 285 ash/test/ash_test_base.cc window->SetProperty(aura::client::kCanMaximizeKey, true); window 286 ash/test/ash_test_base.cc return window; window 289 ash/test/ash_test_base.cc void AshTestBase::ParentWindowInPrimaryRootWindow(aura::Window* window) { window 291 ash/test/ash_test_base.cc window, Shell::GetPrimaryRootWindow(), gfx::Rect()); window 89 ash/test/ash_test_base.h void ParentWindowInPrimaryRootWindow(aura::Window* window); window 36 ash/test/test_activation_delegate.cc void TestActivationDelegate::SetWindow(aura::Window* window) { window 37 ash/test/test_activation_delegate.cc window_ = window; window 38 ash/test/test_activation_delegate.cc aura::client::SetActivationDelegate(window, this); window 39 ash/test/test_activation_delegate.cc aura::client::SetActivationChangeObserver(window, this); window 30 ash/test/test_activation_delegate.h void SetWindow(aura::Window* window); window 24 ash/test/test_screenshot_delegate.cc aura::Window* window, const gfx::Rect& rect) { window 24 ash/test/test_screenshot_delegate.h aura::Window* window, const gfx::Rect& rect) OVERRIDE; window 51 ash/test/test_session_state_delegate.cc aura::Window* window) { window 157 ash/test/test_session_state_delegate.cc bool TestSessionStateDelegate::ShouldShowAvatar(aura::Window* window) { window 28 ash/test/test_session_state_delegate.h aura::Window* window) OVERRIDE; window 46 ash/test/test_session_state_delegate.h virtual bool ShouldShowAvatar(aura::Window* window) OVERRIDE; window 32 ash/test/test_shelf_delegate.cc void TestShelfDelegate::AddShelfItem(aura::Window* window) { window 33 ash/test/test_shelf_delegate.cc AddShelfItem(window, STATUS_CLOSED); window 36 ash/test/test_shelf_delegate.cc void TestShelfDelegate::AddShelfItem(aura::Window* window, window 39 ash/test/test_shelf_delegate.cc if (window->type() == ui::wm::WINDOW_TYPE_PANEL) window 46 ash/test/test_shelf_delegate.cc window->AddObserver(this); window 51 ash/test/test_shelf_delegate.cc scoped_ptr<ShelfItemDelegate> delegate(new TestShelfItemDelegate(window)); window 53 ash/test/test_shelf_delegate.cc SetShelfIDForWindow(id, window); window 56 ash/test/test_shelf_delegate.cc void TestShelfDelegate::RemoveShelfItemForWindow(aura::Window* window) { window 57 ash/test/test_shelf_delegate.cc ShelfID id = GetShelfIDForWindow(window); window 63 ash/test/test_shelf_delegate.cc window->RemoveObserver(this); window 66 ash/test/test_shelf_delegate.cc void TestShelfDelegate::OnWindowDestroying(aura::Window* window) { window 67 ash/test/test_shelf_delegate.cc RemoveShelfItemForWindow(window); window 28 ash/test/test_shelf_delegate.h void AddShelfItem(aura::Window* window); window 29 ash/test/test_shelf_delegate.h void AddShelfItem(aura::Window* window, ShelfItemStatus status); window 30 ash/test/test_shelf_delegate.h void RemoveShelfItemForWindow(aura::Window* window); window 35 ash/test/test_shelf_delegate.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 13 ash/test/test_shelf_item_delegate.cc TestShelfItemDelegate::TestShelfItemDelegate(aura::Window* window) window 14 ash/test/test_shelf_item_delegate.cc : window_(window) { window 22 ash/test/test_shelf_item_delegate.h explicit TestShelfItemDelegate(aura::Window* window); window 61 ash/test/ui_controls_factory_ash.cc virtual bool SendKeyPress(gfx::NativeWindow window, window 68 ash/test/ui_controls_factory_ash.cc window, key, control, shift, alt, command, base::Closure()); window 72 ash/test/ui_controls_factory_ash.cc gfx::NativeWindow window, window 80 ash/test/ui_controls_factory_ash.cc window ? window->GetRootWindow() : ash::Shell::GetTargetRootWindow(); window 83 ash/test/ui_controls_factory_ash.cc window, key, control, shift, alt, command, closure); window 406 ash/touch/touch_uma.cc aura::Window* window, window 408 ash/touch/touch_uma.cc if (!window || window->GetRootWindow() == window) { window 416 ash/touch/touch_uma.cc std::string name = window ? window->name() : std::string(); window 438 ash/touch/touch_uma.cc views::Widget* widget = views::Widget::GetWidgetForNativeView(window); window 69 ash/touch/touch_uma.h GestureActionType FindGestureActionType(aura::Window* window, window 35 ash/wm/always_on_top_controller.cc aura::Window* AlwaysOnTopController::GetContainer(aura::Window* window) const { window 37 ash/wm/always_on_top_controller.cc if (window->GetProperty(aura::client::kAlwaysOnTopKey)) window 53 ash/wm/always_on_top_controller.cc void AlwaysOnTopController::OnWindowPropertyChanged(aura::Window* window, window 57 ash/wm/always_on_top_controller.cc DCHECK(window->type() == ui::wm::WINDOW_TYPE_NORMAL || window 58 ash/wm/always_on_top_controller.cc window->type() == ui::wm::WINDOW_TYPE_POPUP); window 59 ash/wm/always_on_top_controller.cc aura::Window* container = GetContainer(window); window 60 ash/wm/always_on_top_controller.cc if (window->parent() != container) window 61 ash/wm/always_on_top_controller.cc container->AddChild(window); window 65 ash/wm/always_on_top_controller.cc void AlwaysOnTopController::OnWindowDestroyed(aura::Window* window) { window 66 ash/wm/always_on_top_controller.cc if (window == always_on_top_container_) window 31 ash/wm/always_on_top_controller.h aura::Window* GetContainer(aura::Window* window) const; window 37 ash/wm/always_on_top_controller.h virtual void OnWindowPropertyChanged(aura::Window* window, window 40 ash/wm/always_on_top_controller.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 51 ash/wm/app_list_controller.cc views::BubbleBorder::Arrow GetBubbleArrow(aura::Window* window) { window 53 ash/wm/app_list_controller.cc return ShelfLayoutManager::ForShelf(window)-> window 140 ash/wm/app_list_controller.cc void AppListController::SetVisible(bool visible, aura::Window* window) { window 165 ash/wm/app_list_controller.cc aura::Window* root_window = window->GetRootWindow(); window 206 ash/wm/app_list_controller.cc Shelf::ForWindow(window)->GetDragAndDropHostForAppList()); window 209 ash/wm/app_list_controller.cc Shelf::ForWindow(window)->GetAppListButtonView()->SchedulePaint(); window 307 ash/wm/app_list_controller.cc aura::Window* window = view_->GetWidget()->GetNativeView(); window 308 ash/wm/app_list_controller.cc if (!window->Contains(target)) window 309 ash/wm/app_list_controller.cc SetVisible(false, window); window 55 ash/wm/app_list_controller.h void SetVisible(bool visible, aura::Window* window); window 24 ash/wm/app_list_controller_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 25 ash/wm/app_list_controller_unittest.cc wm::ActivateWindow(window.get()); window 38 ash/wm/app_list_controller_unittest.cc scoped_ptr<aura::Window> window( window 40 ash/wm/app_list_controller_unittest.cc wm::ActivateWindow(window.get()); window 36 ash/wm/ash_focus_rules.cc bool BelongsToContainerWithEqualOrGreaterId(const aura::Window* window, window 38 ash/wm/ash_focus_rules.cc for (; window; window = window->parent()) { window 39 ash/wm/ash_focus_rules.cc if (window->id() >= container_id) window 59 ash/wm/ash_focus_rules.cc bool AshFocusRules::SupportsChildActivation(aura::Window* window) const { window 60 ash/wm/ash_focus_rules.cc if (window->id() == kShellWindowId_DefaultContainer) window 64 ash/wm/ash_focus_rules.cc if (window->id() == kWindowContainerIds[i]) window 71 ash/wm/ash_focus_rules.cc aura::Window* window) const { window 72 ash/wm/ash_focus_rules.cc if (BaseFocusRules::IsWindowConsideredVisibleForActivation(window)) window 77 ash/wm/ash_focus_rules.cc if (wm::GetWindowState(window)->IsMinimized()) window 80 ash/wm/ash_focus_rules.cc return window->TargetVisibility() && window 81 ash/wm/ash_focus_rules.cc (window->parent()->id() == kShellWindowId_DefaultContainer || window 82 ash/wm/ash_focus_rules.cc window->parent()->id() == kShellWindowId_LockScreenContainer); window 85 ash/wm/ash_focus_rules.cc bool AshFocusRules::CanActivateWindow(aura::Window* window) const { window 87 ash/wm/ash_focus_rules.cc if (!window) window 90 ash/wm/ash_focus_rules.cc if (!BaseFocusRules::CanActivateWindow(window)) window 95 ash/wm/ash_focus_rules.cc window, kShellWindowId_SystemModalContainer); window 123 ash/wm/ash_focus_rules.cc aura::Window* window = NULL; window 124 ash/wm/ash_focus_rules.cc for (int i = starting_container_index; !window && i < container_count; i++) window 125 ash/wm/ash_focus_rules.cc window = GetTopmostWindowToActivateForContainerIndex(i, ignore); window 126 ash/wm/ash_focus_rules.cc if (!window && starting_container_index > 0) { window 127 ash/wm/ash_focus_rules.cc for (int i = starting_container_index - 1; !window && i >= 0; i--) window 128 ash/wm/ash_focus_rules.cc window = GetTopmostWindowToActivateForContainerIndex(i, ignore); window 130 ash/wm/ash_focus_rules.cc return window; window 139 ash/wm/ash_focus_rules.cc aura::Window* window = NULL; window 144 ash/wm/ash_focus_rules.cc iter != containers.end() && !window; ++iter) { window 145 ash/wm/ash_focus_rules.cc window = GetTopmostWindowToActivateInContainer((*iter), ignore); window 147 ash/wm/ash_focus_rules.cc return window; window 23 ash/wm/ash_focus_rules.h virtual bool SupportsChildActivation(aura::Window* window) const OVERRIDE; window 25 ash/wm/ash_focus_rules.h aura::Window* window) const OVERRIDE; window 26 ash/wm/ash_focus_rules.h virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE; window 62 ash/wm/ash_native_cursor_manager_interactive_uitest.cc void MoveMouseSync(aura::Window* window, int x, int y) { window 66 ash/wm/ash_native_cursor_manager_interactive_uitest.cc window->GetHost()->GetAcceleratedWidget(), window 74 ash/wm/ash_native_cursor_manager_interactive_uitest.cc window, window 58 ash/wm/boot_splash_screen_chromeos.cc ui::Layer* root_layer = host->window()->layer(); window 59 ash/wm/boot_splash_screen_chromeos.cc layer_->SetBounds(gfx::Rect(host->window()->bounds().size())); window 34 ash/wm/coordinate_conversion.cc void ConvertPointToScreen(aura::Window* window, gfx::Point* point) { window 35 ash/wm/coordinate_conversion.cc CHECK(window); window 36 ash/wm/coordinate_conversion.cc CHECK(window->GetRootWindow()); window 37 ash/wm/coordinate_conversion.cc CHECK(aura::client::GetScreenPositionClient(window->GetRootWindow())); window 38 ash/wm/coordinate_conversion.cc aura::client::GetScreenPositionClient(window->GetRootWindow())-> window 39 ash/wm/coordinate_conversion.cc ConvertPointToScreen(window, point); window 42 ash/wm/coordinate_conversion.cc void ConvertPointFromScreen(aura::Window* window, window 44 ash/wm/coordinate_conversion.cc aura::client::GetScreenPositionClient(window->GetRootWindow())-> window 45 ash/wm/coordinate_conversion.cc ConvertPointFromScreen(window, point_in_screen); window 33 ash/wm/coordinate_conversion.h ASH_EXPORT void ConvertPointToScreen(aura::Window* window, gfx::Point* point); window 37 ash/wm/coordinate_conversion.h ASH_EXPORT void ConvertPointFromScreen(aura::Window* window, window 32 ash/wm/default_state.cc bool IsPanel(aura::Window* window) { window 33 ash/wm/default_state.cc return window->parent() && window 34 ash/wm/default_state.cc window->parent()->id() == kShellWindowId_PanelContainer; window 49 ash/wm/default_state.cc window_state->window()).bounds(); window 58 ash/wm/default_state.cc if (new_root != window_state->window()->GetRootWindow()) { window 60 ash/wm/default_state.cc Shell::GetContainer(new_root, window_state->window()->parent()->id()); window 61 ash/wm/default_state.cc new_container->AddChild(window_state->window()); window 125 ash/wm/default_state.cc GetDefaultLeftSnappedWindowBoundsInParent(window_state->window()) : window 126 ash/wm/default_state.cc GetDefaultRightSnappedWindowBoundsInParent(window_state->window()); window 148 ash/wm/default_state.cc GetDisplayNearestWindow(window_state->window()); window 160 ash/wm/default_state.cc aura::Window* window = window_state->window(); window 161 ash/wm/default_state.cc stored_bounds_ = window->bounds(); window 169 ash/wm/default_state.cc GetDisplayNearestWindow(window_state->window()); window 175 ash/wm/default_state.cc aura::Window* window = window_state->window(); window 201 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window); window 208 ash/wm/default_state.cc if (window->delegate()->GetMaximumSize().height() != 0 || window 213 ash/wm/default_state.cc (window->bounds().height() == work_area.height() && window 214 ash/wm/default_state.cc window->bounds().y() == work_area.y())) { window 218 ash/wm/default_state.cc window->SetBounds(gfx::Rect(window->bounds().x(), window 220 ash/wm/default_state.cc window->bounds().width(), window 229 ash/wm/default_state.cc if (window->delegate()->GetMaximumSize().width() != 0) window 234 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window); window 237 ash/wm/default_state.cc (window->bounds().width() == work_area.width() && window 238 ash/wm/default_state.cc window->bounds().x() == work_area.x())) { window 242 ash/wm/default_state.cc window->bounds().y(), window 244 ash/wm/default_state.cc window->bounds().height()); window 246 ash/wm/default_state.cc gfx::Rect restore_bounds = window->bounds(); window 257 ash/wm/default_state.cc window->SetBounds(new_bounds); window 275 ash/wm/default_state.cc window_state->window()->SetProperty(aura::client::kShowStateKey, window 315 ash/wm/default_state.cc aura::Window* window = window_state->window(); window 316 ash/wm/default_state.cc gfx::Rect bounds = window->bounds(); window 327 ash/wm/default_state.cc gfx::Rect display_area = ScreenUtil::GetDisplayBoundsInParent(window); window 333 ash/wm/default_state.cc if (window->bounds() != bounds) window 343 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window 344 ash/wm/default_state.cc gfx::Rect bounds = window_state->window()->bounds(); window 349 ash/wm/default_state.cc if (window_state->window()->bounds() != bounds) window 359 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window 360 ash/wm/default_state.cc gfx::Rect bounds = window_state->window()->bounds(); window 363 ash/wm/default_state.cc if (window_state->window()->bounds() != bounds) window 391 ash/wm/default_state.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window_state->window())); window 396 ash/wm/default_state.cc ScreenUtil::GetDisplayBoundsInParent(window_state->window())); window 409 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window 434 ash/wm/default_state.cc if (window_state->window()->parent() && window 436 ash/wm/default_state.cc (!window_state->IsDocked() && !IsPanel(window_state->window())))) { window 500 ash/wm/default_state.cc aura::Window* window = window_state->window(); window 506 ash/wm/default_state.cc GetDefaultLeftSnappedWindowBoundsInParent(window_state->window()) : window 507 ash/wm/default_state.cc GetDefaultRightSnappedWindowBoundsInParent(window_state->window()); window 512 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window 516 ash/wm/default_state.cc bounds_in_parent = window->bounds(); window 523 ash/wm/default_state.cc bounds_in_parent = ScreenUtil::GetMaximizedWindowBoundsInParent(window); window 527 ash/wm/default_state.cc bounds_in_parent = ScreenUtil::GetDisplayBoundsInParent(window); window 557 ash/wm/default_state.cc window_state->window()->SetProperty(aura::client::kRestoreShowStateKey, window 560 ash/wm/default_state.cc window_state->window(), WINDOW_VISIBILITY_ANIMATION_TYPE_MINIMIZE); window 563 ash/wm/default_state.cc window_state->window()->Hide(); window 567 ash/wm/default_state.cc } else if ((window_state->window()->TargetVisibility() || window 569 ash/wm/default_state.cc !window_state->window()->layer()->visible()) { window 572 ash/wm/default_state.cc window_state->window()->Show(); window 584 ash/wm/default_state.cc aura::Window* window = window_state->window(); window 587 ash/wm/default_state.cc Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); window 590 ash/wm/default_state.cc window->bounds().size(); window 596 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window); window 597 ash/wm/default_state.cc center_in_parent.ClampToCenteredSize(window->bounds().size()); window 221 ash/wm/dock/docked_window_layout_manager.cc bool IsPopupOrTransient(const aura::Window* window) { window 222 ash/wm/dock/docked_window_layout_manager.cc return (window->type() == ui::wm::WINDOW_TYPE_POPUP || window 223 ash/wm/dock/docked_window_layout_manager.cc ::wm::GetTransientParent(window)); window 227 ash/wm/dock/docked_window_layout_manager.cc bool IsUsedByLayout(const aura::Window* window) { window 228 ash/wm/dock/docked_window_layout_manager.cc return (window->IsVisible() && window 229 ash/wm/dock/docked_window_layout_manager.cc !wm::GetWindowState(window)->IsMinimized() && window 230 ash/wm/dock/docked_window_layout_manager.cc !IsPopupOrTransient(window)); window 233 ash/wm/dock/docked_window_layout_manager.cc void UndockWindow(aura::Window* window) { window 234 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect previous_bounds = window->bounds(); window 235 ash/wm/dock/docked_window_layout_manager.cc aura::Window* old_parent = window->parent(); window 236 ash/wm/dock/docked_window_layout_manager.cc aura::client::ParentWindowWithContext(window, window, gfx::Rect()); window 237 ash/wm/dock/docked_window_layout_manager.cc if (window->parent() != old_parent) window 238 ash/wm/dock/docked_window_layout_manager.cc wm::ReparentTransientChildrenOfChild(window, old_parent, window->parent()); window 241 ash/wm/dock/docked_window_layout_manager.cc window->layer()->SetBounds(previous_bounds); window 247 ash/wm/dock/docked_window_layout_manager.cc int GetWindowWidthCloseTo(const aura::Window* window, int target_width) { window 248 ash/wm/dock/docked_window_layout_manager.cc if (!wm::GetWindowState(window)->CanResize()) { window 249 ash/wm/dock/docked_window_layout_manager.cc DCHECK_LE(window->bounds().width(), window 251 ash/wm/dock/docked_window_layout_manager.cc return window->bounds().width(); window 256 ash/wm/dock/docked_window_layout_manager.cc if (window->delegate()) { window 257 ash/wm/dock/docked_window_layout_manager.cc if (window->delegate()->GetMinimumSize().width() != 0) window 258 ash/wm/dock/docked_window_layout_manager.cc width = std::max(width, window->delegate()->GetMinimumSize().width()); window 259 ash/wm/dock/docked_window_layout_manager.cc if (window->delegate()->GetMaximumSize().width() != 0) window 260 ash/wm/dock/docked_window_layout_manager.cc width = std::min(width, window->delegate()->GetMaximumSize().width()); window 268 ash/wm/dock/docked_window_layout_manager.cc int GetWindowHeightCloseTo(const aura::Window* window, int target_height) { window 269 ash/wm/dock/docked_window_layout_manager.cc if (!wm::GetWindowState(window)->CanResize()) window 270 ash/wm/dock/docked_window_layout_manager.cc return window->bounds().height(); window 273 ash/wm/dock/docked_window_layout_manager.cc const aura::WindowDelegate* delegate(window->delegate()); window 292 ash/wm/dock/docked_window_layout_manager.cc return GetWindowHeightCloseTo(win1.window(), 0) < window 293 ash/wm/dock/docked_window_layout_manager.cc GetWindowHeightCloseTo(win2.window(), 0); window 314 ash/wm/dock/docked_window_layout_manager.cc aura::Window* win1(window_with_height1.window()); window 315 ash/wm/dock/docked_window_layout_manager.cc aura::Window* win2(window_with_height2.window()); window 385 ash/wm/dock/docked_window_layout_manager.cc virtual void OnWindowBoundsChanged(aura::Window* window, window 389 ash/wm/dock/docked_window_layout_manager.cc window->parent(), new_bounds); window 460 ash/wm/dock/docked_window_layout_manager.cc void DockedWindowLayoutManager::StartDragging(aura::Window* window) { window 462 ash/wm/dock/docked_window_layout_manager.cc dragged_window_ = window; window 463 ash/wm/dock/docked_window_layout_manager.cc DCHECK(!IsPopupOrTransient(window)); window 479 ash/wm/dock/docked_window_layout_manager.cc is_dragged_from_dock_ = window->parent() == dock_container_; window 500 ash/wm/dock/docked_window_layout_manager.cc void DockedWindowLayoutManager::DockDraggedWindow(aura::Window* window) { window 501 ash/wm/dock/docked_window_layout_manager.cc DCHECK(!IsPopupOrTransient(window)); window 502 ash/wm/dock/docked_window_layout_manager.cc OnDraggedWindowDocked(window); window 557 ash/wm/dock/docked_window_layout_manager.cc const aura::Window* window) const { window 558 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& bounds(window->GetBoundsInScreen()); window 584 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window(dock_container_->children()[i]); window 585 ash/wm/dock/docked_window_layout_manager.cc if (window != dragged_window_ && !IsPopupOrTransient(window)) window 593 ash/wm/dock/docked_window_layout_manager.cc bool DockedWindowLayoutManager::CanDockWindow(aura::Window* window, window 600 ash/wm/dock/docked_window_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(window); window 603 ash/wm/dock/docked_window_layout_manager.cc if (IsPopupOrTransient(window) || should_attach_to_shelf) window 610 ash/wm/dock/docked_window_layout_manager.cc if (window->bounds().width() > kMaxDockWidth && window 612 ash/wm/dock/docked_window_layout_manager.cc (window->delegate() && window 613 ash/wm/dock/docked_window_layout_manager.cc window->delegate()->GetMinimumSize().width() != 0 && window 614 ash/wm/dock/docked_window_layout_manager.cc window->delegate()->GetMinimumSize().width() > kMaxDockWidth))) { window 621 ash/wm/dock/docked_window_layout_manager.cc if (GetWindowHeightCloseTo(window, work_area.height()) > work_area.height()) window 744 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window(*iter); window 745 ash/wm/dock/docked_window_layout_manager.cc if (IsPopupOrTransient(window)) window 747 ash/wm/dock/docked_window_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(window); window 749 ash/wm/dock/docked_window_layout_manager.cc if (window->IsVisible()) window 800 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window = window_state->window(); window 801 ash/wm/dock/docked_window_layout_manager.cc if (IsPopupOrTransient(window)) window 811 ash/wm/dock/docked_window_layout_manager.cc if (window != dragged_window_) { window 812 ash/wm/dock/docked_window_layout_manager.cc UndockWindow(window); window 824 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window, window 828 ash/wm/dock/docked_window_layout_manager.cc if (window == dragged_window_ && is_dragged_window_docked_) window 833 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window, bool visible) { window 834 ash/wm/dock/docked_window_layout_manager.cc if (IsPopupOrTransient(window)) window 840 ash/wm/dock/docked_window_layout_manager.cc window, base::TimeDelta::FromMilliseconds(kFadeDurationMs)); window 841 ash/wm/dock/docked_window_layout_manager.cc } else if (wm::GetWindowState(window)->IsMinimized()) { window 844 ash/wm/dock/docked_window_layout_manager.cc ::wm::SetWindowVisibilityAnimationType(window, animation_type); window 847 ash/wm/dock/docked_window_layout_manager.cc void DockedWindowLayoutManager::OnWindowDestroying(aura::Window* window) { window 848 ash/wm/dock/docked_window_layout_manager.cc if (dragged_window_ == window) { window 853 ash/wm/dock/docked_window_layout_manager.cc if (window == last_active_window_) window 896 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window(*iter++); window 897 ash/wm/dock/docked_window_layout_manager.cc if (window == child || !IsUsedByLayout(window)) window 899 ash/wm/dock/docked_window_layout_manager.cc int room_needed = GetWindowHeightCloseTo(window, 0) + window 907 ash/wm/dock/docked_window_layout_manager.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 911 ash/wm/dock/docked_window_layout_manager.cc wm::GetWindowState(window)->Minimize(); window 918 ash/wm/dock/docked_window_layout_manager.cc DCHECK(!IsPopupOrTransient(window_state->window())); window 919 ash/wm/dock/docked_window_layout_manager.cc window_state->window()->Hide(); window 927 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window = window_state->window(); window 928 ash/wm/dock/docked_window_layout_manager.cc DCHECK(!IsPopupOrTransient(window)); window 937 ash/wm/dock/docked_window_layout_manager.cc if (!CanDockWindow(window, SNAP_NONE)) { window 938 ash/wm/dock/docked_window_layout_manager.cc UndockWindow(window); window 942 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect bounds(window->bounds()); window 944 ash/wm/dock/docked_window_layout_manager.cc window->SetBounds(bounds); window 945 ash/wm/dock/docked_window_layout_manager.cc window->Show(); window 946 ash/wm/dock/docked_window_layout_manager.cc MaybeMinimizeChildrenExcept(window); window 970 ash/wm/dock/docked_window_layout_manager.cc const aura::Window* window(dock_container_->children()[i]); window 971 ash/wm/dock/docked_window_layout_manager.cc if (IsPopupOrTransient(window)) window 974 ash/wm/dock/docked_window_layout_manager.cc if (!IsUsedByLayout(window)) window 977 ash/wm/dock/docked_window_layout_manager.cc if (window->type() == ui::wm::WINDOW_TYPE_PANEL) window 979 ash/wm/dock/docked_window_layout_manager.cc const wm::WindowState* window_state = wm::GetWindowState(window); window 999 ash/wm/dock/docked_window_layout_manager.cc void DockedWindowLayoutManager::OnDraggedWindowDocked(aura::Window* window) { window 1014 ash/wm/dock/docked_window_layout_manager.cc const aura::Window* window) const { window 1015 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& bounds(window->GetBoundsInScreen()); window 1033 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window(dock_container_->children()[i]); window 1035 ash/wm/dock/docked_window_layout_manager.cc if (!IsUsedByLayout(window) || window == dragged_window_) window 1043 ash/wm/dock/docked_window_layout_manager.cc window->Hide(); window 1046 ash/wm/dock/docked_window_layout_manager.cc if (window->HasFocus() || window 1047 ash/wm/dock/docked_window_layout_manager.cc window->Contains( window 1048 ash/wm/dock/docked_window_layout_manager.cc aura::client::GetFocusClient(window)->GetFocusedWindow())) { window 1050 ash/wm/dock/docked_window_layout_manager.cc active_window = window; window 1052 ash/wm/dock/docked_window_layout_manager.cc visible_windows.push_back(WindowWithHeight(window)); window 1098 ash/wm/dock/docked_window_layout_manager.cc iter->window(), window 1117 ash/wm/dock/docked_window_layout_manager.cc const aura::Window* window = iter->window(); window 1118 ash/wm/dock/docked_window_layout_manager.cc int min_window_width = window->bounds().width(); window 1120 ash/wm/dock/docked_window_layout_manager.cc if (!wm::GetWindowState(window)->bounds_changed_by_user()) { window 1121 ash/wm/dock/docked_window_layout_manager.cc min_window_width = GetWindowWidthCloseTo(window, kMinDockWidth); window 1122 ash/wm/dock/docked_window_layout_manager.cc max_window_width = GetWindowWidthCloseTo(window, kMaxDockWidth); window 1153 ash/wm/dock/docked_window_layout_manager.cc (*visible_windows)[0].window() == dragged_window_)) { window 1165 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window = iter->window(); window 1167 ash/wm/dock/docked_window_layout_manager.cc dock_container_, window->GetTargetBounds()); window 1173 ash/wm/dock/docked_window_layout_manager.cc window, window 1174 ash/wm/dock/docked_window_layout_manager.cc wm::GetWindowState(window)->bounds_changed_by_user() ? window 1179 ash/wm/dock/docked_window_layout_manager.cc if (alignment == DOCKED_ALIGNMENT_NONE && window == dragged_window_) window 1180 ash/wm/dock/docked_window_layout_manager.cc alignment = GetEdgeNearestWindow(window); window 1203 ash/wm/dock/docked_window_layout_manager.cc if (window == dragged_window_) { window 1211 ash/wm/dock/docked_window_layout_manager.cc if (bounds != window->GetTargetBounds()) { window 1212 ash/wm/dock/docked_window_layout_manager.cc ui::Layer* layer = window->layer(); window 1218 ash/wm/dock/docked_window_layout_manager.cc SetChildBoundsDirect(window, bounds); window 49 ash/wm/dock/docked_window_layout_manager.h explicit WindowWithHeight(aura::Window* window) : window 50 ash/wm/dock/docked_window_layout_manager.h window_(window), window 51 ash/wm/dock/docked_window_layout_manager.h height_(window->bounds().height()) { } window 52 ash/wm/dock/docked_window_layout_manager.h aura::Window* window() { return window_; } window 53 ash/wm/dock/docked_window_layout_manager.h const aura::Window* window() const { return window_; } window 98 ash/wm/dock/docked_window_layout_manager.h void StartDragging(aura::Window* window); window 101 ash/wm/dock/docked_window_layout_manager.h void DockDraggedWindow(aura::Window* window); window 115 ash/wm/dock/docked_window_layout_manager.h DockedAlignment GetAlignmentOfWindow(const aura::Window* window) const; window 122 ash/wm/dock/docked_window_layout_manager.h bool CanDockWindow(aura::Window* window, SnapType edge); window 165 ash/wm/dock/docked_window_layout_manager.h virtual void OnWindowBoundsChanged(aura::Window* window, window 168 ash/wm/dock/docked_window_layout_manager.h virtual void OnWindowVisibilityChanging(aura::Window* window, window 170 ash/wm/dock/docked_window_layout_manager.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 202 ash/wm/dock/docked_window_layout_manager.h void OnDraggedWindowDocked(aura::Window* window); window 214 ash/wm/dock/docked_window_layout_manager.h DockedAlignment GetEdgeNearestWindow(const aura::Window* window) const; window 70 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* window = CreateTestWindowInShellWithDelegateAndType( window 75 ash/wm/dock/docked_window_layout_manager_unittest.cc shelf_delegate->AddShelfItem(window); window 77 ash/wm/dock/docked_window_layout_manager_unittest.cc static_cast<PanelLayoutManager*>(GetPanelContainer(window)-> window 81 ash/wm/dock/docked_window_layout_manager_unittest.cc return window; window 87 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* window = CreateTestWindowInShellWithDelegateAndType( window 92 ash/wm/dock/docked_window_layout_manager_unittest.cc shelf_delegate->AddShelfItem(window); window 94 ash/wm/dock/docked_window_layout_manager_unittest.cc static_cast<PanelLayoutManager*>(GetPanelContainer(window)-> window 98 ash/wm/dock/docked_window_layout_manager_unittest.cc return window; window 107 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* window, window 111 ash/wm/dock/docked_window_layout_manager_unittest.cc window, window 117 ash/wm/dock/docked_window_layout_manager_unittest.cc void DragStart(aura::Window* window) { window 118 ash/wm/dock/docked_window_layout_manager_unittest.cc DragStartAtOffsetFromwindowOrigin(window, 0, 0); window 121 ash/wm/dock/docked_window_layout_manager_unittest.cc void DragStartAtOffsetFromwindowOrigin(aura::Window* window, window 124 ash/wm/dock/docked_window_layout_manager_unittest.cc window->bounds().origin() + gfx::Vector2d(dx, dy); window 125 ash/wm/dock/docked_window_layout_manager_unittest.cc resizer_.reset(CreateSomeWindowResizer(window, window 157 ash/wm/dock/docked_window_layout_manager_unittest.cc void DragRelativeToEdge(DockedEdge edge, aura::Window* window, int dx) { window 160 ash/wm/dock/docked_window_layout_manager_unittest.cc window, window 166 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* window, window 168 ash/wm/dock/docked_window_layout_manager_unittest.cc DragToVerticalPositionRelativeToEdge(edge, window, 0, y); window 172 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* window, window 175 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 176 ash/wm/dock/docked_window_layout_manager_unittest.cc DragVerticallyAndRelativeToEdge(edge, window, dx, y - initial_bounds.y()); window 182 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* window, window 184 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 186 ash/wm/dock/docked_window_layout_manager_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStartAtOffsetFromwindowOrigin(window, 25, 5)); window 189 ash/wm/dock/docked_window_layout_manager_unittest.cc Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); window 191 ash/wm/dock/docked_window_layout_manager_unittest.cc wm::ConvertPointToScreen(window->parent(), &initial_location_in_screen); window 198 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(CorrectContainerIdDuringDrag(), window->parent()->id()); window 204 ash/wm/dock/docked_window_layout_manager_unittest.cc if (window->parent()->id() != kShellWindowId_DockedContainer && window 205 ash/wm/dock/docked_window_layout_manager_unittest.cc !wm::GetWindowState(window)->HasRestoreBounds()) { window 206 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(initial_bounds.y() + dy, window->GetBoundsInScreen().y()); window 228 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 229 ash/wm/dock/docked_window_layout_manager_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 233 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(window->GetRootWindow()->bounds().right(), window 234 ash/wm/dock/docked_window_layout_manager_unittest.cc window->GetBoundsInScreen().right()); window 235 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(ideal_width(), window->bounds().width()); window 236 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 246 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 247 ash/wm/dock/docked_window_layout_manager_unittest.cc DragRelativeToEdge(DOCKED_EDGE_LEFT, window.get(), 0); window 250 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(window->GetRootWindow()->bounds().x(), window 251 ash/wm/dock/docked_window_layout_manager_unittest.cc window->GetBoundsInScreen().x()); window 252 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 255 ash/wm/dock/docked_window_layout_manager_unittest.cc window->parent()->layout_manager()); window 296 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 297 ash/wm/dock/docked_window_layout_manager_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 300 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(window->GetRootWindow()->bounds().right(), window 301 ash/wm/dock/docked_window_layout_manager_unittest.cc window->GetBoundsInScreen().right()); window 302 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 305 ash/wm/dock/docked_window_layout_manager_unittest.cc window->parent()->layout_manager()); window 349 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 351 ash/wm/dock/docked_window_layout_manager_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 354 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 355 ash/wm/dock/docked_window_layout_manager_unittest.cc window->GetBoundsInScreen().right()); window 356 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 359 ash/wm/dock/docked_window_layout_manager_unittest.cc window->parent()->layout_manager()); window 673 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 675 ash/wm/dock/docked_window_layout_manager_unittest.cc DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, window.get(), 20); window 679 ash/wm/dock/docked_window_layout_manager_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStartAtOffsetFromwindowOrigin(window.get(), window 685 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_NE(window->GetRootWindow()->bounds().right(), window 686 ash/wm/dock/docked_window_layout_manager_unittest.cc window->GetBoundsInScreen().right()); window 687 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_NE(kShellWindowId_DockedContainer, window->parent()->id()); window 815 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 817 ash/wm/dock/docked_window_layout_manager_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 824 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(window->GetRootWindow()->bounds().right(), window 825 ash/wm/dock/docked_window_layout_manager_unittest.cc window->GetBoundsInScreen().right()); window 826 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 827 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(ideal_width(), window->bounds().width()); window 829 ash/wm/dock/docked_window_layout_manager_unittest.cc Shell::GetScreen()->GetDisplayNearestWindow(window.get()).work_area(); window 830 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(work_area.height(), window->GetBoundsInScreen().height()); window 216 ash/wm/dock/docked_window_resizer.cc aura::Window* window = GetTarget(); window 217 ash/wm/dock/docked_window_resizer.cc const bool is_attached_panel = window->type() == ui::wm::WINDOW_TYPE_PANEL && window 232 ash/wm/dock/docked_window_resizer.cc window->parent(), dock_layout_->dragged_bounds()); window 233 ash/wm/dock/docked_window_resizer.cc if (!bounds.IsEmpty() && bounds.width() != window->bounds().width()) { window 234 ash/wm/dock/docked_window_resizer.cc window->SetBounds(bounds); window 240 ash/wm/dock/docked_window_resizer.cc gfx::Rect restore_bounds = window->GetBoundsInScreen(); window 267 ash/wm/dock/docked_window_resizer.cc aura::Window* window = GetTarget(); window 272 ash/wm/dock/docked_window_resizer.cc window->GetRootWindow(), window 275 ash/wm/dock/docked_window_resizer.cc is_docked_ != (window->parent() == dock_container)) { window 277 ash/wm/dock/docked_window_resizer.cc wm::ReparentChildWithTransientChildren(window, window 278 ash/wm/dock/docked_window_resizer.cc window->parent(), window 281 ash/wm/dock/docked_window_resizer.cc } else if (window->parent()->id() == kShellWindowId_DockedContainer) { window 290 ash/wm/dock/docked_window_resizer.cc aura::Window* previous_parent = window->parent(); window 291 ash/wm/dock/docked_window_resizer.cc aura::client::ParentWindowWithContext(window, window, near_last_location); window 292 ash/wm/dock/docked_window_resizer.cc if (window->parent() != previous_parent) { window 293 ash/wm/dock/docked_window_resizer.cc wm::ReparentTransientChildrenOfChild(window, window 295 ash/wm/dock/docked_window_resizer.cc window->parent()); window 315 ash/wm/dock/docked_window_resizer.cc wm::GetWindowState(window)->set_bounds_changed_by_user( window 76 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* window = CreateTestWindowInShellWithDelegateAndType( window 84 ash/wm/dock/docked_window_resizer_unittest.cc shelf_delegate->AddShelfItem(window); window 86 ash/wm/dock/docked_window_resizer_unittest.cc Shell::GetContainer(window->GetRootWindow(), window 90 ash/wm/dock/docked_window_resizer_unittest.cc return window; window 94 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* window = new aura::Window(&delegate_); window 95 ash/wm/dock/docked_window_resizer_unittest.cc window->SetProperty(aura::client::kModalKey, ui::MODAL_TYPE_SYSTEM); window 96 ash/wm/dock/docked_window_resizer_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 97 ash/wm/dock/docked_window_resizer_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 98 ash/wm/dock/docked_window_resizer_unittest.cc window->Show(); window 101 ash/wm/dock/docked_window_resizer_unittest.cc ParentWindowInPrimaryRootWindow(window); window 109 ash/wm/dock/docked_window_resizer_unittest.cc window->SetBounds(gfx::Rect(origin, bounds.size())); window 110 ash/wm/dock/docked_window_resizer_unittest.cc aura::client::ParentWindowWithContext(window, root, bounds); window 112 ash/wm/dock/docked_window_resizer_unittest.cc return window; window 116 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* window, window 120 ash/wm/dock/docked_window_resizer_unittest.cc window, window 126 ash/wm/dock/docked_window_resizer_unittest.cc void DragStart(aura::Window* window) { window 127 ash/wm/dock/docked_window_resizer_unittest.cc DragStartAtOffsetFromWindowOrigin(window, 0, 0); window 130 ash/wm/dock/docked_window_resizer_unittest.cc void DragStartAtOffsetFromWindowOrigin(aura::Window* window, window 133 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().origin() + gfx::Vector2d(dx, dy); window 134 ash/wm/dock/docked_window_resizer_unittest.cc resizer_.reset(CreateSomeWindowResizer(window, window 140 ash/wm/dock/docked_window_resizer_unittest.cc void ResizeStartAtOffsetFromWindowOrigin(aura::Window* window, window 144 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().origin() + gfx::Vector2d(dx, dy); window 145 ash/wm/dock/docked_window_resizer_unittest.cc resizer_.reset(CreateSomeWindowResizer(window, window 177 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* window, window 181 ash/wm/dock/docked_window_resizer_unittest.cc window, window 189 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* window, window 191 ash/wm/dock/docked_window_resizer_unittest.cc DragToVerticalPositionRelativeToEdge(edge, window, 0, y); window 195 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* window, window 198 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 200 ash/wm/dock/docked_window_resizer_unittest.cc window, window 208 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* window, window 211 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 213 ash/wm/dock/docked_window_resizer_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStartAtOffsetFromWindowOrigin(window, window 217 ash/wm/dock/docked_window_resizer_unittest.cc Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); window 219 ash/wm/dock/docked_window_resizer_unittest.cc wm::ConvertPointToScreen(window->parent(), &initial_location_in_screen); window 226 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(CorrectContainerIdDuringDrag(), window->parent()->id()); window 232 ash/wm/dock/docked_window_resizer_unittest.cc if (window->parent()->id() != kShellWindowId_DockedContainer && window 233 ash/wm/dock/docked_window_resizer_unittest.cc !wm::GetWindowState(window)->HasRestoreBounds()) { window 234 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() + dy, window->GetBoundsInScreen().y()); window 265 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 266 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 269 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 270 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 271 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 280 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 281 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), +4); window 284 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 285 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 286 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 295 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 302 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), window 309 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right() + window 310 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width() - kGrabOffsetX - kUndershootBy - 1, window 311 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 312 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 320 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 321 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_LEFT, window.get(), 0); window 324 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().x(), window 325 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().x()); window 326 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 335 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 336 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_LEFT, window.get(), -4); window 339 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().x(), window 340 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().x()); window 341 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 350 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 351 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds(window->bounds()); window 352 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_LEFT, window.get(), 1); window 356 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(expected_x, window->GetBoundsInScreen().x()); window 357 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 366 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 367 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 370 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 371 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 372 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 379 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().x(), window 380 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().x()); window 381 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 387 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 388 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 389 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 395 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 396 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 397 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 405 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow( window 407 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 411 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 412 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 413 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); window 414 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 419 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), 10, 0)); window 425 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 426 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 427 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 431 ash/wm/dock/docked_window_resizer_unittest.cc const int left_edge = window->bounds().x(); window 433 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), 10, 0)); window 439 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(left_edge - 32, window->GetBoundsInScreen().x()); window 440 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 451 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow( window 453 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 457 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 458 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 459 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); window 460 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 465 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), ideal_width() - 10, 0)); window 471 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 472 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 473 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 477 ash/wm/dock/docked_window_resizer_unittest.cc const int left_edge = window->bounds().x(); window 479 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), ideal_width() - 10, 0)); window 485 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(left_edge - 32, window->GetBoundsInScreen().x()); window 486 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 494 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 495 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 498 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 499 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 500 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 502 ash/wm/dock/docked_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 506 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_FALSE(window->IsVisible()); window 511 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window->IsVisible()); window 520 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 521 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 524 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 525 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 526 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 528 ash/wm/dock/docked_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 532 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window->IsVisible()); window 534 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 651 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 652 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 655 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 656 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 657 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 660 ash/wm/dock/docked_window_resizer_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStart(window.get())); window 663 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 666 ash/wm/dock/docked_window_resizer_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStart(window.get())); window 669 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 676 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 678 ash/wm/dock/docked_window_resizer_unittest.cc window->GetRootWindow(), window 682 ash/wm/dock/docked_window_resizer_unittest.cc int previous_container_id = window->parent()->id(); window 684 ash/wm/dock/docked_window_resizer_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStart(window.get())); window 685 ash/wm/dock/docked_window_resizer_unittest.cc DragMove(-50 - window->bounds().x(), 50 - window->bounds().y()); window 686 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(CorrectContainerIdDuringDrag(), window->parent()->id()); window 688 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_container_id, window->parent()->id()); window 693 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), window 694 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, window 696 ash/wm/dock/docked_window_resizer_unittest.cc DragMove(-50 - window->bounds().x(), 50 - window->bounds().y()); window 699 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 701 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_LT(window->bounds().x(), 0); window 702 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_GT(window->bounds().right(), 0); window 706 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), window 707 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, window 712 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 725 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 726 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 727 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 729 ash/wm/dock/docked_window_resizer_unittest.cc DragRelativeToEdge(DOCKED_EDGE_RIGHT, window.get(), 0); window 731 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 732 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 733 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 738 ash/wm/dock/docked_window_resizer_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStart(window.get())); window 740 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(CorrectContainerIdDuringDrag(), window->parent()->id()); window 742 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 743 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 744 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 745 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 751 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), window 752 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, window 754 ash/wm/dock/docked_window_resizer_unittest.cc DragMove(window->bounds().width()/2 - 5, 0); window 755 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(CorrectContainerIdDuringDrag(), window->parent()->id()); window 757 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_NE(window->GetRootWindow()->GetBoundsInScreen().right(), window 758 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 759 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 760 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 765 ash/wm/dock/docked_window_resizer_unittest.cc window.get(), window 766 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, window 768 ash/wm/dock/docked_window_resizer_unittest.cc DragMove(window->GetRootWindow()->GetBoundsInScreen().x() - window 769 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().x(), window 771 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(CorrectContainerIdDuringDrag(), window->parent()->id()); window 773 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().x(), window 774 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().x()); window 775 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 776 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 1434 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 1437 ash/wm/dock/docked_window_resizer_unittest.cc ::wm::AddTransientChild(window.get(), child.get()); window 1438 ash/wm/dock/docked_window_resizer_unittest.cc if (window->parent() != child->parent()) window 1439 ash/wm/dock/docked_window_resizer_unittest.cc window->parent()->AddChild(child.get()); window 1440 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window.get(), ::wm::GetTransientParent(child.get())); window 1442 ash/wm/dock/docked_window_resizer_unittest.cc DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, window.get(), 20); window 1445 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 1456 ash/wm/dock/docked_window_resizer_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStart(window.get())); window 1461 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 1475 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); window 1476 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect bounds(window->bounds()); window 1479 ash/wm/dock/docked_window_resizer_unittest.cc ASSERT_NO_FATAL_FAILURE(DragStart(window.get())); window 1482 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(CorrectContainerIdDuringDrag(), window->parent()->id()); window 1487 ash/wm/dock/docked_window_resizer_unittest.cc ::wm::AddTransientChild(window.get(), child.get()); window 1488 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window.get(), ::wm::GetTransientParent(child.get())); window 1495 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(bounds.ToString(), window->GetBoundsInScreen().ToString()); window 1499 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 1506 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window.get(), ::wm::GetTransientParent(child.get())); window 1571 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow( window 1573 ash/wm/dock/docked_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 1576 ash/wm/dock/docked_window_resizer_unittest.cc DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, window.get(), 20); window 1577 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), window 1578 ash/wm/dock/docked_window_resizer_unittest.cc window->GetBoundsInScreen().right()); window 1579 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id()); window 1582 ash/wm/dock/docked_window_resizer_unittest.cc window->parent()->layout_manager()); window 1584 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->bounds().width(), docked_width(manager)); window 1592 ash/wm/dock/docked_window_resizer_unittest.cc generator.MoveMouseTo(window->GetBoundsInScreen().origin()); window 1599 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 1602 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window.get()).ToString(), window 1603 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().ToString()); window 44 ash/wm/drag_details.cc DragDetails::DragDetails(aura::Window* window, window 48 ash/wm/drag_details.cc : initial_state_type(wm::GetWindowState(window)->GetStateType()), window 49 ash/wm/drag_details.cc initial_bounds_in_parent(window->bounds()), window 51 ash/wm/drag_details.cc initial_opacity(window->layer()->opacity()), window 62 ash/wm/drag_details.cc should_attach_to_shelf(window->type() == ui::wm::WINDOW_TYPE_PANEL && window 63 ash/wm/drag_details.cc wm::GetWindowState(window)->panel_attached()) { window 64 ash/wm/drag_details.cc wm::WindowState* window_state = wm::GetWindowState(window); window 26 ash/wm/drag_details.h DragDetails(aura::Window* window, window 22 ash/wm/drag_window_controller.cc DragWindowController::DragWindowController(aura::Window* window) window 23 ash/wm/drag_window_controller.cc : window_(window), window 83 ash/wm/drag_window_controller.cc aura::Window* window = drag_widget_->GetNativeWindow(); window 85 ash/wm/drag_window_controller.cc window->layer()->Add(layer_owner_->root()); window 86 ash/wm/drag_window_controller.cc window->layer()->StackAtTop(layer_owner_->root()); window 99 ash/wm/drag_window_controller.cc aura::Window* window = drag_widget_->GetNativeWindow(); window 101 ash/wm/drag_window_controller.cc aura::client::GetScreenPositionClient(window->GetRootWindow()); window 103 ash/wm/drag_window_controller.cc screen_position_client->SetBounds(window, bounds, dst_display_); window 34 ash/wm/drag_window_controller.h explicit DragWindowController(aura::Window* window); window 114 ash/wm/drag_window_resizer_unittest.cc aura::Window* window, window 118 ash/wm/drag_window_resizer_unittest.cc window, window 285 ash/wm/drag_window_resizer_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(&delegate)); window 286 ash/wm/drag_window_resizer_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 287 ash/wm/drag_window_resizer_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 288 ash/wm/drag_window_resizer_unittest.cc ParentWindowInPrimaryRootWindow(window.get()); window 289 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), window 291 ash/wm/drag_window_resizer_unittest.cc window->Show(); window 292 ash/wm/drag_window_resizer_unittest.cc EXPECT_TRUE(ash::wm::CanActivateWindow(window.get())); window 293 ash/wm/drag_window_resizer_unittest.cc ash::wm::ActivateWindow(window.get()); window 294 ash/wm/drag_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 299 ash/wm/drag_window_resizer_unittest.cc window.get(), gfx::Point(), HTCAPTION)); window 307 ash/wm/drag_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 545 ash/wm/drag_window_resizer_unittest.cc aura::Window* window = window_.get(); window 546 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), window 550 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); window 560 ash/wm/drag_window_resizer_unittest.cc aura::Window* window = always_on_top_window_.get(); window 561 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), window 565 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); window 575 ash/wm/drag_window_resizer_unittest.cc aura::Window* window = system_modal_window_.get(); window 576 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), window 580 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); window 590 ash/wm/drag_window_resizer_unittest.cc aura::Window* window = transient_child_; window 591 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), window 595 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); window 606 ash/wm/drag_window_resizer_unittest.cc aura::Window* window = transient_parent_.get(); window 607 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), window 611 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); window 621 ash/wm/drag_window_resizer_unittest.cc aura::Window* window = panel_window_.get(); window 622 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), window 626 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); window 22 ash/wm/event_client_impl.cc const aura::Window* window) const { window 23 ash/wm/event_client_impl.cc const aura::Window* root_window = window ? window->GetRootWindow() : NULL; window 38 ash/wm/event_client_impl.cc bool can_process_events = (window->Contains(lock_screen_containers) && window 39 ash/wm/event_client_impl.cc window->Contains(lock_background_containers) && window 40 ash/wm/event_client_impl.cc window->Contains(lock_screen_related_containers)) || window 41 ash/wm/event_client_impl.cc lock_screen_containers->Contains(window) || window 42 ash/wm/event_client_impl.cc lock_background_containers->Contains(window) || window 43 ash/wm/event_client_impl.cc lock_screen_related_containers->Contains(window); window 48 ash/wm/event_client_impl.cc can_process_events |= (window->Contains(virtual_keyboard_container) || window 49 ash/wm/event_client_impl.cc virtual_keyboard_container->Contains(window)); window 23 ash/wm/event_client_impl.h const aura::Window* window) const OVERRIDE; window 362 ash/wm/gestures/long_press_affordance_handler.cc void LongPressAffordanceHandler::OnWindowDestroying(aura::Window* window) { window 363 ash/wm/gestures/long_press_affordance_handler.cc DCHECK_EQ(tap_down_target_, window); window 59 ash/wm/gestures/long_press_affordance_handler.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 89 ash/wm/immersive_fullscreen_controller.cc for (aura::Window* window = maybe_transient; window; window 90 ash/wm/immersive_fullscreen_controller.cc window = ::wm::GetTransientParent(window)) { window 91 ash/wm/immersive_fullscreen_controller.cc if (window == toplevel) window 108 ash/wm/immersive_fullscreen_controller.cc gfx::Rect GetDisplayBoundsInScreen(aura::Window* window) { window 109 ash/wm/immersive_fullscreen_controller.cc return Shell::GetScreen()->GetDisplayNearestWindow(window).bounds(); window 139 ash/wm/immersive_fullscreen_controller.cc virtual void OnWindowVisibilityChanged(aura::Window* window, window 141 ash/wm/immersive_fullscreen_controller.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 225 ash/wm/immersive_fullscreen_controller.cc aura::Window* window) { window 226 ash/wm/immersive_fullscreen_controller.cc StopObserving(window); window 477 ash/wm/immersive_fullscreen_controller.cc aura::Window* window, window 491 ash/wm/immersive_fullscreen_controller.cc aura::Window* window, window 147 ash/wm/immersive_fullscreen_controller.h virtual void OnTransientChildAdded(aura::Window* window, window 149 ash/wm/immersive_fullscreen_controller.h virtual void OnTransientChildRemoved(aura::Window* window, window 155 ash/wm/immersive_fullscreen_controller_unittest.cc window()->SetProperty(aura::client::kShowStateKey, window 747 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect window_bounds = window()->GetBoundsInScreen(); window 756 ash/wm/immersive_fullscreen_controller_unittest.cc EXPECT_EQ(behind->GetBoundsInScreen().y(), window()->GetBoundsInScreen().y()); window 761 ash/wm/immersive_fullscreen_controller_unittest.cc ui::EventTarget* root = window()->GetRootWindow(); window 763 ash/wm/immersive_fullscreen_controller_unittest.cc EXPECT_EQ(window(), targeter->FindTargetForEvent(root, &touch)); window 768 ash/wm/immersive_fullscreen_controller_unittest.cc EXPECT_EQ(behind->GetBoundsInScreen().y(), window()->GetBoundsInScreen().y()); window 773 ash/wm/immersive_fullscreen_controller_unittest.cc EXPECT_EQ(window(), targeter->FindTargetForEvent(root, &touch2)); window 1025 ash/wm/immersive_fullscreen_controller_unittest.cc window()->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 1030 ash/wm/immersive_fullscreen_controller_unittest.cc window()->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); window 1036 ash/wm/immersive_fullscreen_controller_unittest.cc window()->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 1045 ash/wm/immersive_fullscreen_controller_unittest.cc window()->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); window 1051 ash/wm/immersive_fullscreen_controller_unittest.cc window()->SetProperty(aura::client::kShowStateKey, window 314 ash/wm/lock_state_controller_unittest.cc aura::Window* window = *it; window 315 ash/wm/lock_state_controller_unittest.cc ui::Layer* layer = window->layer(); window 335 ash/wm/lock_state_controller_unittest.cc aura::Window* window = *it; window 336 ash/wm/lock_state_controller_unittest.cc ui::Layer* layer = window->layer(); window 33 ash/wm/maximize_mode/maximize_mode_window_manager.cc void MaximizeModeWindowManager::WindowStateDestroyed(aura::Window* window) { window 36 ash/wm/maximize_mode/maximize_mode_window_manager.cc DCHECK(!window->HasObserver(this)); window 38 ash/wm/maximize_mode/maximize_mode_window_manager.cc WindowToState::iterator it = window_state_map_.find(window); window 59 ash/wm/maximize_mode/maximize_mode_window_manager.cc void MaximizeModeWindowManager::OnWindowDestroying(aura::Window* window) { window 61 ash/wm/maximize_mode/maximize_mode_window_manager.cc if (!IsContainerWindow(window)) window 62 ash/wm/maximize_mode/maximize_mode_window_manager.cc ForgetWindow(window); window 66 ash/wm/maximize_mode/maximize_mode_window_manager.cc aura::Window* window) { window 68 ash/wm/maximize_mode/maximize_mode_window_manager.cc if (IsContainerWindow(window->parent()) && window 69 ash/wm/maximize_mode/maximize_mode_window_manager.cc window_state_map_.find(window) == window_state_map_.end()) window 70 ash/wm/maximize_mode/maximize_mode_window_manager.cc MaximizeAndTrackWindow(window); window 74 ash/wm/maximize_mode/maximize_mode_window_manager.cc aura::Window* window, window 77 ash/wm/maximize_mode/maximize_mode_window_manager.cc if (!IsContainerWindow(window)) window 121 ash/wm/maximize_mode/maximize_mode_window_manager.cc for (MruWindowTracker::WindowList::iterator window = windows.begin(); window 122 ash/wm/maximize_mode/maximize_mode_window_manager.cc window != windows.end(); ++window) { window 123 ash/wm/maximize_mode/maximize_mode_window_manager.cc MaximizeAndTrackWindow(*window); window 133 ash/wm/maximize_mode/maximize_mode_window_manager.cc aura::Window* window) { window 134 ash/wm/maximize_mode/maximize_mode_window_manager.cc if (!ShouldHandleWindow(window)) window 137 ash/wm/maximize_mode/maximize_mode_window_manager.cc DCHECK(window_state_map_.find(window) == window_state_map_.end()); window 138 ash/wm/maximize_mode/maximize_mode_window_manager.cc window->AddObserver(this); window 142 ash/wm/maximize_mode/maximize_mode_window_manager.cc window_state_map_[window] = new MaximizeModeWindowState(window, this); window 145 ash/wm/maximize_mode/maximize_mode_window_manager.cc void MaximizeModeWindowManager::ForgetWindow(aura::Window* window) { window 146 ash/wm/maximize_mode/maximize_mode_window_manager.cc WindowToState::iterator it = window_state_map_.find(window); window 152 ash/wm/maximize_mode/maximize_mode_window_manager.cc window->RemoveObserver(this); window 157 ash/wm/maximize_mode/maximize_mode_window_manager.cc DCHECK(window_state_map_.find(window) == window_state_map_.end()); window 160 ash/wm/maximize_mode/maximize_mode_window_manager.cc bool MaximizeModeWindowManager::ShouldHandleWindow(aura::Window* window) { window 161 ash/wm/maximize_mode/maximize_mode_window_manager.cc DCHECK(window); window 162 ash/wm/maximize_mode/maximize_mode_window_manager.cc return window->type() == ui::wm::WINDOW_TYPE_NORMAL; window 197 ash/wm/maximize_mode/maximize_mode_window_manager.cc bool MaximizeModeWindowManager::IsContainerWindow(aura::Window* window) { window 198 ash/wm/maximize_mode/maximize_mode_window_manager.cc return observed_container_windows_.find(window) != window 40 ash/wm/maximize_mode/maximize_mode_window_manager.h void WindowStateDestroyed(aura::Window* window); window 43 ash/wm/maximize_mode/maximize_mode_window_manager.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 44 ash/wm/maximize_mode/maximize_mode_window_manager.h virtual void OnWindowAdded(aura::Window* window) OVERRIDE; window 45 ash/wm/maximize_mode/maximize_mode_window_manager.h virtual void OnWindowBoundsChanged(aura::Window* window, window 79 ash/wm/maximize_mode/maximize_mode_window_manager.h void MaximizeAndTrackWindow(aura::Window* window); window 82 ash/wm/maximize_mode/maximize_mode_window_manager.h void ForgetWindow(aura::Window* window); window 85 ash/wm/maximize_mode/maximize_mode_window_manager.h bool ShouldHandleWindow(aura::Window* window); window 98 ash/wm/maximize_mode/maximize_mode_window_manager.h bool IsContainerWindow(aura::Window* window); window 85 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc aura::Window* window = aura::test::CreateTestWindowWithDelegateAndType( window 87 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window->SetProperty(aura::client::kCanMaximizeKey, can_maximize); window 91 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc container->AddChild(window); window 92 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc return window; window 287 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc scoped_ptr<aura::Window> window( window 289 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc wm::GetWindowState(window.get())->Maximize(); window 295 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->IsMaximized()); window 299 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->IsMaximized()); window 300 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc wm::GetWindowState(window.get())->Restore(); window 301 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_EQ(rect.ToString(), window->bounds().ToString()); window 390 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc scoped_ptr<aura::Window> window( window 397 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect moved_bounds(window->bounds()); window 403 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect new_moved_bounds(window->bounds()); window 412 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_EQ(rect.ToString(), window->bounds().ToString()); window 538 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc scoped_ptr<aura::Window> window( window 540 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_EQ(rect.ToString(), window->bounds().ToString()); window 550 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Point first_dragged_origin = window->bounds().origin(); window 557 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect center_bounds(window->bounds()); window 565 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_EQ(center_bounds.x(), window->bounds().x()); window 566 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_EQ(center_bounds.y(), window->bounds().y()); window 577 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_EQ(first_dragged_origin.x() + 10, window->bounds().x()); window 578 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_EQ(first_dragged_origin.y() + 5, window->bounds().y()); window 34 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->window()).size(); window 36 ash/wm/maximize_mode/maximize_mode_window_state.cc aura::WindowDelegate* delegate = window_state->window()->delegate(); window 60 ash/wm/maximize_mode/maximize_mode_window_state.cc bounds_in_parent = state_object->window()->bounds(); window 63 ash/wm/maximize_mode/maximize_mode_window_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(state_object->window()); window 86 ash/wm/maximize_mode/maximize_mode_window_state.cc if (bounds_in_parent == window_state->window()->bounds()) window 96 ash/wm/maximize_mode/maximize_mode_window_state.cc aura::Window* window, MaximizeModeWindowManager* creator) window 97 ash/wm/maximize_mode/maximize_mode_window_state.cc : window_(window), window 99 ash/wm/maximize_mode/maximize_mode_window_state.cc current_state_type_(wm::GetWindowState(window)->GetStateType()) { window 101 ash/wm/maximize_mode/maximize_mode_window_state.cc wm::GetWindowState(window)->SetStateObject( window 146 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->window()).size()); window 147 ash/wm/maximize_mode/maximize_mode_window_state.cc if (bounds_in_parent != window_state->window()->bounds()) window 207 ash/wm/maximize_mode/maximize_mode_window_state.cc bounds_in_parent != window_state->window()->bounds()) { window 216 ash/wm/maximize_mode/maximize_mode_window_state.cc if ((window_state->window()->TargetVisibility() || window 218 ash/wm/maximize_mode/maximize_mode_window_state.cc !window_state->window()->layer()->visible()) { window 221 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->window()->Show(); window 27 ash/wm/maximize_mode/maximize_mode_window_state.h MaximizeModeWindowState(aura::Window* window, window 56 ash/wm/maximize_mode/workspace_backdrop_delegate.cc aura::Window* window, window 77 ash/wm/maximize_mode/workspace_backdrop_delegate.cc void WorkspaceBackdropDelegate::OnWindowStackingChanged(aura::Window* window) { window 92 ash/wm/maximize_mode/workspace_backdrop_delegate.cc aura::Window* window = GetCurrentTopWindow(); window 93 ash/wm/maximize_mode/workspace_backdrop_delegate.cc if (!window) { window 98 ash/wm/maximize_mode/workspace_backdrop_delegate.cc if (window == background_->GetNativeWindow() && window 109 ash/wm/maximize_mode/workspace_backdrop_delegate.cc container_->StackChildAbove(background_->GetNativeView(), window); window 110 ash/wm/maximize_mode/workspace_backdrop_delegate.cc container_->StackChildAbove(window, background_->GetNativeView()); window 118 ash/wm/maximize_mode/workspace_backdrop_delegate.cc aura::Window* window = *window_iter; window 119 ash/wm/maximize_mode/workspace_backdrop_delegate.cc if (window->TargetVisibility() && window 120 ash/wm/maximize_mode/workspace_backdrop_delegate.cc window->type() == ui::wm::WINDOW_TYPE_NORMAL && window 121 ash/wm/maximize_mode/workspace_backdrop_delegate.cc ash::wm::CanActivateWindow(window)) window 122 ash/wm/maximize_mode/workspace_backdrop_delegate.cc return window; window 35 ash/wm/maximize_mode/workspace_backdrop_delegate.h virtual void OnWindowBoundsChanged(aura::Window* window, window 44 ash/wm/maximize_mode/workspace_backdrop_delegate.h virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; window 105 ash/wm/mru_window_tracker.cc MruWindowTracker::WindowList::iterator window = window 107 ash/wm/mru_window_tracker.cc if (window != windows.end()) { window 108 ash/wm/mru_window_tracker.cc windows.erase(window); window 191 ash/wm/mru_window_tracker.cc void MruWindowTracker::OnWindowDestroyed(aura::Window* window) { window 195 ash/wm/mru_window_tracker.cc mru_windows_.remove(window); window 196 ash/wm/mru_window_tracker.cc window->RemoveObserver(this); window 68 ash/wm/mru_window_tracker.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 28 ash/wm/overview/scoped_transform_overview_window.cc WindowSelectorAnimationSettings(aura::Window* window) : window 29 ash/wm/overview/scoped_transform_overview_window.cc ui::ScopedLayerAnimationSettings(window->layer()->GetAnimator()) { window 41 ash/wm/overview/scoped_transform_overview_window.cc void SetTransformOnWindow(aura::Window* window, window 45 ash/wm/overview/scoped_transform_overview_window.cc WindowSelectorAnimationSettings animation_settings(window); window 46 ash/wm/overview/scoped_transform_overview_window.cc window->SetTransform(transform); window 48 ash/wm/overview/scoped_transform_overview_window.cc window->SetTransform(transform); window 62 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* window, window 65 ash/wm/overview/scoped_transform_overview_window.cc SetTransformOnWindow(window, transform, animate); window 68 ash/wm/overview/scoped_transform_overview_window.cc ::wm::GetTransientChildren(window); window 72 ash/wm/overview/scoped_transform_overview_window.cc gfx::Rect window_bounds = window->bounds(); window 81 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* GetModalTransientParent(aura::Window* window) { window 82 ash/wm/overview/scoped_transform_overview_window.cc if (window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_WINDOW) window 83 ash/wm/overview/scoped_transform_overview_window.cc return ::wm::GetTransientParent(window); window 92 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* window) window 93 ash/wm/overview/scoped_transform_overview_window.cc : window_(window), window 94 ash/wm/overview/scoped_transform_overview_window.cc minimized_(window->GetProperty(aura::client::kShowStateKey) == window 96 ash/wm/overview/scoped_transform_overview_window.cc ignored_by_shelf_(ash::wm::GetWindowState(window)->ignored_by_shelf()), window 98 ash/wm/overview/scoped_transform_overview_window.cc original_transform_(window->layer()->GetTargetTransform()) { window 129 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* window = window_; window 130 ash/wm/overview/scoped_transform_overview_window.cc while (window) { window 131 ash/wm/overview/scoped_transform_overview_window.cc if (window->Contains(target)) window 133 ash/wm/overview/scoped_transform_overview_window.cc window = GetModalTransientParent(window); window 140 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* window = window_; window 141 ash/wm/overview/scoped_transform_overview_window.cc while (window) { window 142 ash/wm/overview/scoped_transform_overview_window.cc bounds.Union(ScreenUtil::ConvertRectToScreen(window->parent(), window 143 ash/wm/overview/scoped_transform_overview_window.cc window->GetTargetBounds())); window 144 ash/wm/overview/scoped_transform_overview_window.cc window = GetModalTransientParent(window); window 201 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* window = window_; window 205 ash/wm/overview/scoped_transform_overview_window.cc ++iter, window = GetModalTransientParent(window)) { window 206 ash/wm/overview/scoped_transform_overview_window.cc if (!window) { window 209 ash/wm/overview/scoped_transform_overview_window.cc window->GetBoundsInScreen()) { window 230 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* window) { window 231 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* modal_parent = GetModalTransientParent(window); window 234 ash/wm/overview/scoped_transform_overview_window.cc window_copies_.push_back(new ScopedWindowCopy(target_root, window)); window 241 ash/wm/overview/scoped_transform_overview_window.cc aura::Window* window = window_; window 242 ash/wm/overview/scoped_transform_overview_window.cc while (::wm::GetTransientParent(window)) window 243 ash/wm/overview/scoped_transform_overview_window.cc window = ::wm::GetTransientParent(window); window 255 ash/wm/overview/scoped_transform_overview_window.cc window, window 257 ash/wm/overview/scoped_transform_overview_window.cc window->parent(), window->GetTargetBounds()).origin() - origin, window 48 ash/wm/overview/scoped_transform_overview_window.h explicit ScopedTransformOverviewWindow(aura::Window* window); window 80 ash/wm/overview/scoped_transform_overview_window.h aura::Window* window() const { return window_; } window 86 ash/wm/overview/scoped_transform_overview_window.h aura::Window* window); window 69 ash/wm/overview/scoped_window_copy.cc aura::Window* window = widget->GetNativeWindow(); window 71 ash/wm/overview/scoped_window_copy.cc window->layer()->Add(recreated_layer); window 72 ash/wm/overview/scoped_window_copy.cc window->layer()->StackAtTop(recreated_layer); window 73 ash/wm/overview/scoped_window_copy.cc window->layer()->SetOpacity(1); window 74 ash/wm/overview/scoped_window_copy.cc window->SetTransform(transform); window 75 ash/wm/overview/scoped_window_copy.cc window->Show(); window 64 ash/wm/overview/window_overview.cc bool operator()(WindowSelectorItem* window) const { window 65 ash/wm/overview/window_overview.cc return window->TargetedWindow(target) != NULL; window 311 ash/wm/overview/window_overview.cc aura::Window* WindowOverview::GetTargetedWindow(aura::Window* window) { window 314 ash/wm/overview/window_overview.cc aura::Window* selected = (*iter)->TargetedWindow(window); window 74 ash/wm/overview/window_overview.h aura::Window* GetTargetedWindow(aura::Window* window); window 38 ash/wm/overview/window_selector.cc explicit WindowSelectorItemComparator(const aura::Window* window) window 39 ash/wm/overview/window_selector.cc : window_(window) { window 42 ash/wm/overview/window_selector.cc bool operator()(WindowSelectorItem* window) const { window 43 ash/wm/overview/window_selector.cc return window->HasSelectableWindow(window_); window 56 ash/wm/overview/window_selector.cc bool operator()(WindowSelectorItem* window) const { window 57 ash/wm/overview/window_selector.cc return window->TargetedWindow(target) != NULL; window 125 ash/wm/overview/window_selector.cc aura::Window* GetWindowBelow(aura::Window* window) { window 126 ash/wm/overview/window_selector.cc aura::Window* parent = window->parent(); window 132 ash/wm/overview/window_selector.cc if (*iter == window) window 150 ash/wm/overview/window_selector.cc void Show(aura::Window* window); window 158 ash/wm/overview/window_selector.cc virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE; window 179 ash/wm/overview/window_selector.cc void ScopedShowWindow::Show(aura::Window* window) { window 181 ash/wm/overview/window_selector.cc window_ = window; window 182 ash/wm/overview/window_selector.cc stack_window_above_ = GetWindowBelow(window); window 183 ash/wm/overview/window_selector.cc minimized_ = wm::GetWindowState(window)->IsMinimized(); window 212 ash/wm/overview/window_selector.cc void ScopedShowWindow::OnWillRemoveWindow(aura::Window* window) { window 213 ash/wm/overview/window_selector.cc if (window == window_) { window 215 ash/wm/overview/window_selector.cc } else if (window == stack_window_above_) { window 338 ash/wm/overview/window_selector.cc void WindowSelector::SelectWindow(aura::Window* window) { window 340 ash/wm/overview/window_selector.cc if (showing_window_ && showing_window_->window() == window) window 344 ash/wm/overview/window_selector.cc WindowSelectorItemTargetComparator(window)); window 348 ash/wm/overview/window_selector.cc (*iter)->RestoreWindowOnExit(window); window 349 ash/wm/overview/window_selector.cc delegate_->OnWindowSelected(window); window 372 ash/wm/overview/window_selector.cc void WindowSelector::OnWindowDestroying(aura::Window* window) { window 377 ash/wm/overview/window_selector.cc WindowSelectorItemComparator(window)); window 378 ash/wm/overview/window_selector.cc window->RemoveObserver(this); window 379 ash/wm/overview/window_selector.cc observed_windows_.erase(window); window 380 ash/wm/overview/window_selector.cc if (window == restore_focus_window_) window 385 ash/wm/overview/window_selector.cc (*iter)->RemoveWindow(window); window 408 ash/wm/overview/window_selector.cc void WindowSelector::OnWindowBoundsChanged(aura::Window* window, window 416 ash/wm/overview/window_selector.cc WindowSelectorItemTargetComparator(window)); window 417 ash/wm/overview/window_selector.cc DCHECK(window == restore_focus_window_ || iter != windows_.end()); window 422 ash/wm/overview/window_selector.cc window->layer()->GetAnimator()->StopAnimatingProperty( window 64 ash/wm/overview/window_selector.h void SelectWindow(aura::Window* window); window 73 ash/wm/overview/window_selector.h virtual void OnWindowBoundsChanged(aura::Window* window, window 76 ash/wm/overview/window_selector.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 75 ash/wm/overview/window_selector_controller.cc void WindowSelectorController::OnWindowSelected(aura::Window* window) { window 76 ash/wm/overview/window_selector_controller.cc wm::ActivateWindow(window); window 53 ash/wm/overview/window_selector_controller.h virtual void OnWindowSelected(aura::Window* window) OVERRIDE; window 21 ash/wm/overview/window_selector_delegate.h virtual void OnWindowSelected(aura::Window* window) = 0; window 30 ash/wm/overview/window_selector_item.h virtual bool HasSelectableWindow(const aura::Window* window) = 0; window 38 ash/wm/overview/window_selector_item.h virtual void RestoreWindowOnExit(aura::Window* window) = 0; window 45 ash/wm/overview/window_selector_item.h virtual void RemoveWindow(const aura::Window* window) = 0; window 28 ash/wm/overview/window_selector_panels.cc ScopedTransformPanelWindow(aura::Window* window); window 49 ash/wm/overview/window_selector_panels.cc ScopedTransformPanelWindow::ScopedTransformPanelWindow(aura::Window* window) window 50 ash/wm/overview/window_selector_panels.cc : ScopedTransformOverviewWindow(window) { window 55 ash/wm/overview/window_selector_panels.cc if (window()) window 65 ash/wm/overview/window_selector_panels.cc DCHECK(window()->parent()->id() == kShellWindowId_PanelContainer); window 67 ash/wm/overview/window_selector_panels.cc static_cast<PanelLayoutManager*>(window()->parent()->layout_manager()); window 68 ash/wm/overview/window_selector_panels.cc return panel_layout_manager->GetCalloutWidgetForPanel(window()); window 92 ash/wm/overview/window_selector_panels.cc void WindowSelectorPanels::AddWindow(aura::Window* window) { window 93 ash/wm/overview/window_selector_panels.cc transform_windows_.push_back(new ScopedTransformPanelWindow(window)); window 97 ash/wm/overview/window_selector_panels.cc return transform_windows_.front()->window()->GetRootWindow(); window 100 ash/wm/overview/window_selector_panels.cc bool WindowSelectorPanels::HasSelectableWindow(const aura::Window* window) { window 103 ash/wm/overview/window_selector_panels.cc if ((*iter)->window() == window) window 113 ash/wm/overview/window_selector_panels.cc return (*iter)->window(); window 118 ash/wm/overview/window_selector_panels.cc void WindowSelectorPanels::RestoreWindowOnExit(aura::Window* window) { window 121 ash/wm/overview/window_selector_panels.cc if ((*iter)->Contains(window)) { window 129 ash/wm/overview/window_selector_panels.cc return transform_windows_.front()->window(); window 132 ash/wm/overview/window_selector_panels.cc void WindowSelectorPanels::RemoveWindow(const aura::Window* window) { window 135 ash/wm/overview/window_selector_panels.cc if ((*iter)->window() == window) { window 27 ash/wm/overview/window_selector_panels.h void AddWindow(aura::Window* window); window 31 ash/wm/overview/window_selector_panels.h virtual bool HasSelectableWindow(const aura::Window* window) OVERRIDE; window 33 ash/wm/overview/window_selector_panels.h virtual void RestoreWindowOnExit(aura::Window* window) OVERRIDE; window 35 ash/wm/overview/window_selector_panels.h virtual void RemoveWindow(const aura::Window* window) OVERRIDE; window 68 ash/wm/overview/window_selector_unittest.cc aura::Window* window = NULL; window 74 ash/wm/overview/window_selector_unittest.cc DCHECK(!window); window 75 ash/wm/overview/window_selector_unittest.cc window = *iter; window 78 ash/wm/overview/window_selector_unittest.cc return window; window 84 ash/wm/overview/window_selector_unittest.cc aura::Window* GetCopyWindow(aura::Window* window) { window 86 ash/wm/overview/window_selector_unittest.cc std::string copy_name = window->name() + " (Copy)"; window 88 ash/wm/overview/window_selector_unittest.cc Shell::GetContainersFromAllRootWindows(window->parent()->id(), NULL)); window 129 ash/wm/overview/window_selector_unittest.cc aura::Window* window = CreateWindow(bounds); window 130 ash/wm/overview/window_selector_unittest.cc aura::client::SetActivationDelegate(window, window 132 ash/wm/overview/window_selector_unittest.cc EXPECT_FALSE(ash::wm::CanActivateWindow(window)); window 133 ash/wm/overview/window_selector_unittest.cc return window; window 137 ash/wm/overview/window_selector_unittest.cc aura::Window* window = CreateTestWindowInShellWithDelegateAndType( window 139 ash/wm/overview/window_selector_unittest.cc test::TestShelfDelegate::instance()->AddShelfItem(window); window 141 ash/wm/overview/window_selector_unittest.cc return window; window 182 ash/wm/overview/window_selector_unittest.cc gfx::RectF GetTransformedBounds(aura::Window* window) { window 184 ash/wm/overview/window_selector_unittest.cc window->parent(), window->layer()->bounds())); window 186 ash/wm/overview/window_selector_unittest.cc window->layer()->transform())); window 191 ash/wm/overview/window_selector_unittest.cc gfx::RectF GetTransformedTargetBounds(aura::Window* window) { window 193 ash/wm/overview/window_selector_unittest.cc window->parent(), window->layer()->GetTargetBounds())); window 195 ash/wm/overview/window_selector_unittest.cc window->layer()->GetTargetTransform())); window 200 ash/wm/overview/window_selector_unittest.cc gfx::RectF GetTransformedBoundsInRootWindow(aura::Window* window) { window 201 ash/wm/overview/window_selector_unittest.cc gfx::RectF bounds = gfx::Rect(window->bounds().size()); window 202 ash/wm/overview/window_selector_unittest.cc aura::Window* root = window->GetRootWindow(); window 203 ash/wm/overview/window_selector_unittest.cc CHECK(window->layer()); window 206 ash/wm/overview/window_selector_unittest.cc if (!window->layer()->GetTargetTransformRelativeTo(root->layer(), window 214 ash/wm/overview/window_selector_unittest.cc void ClickWindow(aura::Window* window) { window 215 ash/wm/overview/window_selector_unittest.cc aura::test::EventGenerator event_generator(window->GetRootWindow(), window); window 216 ash/wm/overview/window_selector_unittest.cc gfx::RectF target = GetTransformedBounds(window); window 396 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window(CreateWindow(gfx::Rect(0, 0, 400, 400))); window 399 ash/wm/overview/window_selector_unittest.cc ToEnclosingRect(GetTransformedTargetBounds(window.get())); window 400 ash/wm/overview/window_selector_unittest.cc window->SetBounds(gfx::Rect(200, 0, 200, 200)); window 402 ash/wm/overview/window_selector_unittest.cc ToEnclosingRect(GetTransformedTargetBounds(window.get())); window 649 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window(CreateWindow(bounds)); window 650 ash/wm/overview/window_selector_unittest.cc wm::ActivateWindow(window.get()); window 651 ash/wm/overview/window_selector_unittest.cc EXPECT_EQ(window.get(), GetFocusedWindow()); window 659 ash/wm/overview/window_selector_unittest.cc EXPECT_EQ(window.get(), GetFocusedWindow()); window 678 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window(CreateWindow(bounds)); window 680 ash/wm/overview/window_selector_unittest.cc GetTransformedBounds(window.get())); window 692 ash/wm/overview/window_selector_unittest.cc GetTransformedTargetBounds(window.get()))); window 696 ash/wm/overview/window_selector_unittest.cc GetTransformedTargetBounds(window.get()))); window 1037 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window(CreateWindow(bounds)); window 1048 ash/wm/overview/window_selector_unittest.cc drag_drop_controller->StartDragAndDrop(data, window->GetRootWindow(), window 1049 ash/wm/overview/window_selector_unittest.cc window.get(), gfx::Point(5, 5), ui::DragDropTypes::DRAG_MOVE, window 55 ash/wm/overview/window_selector_window.cc WindowSelectorWindow::WindowSelectorWindow(aura::Window* window) window 56 ash/wm/overview/window_selector_window.cc : transform_window_(window) { window 63 ash/wm/overview/window_selector_window.cc return transform_window_.window()->GetRootWindow(); window 66 ash/wm/overview/window_selector_window.cc bool WindowSelectorWindow::HasSelectableWindow(const aura::Window* window) { window 67 ash/wm/overview/window_selector_window.cc return transform_window_.window() == window; window 72 ash/wm/overview/window_selector_window.cc return transform_window_.window(); window 76 ash/wm/overview/window_selector_window.cc void WindowSelectorWindow::RestoreWindowOnExit(aura::Window* window) { window 81 ash/wm/overview/window_selector_window.cc return transform_window_.window(); window 84 ash/wm/overview/window_selector_window.cc void WindowSelectorWindow::RemoveWindow(const aura::Window* window) { window 85 ash/wm/overview/window_selector_window.cc DCHECK_EQ(transform_window_.window(), window); window 94 ash/wm/overview/window_selector_window.cc return transform_window_.window() == NULL; window 116 ash/wm/overview/window_selector_window.cc transform_window_.window())->Close(); window 30 ash/wm/overview/window_selector_window.h WindowSelectorWindow(aura::Window* window); window 35 ash/wm/overview/window_selector_window.h virtual bool HasSelectableWindow(const aura::Window* window) OVERRIDE; window 37 ash/wm/overview/window_selector_window.h virtual void RestoreWindowOnExit(aura::Window* window) OVERRIDE; window 39 ash/wm/overview/window_selector_window.h virtual void RemoveWindow(const aura::Window* window) OVERRIDE; window 117 ash/wm/panels/panel_layout_manager.cc window(NULL), window 124 ash/wm/panels/panel_layout_manager.cc aura::Window* window; window 364 ash/wm/panels/panel_layout_manager.cc panel_info.window = child; window 427 ash/wm/panels/panel_layout_manager.cc const gfx::Rect& bounds = (*new_position).window->bounds(); window 469 ash/wm/panels/panel_layout_manager.cc MinimizePanel(window_state->window()); window 470 ash/wm/panels/panel_layout_manager.cc restore_windows_on_shelf_visible_->Remove(window_state->window()); window 472 ash/wm/panels/panel_layout_manager.cc restore_windows_on_shelf_visible_->Add(window_state->window()); window 478 ash/wm/panels/panel_layout_manager.cc MinimizePanel(window_state->window()); window 480 ash/wm/panels/panel_layout_manager.cc RestorePanel(window_state->window()); window 530 ash/wm/panels/panel_layout_manager.cc if (iter->window->IsVisible()) { window 531 ash/wm/panels/panel_layout_manager.cc minimized_windows->Add(iter->window); window 532 ash/wm/panels/panel_layout_manager.cc wm::GetWindowState(iter->window)->Minimize(); window 593 ash/wm/panels/panel_layout_manager.cc aura::Window* panel = iter->window; window 645 ash/wm/panels/panel_layout_manager.cc position_info.window = panel; window 671 ash/wm/panels/panel_layout_manager.cc if (visible_panels[i].window == dragged_panel_) window 674 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds = visible_panels[i].window->GetTargetBounds(); window 689 ash/wm/panels/panel_layout_manager.cc bool on_shelf = visible_panels[i].window->GetTargetBounds() == bounds; window 699 ash/wm/panels/panel_layout_manager.cc ui::Layer* layer = visible_panels[i].window->layer(); window 704 ash/wm/panels/panel_layout_manager.cc SetChildBoundsDirect(visible_panels[i].window, initial_bounds); window 716 ash/wm/panels/panel_layout_manager.cc SetChildBoundsDirect(visible_panels[i].window, bounds); window 722 ash/wm/panels/panel_layout_manager.cc SetChildBoundsDirect(visible_panels[i].window, bounds); window 753 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds = it->window->bounds(); window 757 ash/wm/panels/panel_layout_manager.cc it->window)); window 791 ash/wm/panels/panel_layout_manager.cc aura::Window* panel = iter->window; window 121 ash/wm/panels/panel_layout_manager.h PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {} window 124 ash/wm/panels/panel_layout_manager.h return window == other_window; window 128 ash/wm/panels/panel_layout_manager.h aura::Window* window; window 63 ash/wm/panels/panel_layout_manager_unittest.cc aura::Window* window = CreateTestWindowInShellWithDelegateAndType( window 67 ash/wm/panels/panel_layout_manager_unittest.cc shelf_delegate->AddShelfItem(window); window 69 ash/wm/panels/panel_layout_manager_unittest.cc GetPanelContainer(window)->layout_manager()); window 72 ash/wm/panels/panel_layout_manager_unittest.cc return window; window 213 ash/wm/panels/panel_layout_manager_unittest.cc void ClickShelfItemForWindow(ShelfView* shelf_view, aura::Window* window) { window 218 ash/wm/panels/panel_layout_manager_unittest.cc int index = model->ItemIndexByID(GetShelfIDForWindow(window)); window 238 ash/wm/panels/panel_layout_manager_unittest.cc void SetShelfAutoHideBehavior(aura::Window* window, window 240 ash/wm/panels/panel_layout_manager_unittest.cc ShelfLayoutManager* shelf = RootWindowController::ForWindow(window) window 244 ash/wm/panels/panel_layout_manager_unittest.cc ShelfView* shelf_view = GetShelfView(Shelf::ForWindow(window)); window 249 ash/wm/panels/panel_layout_manager_unittest.cc void SetShelfVisibilityState(aura::Window* window, window 251 ash/wm/panels/panel_layout_manager_unittest.cc ShelfLayoutManager* shelf = RootWindowController::ForWindow(window) window 303 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreatePanelWindow(bounds)); window 304 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_EQ(GetPanelContainer(window.get()), window->parent()); window 305 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_NO_FATAL_FAILURE(IsPanelAboveLauncherIcon(window.get())); window 306 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_NO_FATAL_FAILURE(IsCalloutAboveLauncherIcon(window.get())); window 316 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreatePanelWindow(bounds)); window 317 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_EQ(GetPanelContainer(window.get()), window->parent()); window 318 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_NO_FATAL_FAILURE(IsPanelAboveLauncherIcon(window.get())); window 568 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreatePanelWindow(bounds)); window 570 ash/wm/panels/panel_layout_manager_unittest.cc wm::ActivateWindow(window.get()); window 572 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_TRUE(IsPanelCalloutVisible(window.get())); window 574 ash/wm/panels/panel_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MINIMIZED); window 576 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_FALSE(IsPanelCalloutVisible(window.get())); window 579 ash/wm/panels/panel_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 581 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_TRUE(IsPanelCalloutVisible(window.get())); window 583 ash/wm/panels/panel_layout_manager_unittest.cc wm::ActivateWindow(window.get()); window 585 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_TRUE(IsPanelCalloutVisible(window.get())); window 64 ash/wm/panels/panel_window_resizer_unittest.cc aura::Window* window = CreateTestWindowInShellWithDelegateAndType( window 66 ash/wm/panels/panel_window_resizer_unittest.cc shelf_delegate_->AddShelfItem(window); window 68 ash/wm/panels/panel_window_resizer_unittest.cc Shell::GetContainer(window->GetRootWindow(), window 71 ash/wm/panels/panel_window_resizer_unittest.cc return window; window 74 ash/wm/panels/panel_window_resizer_unittest.cc void DragStart(aura::Window* window) { window 76 ash/wm/panels/panel_window_resizer_unittest.cc window, window 77 ash/wm/panels/panel_window_resizer_unittest.cc window->bounds().origin(), window 99 ash/wm/panels/panel_window_resizer_unittest.cc void DetachReattachTest(aura::Window* window, int dx, int dy) { window 100 ash/wm/panels/panel_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 102 ash/wm/panels/panel_window_resizer_unittest.cc aura::Window* root_window = window->GetRootWindow(); window 103 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 104 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window); window 105 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 110 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x()); window 111 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y(), window->GetBoundsInScreen().y()); window 115 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x() + dx * 100, window->GetBoundsInScreen().x()); window 116 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() + dy * 100, window->GetBoundsInScreen().y()); window 122 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 123 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_window, window->GetRootWindow()); window 125 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window); window 133 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x()); window 134 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y(), window->GetBoundsInScreen().y()); window 135 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 241 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 243 ash/wm/panels/panel_window_resizer_unittest.cc DetachReattachTest(window.get(), 0, -1); window 252 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 254 ash/wm/panels/panel_window_resizer_unittest.cc DetachReattachTest(window.get(), 1, 0); window 264 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 266 ash/wm/panels/panel_window_resizer_unittest.cc DetachReattachTest(window.get(), -1, 0); window 275 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 277 ash/wm/panels/panel_window_resizer_unittest.cc DetachReattachTest(window.get(), 0, 1); window 286 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 288 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 289 ash/wm/panels/panel_window_resizer_unittest.cc DetachReattachTest(window.get(), 0, -1); window 298 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 300 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 301 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 302 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 305 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 306 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x()); window 307 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() - 100, window->GetBoundsInScreen().y()); window 308 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->panel_attached()); window 309 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 311 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 314 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 315 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x() + 500, window->GetBoundsInScreen().x()); window 316 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() - 100, window->GetBoundsInScreen().y()); window 317 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->panel_attached()); window 318 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 327 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 329 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 330 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 331 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 334 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 335 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x() + 500, window->GetBoundsInScreen().x()); window 336 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() - 100, window->GetBoundsInScreen().y()); window 337 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->panel_attached()); window 338 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 347 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 349 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 350 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 353 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 356 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 357 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->panel_attached()); window 360 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 362 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x() + 500, window->GetBoundsInScreen().x()); window 365 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() + 200, window->GetBoundsInScreen().y()); window 369 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 370 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->panel_attached()); window 371 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 380 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 382 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 383 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 386 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 388 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x() + 500, window->GetBoundsInScreen().x()); window 391 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() + 200, window->GetBoundsInScreen().y()); window 395 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 396 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->panel_attached()); window 397 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 406 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 415 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); window 416 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 419 ash/wm/panels/panel_window_resizer_unittest.cc wm::GetWindowState(window.get())->Activate(); window 420 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 422 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.x() + 500, window->GetBoundsInScreen().x()); window 423 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_GT(window->GetBoundsInScreen().y(), window 428 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 429 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->panel_attached()); window 430 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 431 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(window->IsVisible()); window 432 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->IsActive()); window 433 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(initial_bounds.y() + 200, window->GetBoundsInScreen().y()); window 437 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window( window 439 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->panel_attached()); window 440 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 441 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 444 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(wm::GetWindowState(window.get())->panel_attached()); window 445 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 448 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 451 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->panel_attached()); window 452 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 455 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 460 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->panel_attached()); window 461 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 465 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0))); window 466 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 469 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 472 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 474 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 478 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 503 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0))); window 506 ash/wm/panels/panel_window_resizer_unittest.cc ::wm::AddTransientChild(window.get(), child.get()); window 507 ash/wm/panels/panel_window_resizer_unittest.cc if (window->parent() != child->parent()) window 508 ash/wm/panels/panel_window_resizer_unittest.cc window->parent()->AddChild(child.get()); window 509 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(window.get(), ::wm::GetTransientParent(child.get())); window 512 ash/wm/panels/panel_window_resizer_unittest.cc const gfx::Rect attached_bounds(window->GetBoundsInScreen()); window 513 ash/wm/panels/panel_window_resizer_unittest.cc const int dy = window->GetBoundsInScreen().bottom() - window 523 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(attached_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 535 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(attached_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 537 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 540 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 544 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 548 ash/wm/panels/panel_window_resizer_unittest.cc DragStart(window.get()); window 550 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); window 555 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(kShellWindowId_DefaultContainer, window->parent()->id()); window 15 ash/wm/resize_handle_window_targeter.cc aura::Window* window, window 17 ash/wm/resize_handle_window_targeter.cc : window_(window), window 45 ash/wm/resize_handle_window_targeter.cc void ResizeHandleWindowTargeter::OnWindowDestroying(aura::Window* window) { window 46 ash/wm/resize_handle_window_targeter.cc CHECK_EQ(window_, window); window 54 ash/wm/resize_handle_window_targeter.cc aura::Window* window = static_cast<aura::Window*>(root); window 55 ash/wm/resize_handle_window_targeter.cc if (window == window_) { window 26 ash/wm/resize_handle_window_targeter.h ResizeHandleWindowTargeter(aura::Window* window, window 36 ash/wm/resize_handle_window_targeter.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 48 ash/wm/resize_shadow.cc void ResizeShadow::Init(aura::Window* window) { window 73 ash/wm/resize_shadow.cc window->layer()->Add(image_grid_->layer()); window 35 ash/wm/resize_shadow.h void Init(aura::Window* window); window 120 ash/wm/resize_shadow_and_cursor_unittest.cc ASSERT_TRUE(ash::wm::GetWindowState(window())->IsNormalStateType()); window 163 ash/wm/resize_shadow_and_cursor_unittest.cc ASSERT_TRUE(ash::wm::GetWindowState(window())->IsNormalStateType()); window 164 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Size initial_size(window()->bounds().size()); window 179 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Size new_size(window()->bounds().size()); window 185 ash/wm/resize_shadow_and_cursor_unittest.cc ASSERT_TRUE(ash::wm::GetWindowState(window())->IsNormalStateType()); window 203 ash/wm/resize_shadow_and_cursor_unittest.cc ASSERT_TRUE(ash::wm::GetWindowState(window())->IsNormalStateType()); window 212 ash/wm/resize_shadow_and_cursor_unittest.cc ash::wm::GetWindowState(window())->Maximize(); window 213 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Rect bounds(window()->GetBoundsInRootWindow()); window 220 ash/wm/resize_shadow_and_cursor_unittest.cc ash::wm::GetWindowState(window())->Restore(); window 24 ash/wm/resize_shadow_controller.cc void ResizeShadowController::ShowShadow(aura::Window* window, int hit_test) { window 25 ash/wm/resize_shadow_controller.cc ResizeShadow* shadow = GetShadowForWindow(window); window 27 ash/wm/resize_shadow_controller.cc shadow = CreateShadow(window); window 31 ash/wm/resize_shadow_controller.cc void ResizeShadowController::HideShadow(aura::Window* window) { window 32 ash/wm/resize_shadow_controller.cc ResizeShadow* shadow = GetShadowForWindow(window); window 38 ash/wm/resize_shadow_controller.cc aura::Window* window) { window 39 ash/wm/resize_shadow_controller.cc return GetShadowForWindow(window); window 43 ash/wm/resize_shadow_controller.cc aura::Window* window, window 46 ash/wm/resize_shadow_controller.cc ResizeShadow* shadow = GetShadowForWindow(window); window 51 ash/wm/resize_shadow_controller.cc void ResizeShadowController::OnWindowDestroyed(aura::Window* window) { window 52 ash/wm/resize_shadow_controller.cc window_shadows_.erase(window); window 55 ash/wm/resize_shadow_controller.cc ResizeShadow* ResizeShadowController::CreateShadow(aura::Window* window) { window 57 ash/wm/resize_shadow_controller.cc window_shadows_.insert(std::make_pair(window, shadow)); window 59 ash/wm/resize_shadow_controller.cc shadow->Init(window); window 61 ash/wm/resize_shadow_controller.cc shadow->Layout(window->bounds()); window 63 ash/wm/resize_shadow_controller.cc window->AddObserver(this); window 67 ash/wm/resize_shadow_controller.cc ResizeShadow* ResizeShadowController::GetShadowForWindow(aura::Window* window) { window 68 ash/wm/resize_shadow_controller.cc WindowShadowMap::const_iterator it = window_shadows_.find(window); window 31 ash/wm/resize_shadow_controller.h void ShowShadow(aura::Window* window, int hit_test); window 34 ash/wm/resize_shadow_controller.h void HideShadow(aura::Window* window); window 36 ash/wm/resize_shadow_controller.h ResizeShadow* GetShadowForWindowForTest(aura::Window* window); window 40 ash/wm/resize_shadow_controller.h aura::Window* window, window 43 ash/wm/resize_shadow_controller.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 50 ash/wm/resize_shadow_controller.h ResizeShadow* CreateShadow(aura::Window* window); window 53 ash/wm/resize_shadow_controller.h ResizeShadow* GetShadowForWindow(aura::Window* window); window 54 ash/wm/session_state_animator.cc void StartSlowCloseAnimationForWindow(aura::Window* window, window 57 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 71 ash/wm/session_state_animator.cc aura::Window* window, window 74 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 88 ash/wm/session_state_animator.cc void StartFastCloseAnimationForWindow(aura::Window* window, window 91 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 106 ash/wm/session_state_animator.cc void StartPartialFadeAnimation(aura::Window* window, window 110 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 122 ash/wm/session_state_animator.cc void StartOpacityAnimationForWindow(aura::Window* window, window 126 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 137 ash/wm/session_state_animator.cc void HideWindowImmediately(aura::Window* window, window 139 ash/wm/session_state_animator.cc window->layer()->SetOpacity(0.0); window 146 ash/wm/session_state_animator.cc void RestoreWindow(aura::Window* window, ui::LayerAnimationObserver* observer) { window 147 ash/wm/session_state_animator.cc window->layer()->SetTransform(gfx::Transform()); window 148 ash/wm/session_state_animator.cc window->layer()->SetOpacity(1.0); window 153 ash/wm/session_state_animator.cc void HideWindow(aura::Window* window, window 157 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); window 193 ash/wm/session_state_animator.cc void TransformWindowToBaseState(aura::Window* window, window 196 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); window 224 ash/wm/session_state_animator.cc void ShowWindow(aura::Window* window, window 228 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); window 238 ash/wm/session_state_animator.cc TransformWindowToBaseState(window, duration, observer); window 244 ash/wm/session_state_animator.cc aura::Window* window, window 249 ash/wm/session_state_animator.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 394 ash/wm/session_state_animator.cc aura::Window* window = *it; window 395 ash/wm/session_state_animator.cc ui::Layer* layer = window->layer(); window 476 ash/wm/session_state_animator.cc aura::Window* window = *it; window 477 ash/wm/session_state_animator.cc if (window->id() == kShellWindowId_ShelfContainer) window 479 ash/wm/session_state_animator.cc containers->push_back(window); window 542 ash/wm/session_state_animator.cc aura::Window* window, window 550 ash/wm/session_state_animator.cc StartSlowCloseAnimationForWindow(window, duration, observer); window 553 ash/wm/session_state_animator.cc StartUndoSlowCloseAnimationForWindow(window, duration, observer); window 556 ash/wm/session_state_animator.cc StartFastCloseAnimationForWindow(window, duration, observer); window 559 ash/wm/session_state_animator.cc StartOpacityAnimationForWindow(window, 1.0, duration, observer); window 562 ash/wm/session_state_animator.cc StartOpacityAnimationForWindow(window, 0.0, duration, observer); window 566 ash/wm/session_state_animator.cc HideWindowImmediately(window, observer); window 570 ash/wm/session_state_animator.cc RestoreWindow(window, observer); window 573 ash/wm/session_state_animator.cc HideWindow(window, duration, true, observer); window 576 ash/wm/session_state_animator.cc ShowWindow(window, duration, true, observer); window 579 ash/wm/session_state_animator.cc TransformWindowToBaseState(window, duration, observer); window 582 ash/wm/session_state_animator.cc ShowWindow(window, duration, false, observer); window 585 ash/wm/session_state_animator.cc HideWindow(window, duration, false, observer); window 589 ash/wm/session_state_animator.cc window, kPartialFadeRatio, duration, observer); window 592 ash/wm/session_state_animator.cc StartPartialFadeAnimation(window, 0.0, duration, observer); window 595 ash/wm/session_state_animator.cc StartPartialFadeAnimation(window, 1.0, duration, observer); window 599 ash/wm/session_state_animator.cc window, 1.0, duration, gfx::Tween::EASE_IN, observer); window 603 ash/wm/session_state_animator.cc window, 0.0, duration, gfx::Tween::EASE_IN_OUT, observer); window 168 ash/wm/session_state_animator.h void RunAnimationForWindow(aura::Window* window, window 37 ash/wm/stacking_controller.cc bool IsSystemModal(aura::Window* window) { window 38 ash/wm/stacking_controller.cc return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM; window 41 ash/wm/stacking_controller.cc bool HasTransientParentWindow(const aura::Window* window) { window 42 ash/wm/stacking_controller.cc return ::wm::GetTransientParent(window) && window 43 ash/wm/stacking_controller.cc ::wm::GetTransientParent(window)->type() != window 66 ash/wm/stacking_controller.cc aura::Window* window, window 69 ash/wm/stacking_controller.cc aura::Window* transient_parent = ::wm::GetTransientParent(window); window 77 ash/wm/stacking_controller.cc switch (window->type()) { window 80 ash/wm/stacking_controller.cc if (IsSystemModal(window)) window 81 ash/wm/stacking_controller.cc return GetSystemModalContainer(target_root, window); window 82 ash/wm/stacking_controller.cc else if (HasTransientParentWindow(window)) window 84 ash/wm/stacking_controller.cc ::wm::GetTransientParent(window)); window 85 ash/wm/stacking_controller.cc return GetAlwaysOnTopController(target_root)->GetContainer(window); window 90 ash/wm/stacking_controller.cc if (wm::GetWindowState(window)->panel_attached()) window 93 ash/wm/stacking_controller.cc return GetAlwaysOnTopController(target_root)->GetContainer(window); window 100 ash/wm/stacking_controller.cc NOTREACHED() << "Window " << window->id() window 101 ash/wm/stacking_controller.cc << " has unhandled type " << window->type(); window 112 ash/wm/stacking_controller.cc aura::Window* window) const { window 113 ash/wm/stacking_controller.cc DCHECK(IsSystemModal(window)); window 122 ash/wm/stacking_controller.cc !::wm::GetTransientParent(window)) { window 129 ash/wm/stacking_controller.cc ::wm::GetTransientParent(window)->parent()->id(); window 24 ash/wm/stacking_controller.h aura::Window* window, window 34 ash/wm/stacking_controller.h aura::Window* window) const; window 25 ash/wm/stacking_controller_unittest.cc aura::Window* window = new aura::Window(NULL); window 26 ash/wm/stacking_controller_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 27 ash/wm/stacking_controller_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 28 ash/wm/stacking_controller_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 29 ash/wm/stacking_controller_unittest.cc return window; window 19 ash/wm/system_modal_container_event_filter_delegate.h virtual bool CanWindowReceiveEvents(aura::Window* window) = 0; window 102 ash/wm/system_modal_container_layout_manager.cc aura::Window* window, window 108 ash/wm/system_modal_container_layout_manager.cc if (window->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_NONE) { window 109 ash/wm/system_modal_container_layout_manager.cc AddModalWindow(window); window 111 ash/wm/system_modal_container_layout_manager.cc RemoveModalWindow(window); window 112 ash/wm/system_modal_container_layout_manager.cc Shell::GetInstance()->OnModalWindowRemoved(window); window 117 ash/wm/system_modal_container_layout_manager.cc aura::Window* window) { window 118 ash/wm/system_modal_container_layout_manager.cc if (modal_background_ && modal_background_->GetNativeView() == window) window 123 ash/wm/system_modal_container_layout_manager.cc aura::Window* window) { window 137 ash/wm/system_modal_container_layout_manager.cc return wm::GetActivatableWindow(window) == modal_window(); window 188 ash/wm/system_modal_container_layout_manager.cc aura::Window* window) { window 189 ash/wm/system_modal_container_layout_manager.cc int id = window->parent()->id(); window 195 ash/wm/system_modal_container_layout_manager.cc window->parent()->layout_manager()); window 197 ash/wm/system_modal_container_layout_manager.cc layout_manager->modal_background_->GetNativeWindow() == window; window 203 ash/wm/system_modal_container_layout_manager.cc void SystemModalContainerLayoutManager::AddModalWindow(aura::Window* window) { window 209 ash/wm/system_modal_container_layout_manager.cc modal_windows_.push_back(window); window 210 ash/wm/system_modal_container_layout_manager.cc Shell::GetInstance()->CreateModalBackground(window); window 211 ash/wm/system_modal_container_layout_manager.cc window->parent()->StackChildAtTop(window); window 215 ash/wm/system_modal_container_layout_manager.cc aura::Window* window) { window 217 ash/wm/system_modal_container_layout_manager.cc std::find(modal_windows_.begin(), modal_windows_.end(), window); window 51 ash/wm/system_modal_container_layout_manager.h virtual void OnWindowPropertyChanged(aura::Window* window, window 54 ash/wm/system_modal_container_layout_manager.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 57 ash/wm/system_modal_container_layout_manager.h bool CanWindowReceiveEvents(aura::Window* window); window 71 ash/wm/system_modal_container_layout_manager.h static bool IsModalBackground(aura::Window* window); window 74 ash/wm/system_modal_container_layout_manager.h void AddModalWindow(aura::Window* window); window 75 ash/wm/system_modal_container_layout_manager.h void RemoveModalWindow(aura::Window* window); window 64 ash/wm/system_modal_container_layout_manager_unittest.cc static void CloseTestWindow(aura::Window* window) { window 65 ash/wm/system_modal_container_layout_manager_unittest.cc views::Widget::GetWidgetForNativeWindow(window)->Close(); window 129 ash/wm/system_modal_container_layout_manager_unittest.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { window 43 ash/wm/toplevel_window_event_handler.cc bool CanStartTwoFingerMove(aura::Window* window, window 51 ash/wm/toplevel_window_event_handler.cc if (!wm::GetWindowState(window)->IsNormalOrSnapped() || window 52 ash/wm/toplevel_window_event_handler.cc window->type() != ui::wm::WINDOW_TYPE_NORMAL) { window 70 ash/wm/toplevel_window_event_handler.cc gfx::Point ConvertPointToParent(aura::Window* window, window 73 ash/wm/toplevel_window_event_handler.cc aura::Window::ConvertPointToTarget(window, window->parent(), &result); window 78 ash/wm/toplevel_window_event_handler.cc int GetWindowComponent(aura::Window* window, const ui::LocatedEvent& event) { window 79 ash/wm/toplevel_window_event_handler.cc return window->delegate()->GetNonClientComponent(event.location()); window 103 ash/wm/toplevel_window_event_handler.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 143 ash/wm/toplevel_window_event_handler.cc aura::Window* window) { window 144 ash/wm/toplevel_window_event_handler.cc DCHECK_EQ(resizer_->GetTarget(), window); window 428 ash/wm/toplevel_window_event_handler.cc aura::Window* window, window 434 ash/wm/toplevel_window_event_handler.cc WindowResizer* resizer = CreateWindowResizer(window, point_in_parent, window 441 ash/wm/toplevel_window_event_handler.cc pre_drag_window_bounds_ = window->bounds(); window 564 ash/wm/toplevel_window_event_handler.cc aura::Window* window, window 566 ash/wm/toplevel_window_event_handler.cc wm::WindowState* window_state = ash::wm::GetWindowState(window); window 66 ash/wm/toplevel_window_event_handler.h bool AttemptToStartDrag(aura::Window* window, window 88 ash/wm/toplevel_window_event_handler.h void SetWindowStateTypeFromGesture(aura::Window* window, window 54 ash/wm/toplevel_window_event_handler_unittest.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { window 81 ash/wm/toplevel_window_event_handler_unittest.cc void DragFromCenterBy(aura::Window* window, int dx, int dy) { window 82 ash/wm/toplevel_window_event_handler_unittest.cc aura::test::EventGenerator generator(Shell::GetPrimaryRootWindow(), window); window 86 ash/wm/toplevel_window_event_handler_unittest.cc void TouchDragFromCenterBy(aura::Window* window, int dx, int dy) { window 87 ash/wm/toplevel_window_event_handler_unittest.cc aura::test::EventGenerator generator(Shell::GetPrimaryRootWindow(), window); window 499 ash/wm/toplevel_window_event_handler_unittest.cc scoped_ptr<aura::Window> window( window 504 ash/wm/toplevel_window_event_handler_unittest.cc window->Show(); window 505 ash/wm/toplevel_window_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 509 ash/wm/toplevel_window_event_handler_unittest.cc window.get()); window 510 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect old_bounds = window->bounds(); window 512 ash/wm/toplevel_window_event_handler_unittest.cc end = location = window->GetBoundsInRootWindow().CenterPoint(); window 518 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_NE(old_bounds.ToString(), window->bounds().ToString()); window 83 ash/wm/video_detector.cc void VideoDetector::OnWindowInitialized(aura::Window* window) { window 84 ash/wm/video_detector.cc observer_manager_.Add(window); window 87 ash/wm/video_detector.cc void VideoDetector::OnWindowPaintScheduled(aura::Window* window, window 91 ash/wm/video_detector.cc linked_ptr<WindowInfo>& info = window_infos_[window]; window 98 ash/wm/video_detector.cc MaybeNotifyObservers(window, now); window 101 ash/wm/video_detector.cc void VideoDetector::OnWindowDestroyed(aura::Window* window) { window 102 ash/wm/video_detector.cc window_infos_.erase(window); window 103 ash/wm/video_detector.cc observer_manager_.Remove(window); window 112 ash/wm/video_detector.cc void VideoDetector::MaybeNotifyObservers(aura::Window* window, window 119 ash/wm/video_detector.cc if (!window->IsVisible()) window 122 ash/wm/video_detector.cc gfx::Rect root_bounds = window->GetRootWindow()->bounds(); window 123 ash/wm/video_detector.cc if (!window->GetBoundsInRootWindow().Intersects(root_bounds)) window 139 ash/wm/video_detector.cc for (aura::Window::Windows::const_iterator window = windows.begin(); window 140 ash/wm/video_detector.cc window != windows.end(); ++window) { window 141 ash/wm/video_detector.cc if (wm::GetWindowState(*window)->IsFullscreen()) { window 69 ash/wm/video_detector.h virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; window 72 ash/wm/video_detector.h virtual void OnWindowPaintScheduled(aura::Window* window, window 74 ash/wm/video_detector.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 86 ash/wm/video_detector.h void MaybeNotifyObservers(aura::Window* window, base::TimeTicks now); window 103 ash/wm/video_detector_unittest.cc scoped_ptr<aura::Window> window( window 112 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 122 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 127 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 131 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 140 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 149 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 156 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 165 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 172 ash/wm/video_detector_unittest.cc scoped_ptr<aura::Window> window( window 182 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 188 ash/wm/video_detector_unittest.cc scoped_ptr<aura::Window> window( window 193 ash/wm/video_detector_unittest.cc Shell::GetPrimaryRootWindow()->AddChild(window.get()); window 196 ash/wm/video_detector_unittest.cc window->Hide(); window 202 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 208 ash/wm/video_detector_unittest.cc window->Show(); window 210 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 221 ash/wm/video_detector_unittest.cc window->SetBounds(offscreen_bounds); window 222 ash/wm/video_detector_unittest.cc ASSERT_EQ(offscreen_bounds, window->bounds()); window 224 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 254 ash/wm/video_detector_unittest.cc scoped_ptr<aura::Window> window( window 262 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 271 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), update_region); window 285 ash/wm/video_detector_unittest.cc scoped_ptr<aura::Window> window( window 287 ash/wm/video_detector_unittest.cc wm::WindowState window_state(window.get()); window 291 ash/wm/video_detector_unittest.cc window->Focus(); window 297 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), kUpdateRegion); window 320 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), kUpdateRegion); window 332 ash/wm/video_detector_unittest.cc detector_->OnWindowPaintScheduled(window.get(), kUpdateRegion); window 69 ash/wm/window_animations.cc base::TimeDelta GetCrossFadeDuration(aura::Window* window, window 72 ash/wm/window_animations.cc if (::wm::WindowAnimationsDisabled(window)) window 98 ash/wm/window_animations.cc void AddLayerAnimationsForMinimize(aura::Window* window, bool show) { window 101 ash/wm/window_animations.cc gfx::Rect bounds = window->bounds(); window 102 ash/wm/window_animations.cc gfx::Rect target_bounds = GetMinimizeAnimationTargetBoundsInScreen(window); window 104 ash/wm/window_animations.cc ScreenUtil::ConvertRectFromScreen(window->parent(), target_bounds); window 122 ash/wm/window_animations.cc base::TimeDelta duration = window->layer()->GetAnimator()-> window 132 ash/wm/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( window 138 ash/wm/window_animations.cc window->layer()->GetAnimator()->SchedulePauseForProperties( window 144 ash/wm/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( window 150 ash/wm/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( window 157 ash/wm/window_animations.cc void AnimateShowWindow_Minimize(aura::Window* window) { window 158 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); window 159 ash/wm/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 163 ash/wm/window_animations.cc AddLayerAnimationsForMinimize(window, true); window 168 ash/wm/window_animations.cc window, ::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_DEFAULT); window 171 ash/wm/window_animations.cc void AnimateHideWindow_Minimize(aura::Window* window) { window 173 ash/wm/window_animations.cc ::wm::ScopedHidingAnimationSettings hiding_settings(window); window 177 ash/wm/window_animations.cc window->layer()->SetVisible(false); window 179 ash/wm/window_animations.cc AddLayerAnimationsForMinimize(window, false); window 182 ash/wm/window_animations.cc void AnimateShowHideWindowCommon_BrightnessGrayscale(aura::Window* window, window 193 ash/wm/window_animations.cc window->layer()->SetLayerBrightness(start_value); window 194 ash/wm/window_animations.cc window->layer()->SetLayerGrayscale(start_value); window 196 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); window 197 ash/wm/window_animations.cc window->layer()->SetVisible(true); window 204 ash/wm/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 205 ash/wm/window_animations.cc window->layer()->GetAnimator()-> window 209 ash/wm/window_animations.cc ::wm::ScopedHidingAnimationSettings hiding_settings(window); window 210 ash/wm/window_animations.cc window->layer()->GetAnimator()-> window 213 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); window 214 ash/wm/window_animations.cc window->layer()->SetVisible(false); window 218 ash/wm/window_animations.cc void AnimateShowWindow_BrightnessGrayscale(aura::Window* window) { window 219 ash/wm/window_animations.cc AnimateShowHideWindowCommon_BrightnessGrayscale(window, true); window 222 ash/wm/window_animations.cc void AnimateHideWindow_BrightnessGrayscale(aura::Window* window) { window 223 ash/wm/window_animations.cc AnimateShowHideWindowCommon_BrightnessGrayscale(window, false); window 226 ash/wm/window_animations.cc bool AnimateShowWindow(aura::Window* window) { window 228 ash/wm/window_animations.cc window, ::wm::ANIMATE_SHOW)) { window 232 ash/wm/window_animations.cc switch (::wm::GetWindowVisibilityAnimationType(window)) { window 234 ash/wm/window_animations.cc AnimateShowWindow_Minimize(window); window 237 ash/wm/window_animations.cc AnimateShowWindow_BrightnessGrayscale(window); window 245 ash/wm/window_animations.cc bool AnimateHideWindow(aura::Window* window) { window 247 ash/wm/window_animations.cc window, ::wm::ANIMATE_HIDE)) { window 251 ash/wm/window_animations.cc switch (::wm::GetWindowVisibilityAnimationType(window)) { window 253 ash/wm/window_animations.cc AnimateHideWindow_Minimize(window); window 256 ash/wm/window_animations.cc AnimateHideWindow_BrightnessGrayscale(window); window 273 ash/wm/window_animations.cc CrossFadeObserver(aura::Window* window, window 275 ash/wm/window_animations.cc : window_(window), window 303 ash/wm/window_animations.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 307 ash/wm/window_animations.cc virtual void OnWindowRemovingFromRootWindow(aura::Window* window, window 325 ash/wm/window_animations.cc aura::Window* window, window 330 ash/wm/window_animations.cc const gfx::Rect new_bounds(window->bounds()); window 334 ash/wm/window_animations.cc const base::TimeDelta duration = GetCrossFadeDuration(window, window 344 ash/wm/window_animations.cc settings.AddObserver(new CrossFadeObserver(window, old_layer_owner.Pass())); window 375 ash/wm/window_animations.cc window->layer()->SetTransform(in_transform); window 379 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); window 384 ash/wm/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 387 ash/wm/window_animations.cc window->layer()->SetTransform(gfx::Transform()); window 390 ash/wm/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); window 396 ash/wm/window_animations.cc bool AnimateOnChildWindowVisibilityChanged(aura::Window* window, bool visible) { window 397 ash/wm/window_animations.cc if (::wm::WindowAnimationsDisabled(window)) window 401 ash/wm/window_animations.cc if (::wm::AnimateOnChildWindowVisibilityChanged(window, visible)) window 406 ash/wm/window_animations.cc return AnimateShowWindow(window); window 408 ash/wm/window_animations.cc return window->layer()->GetTargetOpacity() != 0.0f && window 409 ash/wm/window_animations.cc AnimateHideWindow(window); window 453 ash/wm/window_animations.cc gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) { window 454 ash/wm/window_animations.cc Shelf* shelf = Shelf::ForWindow(window); window 458 ash/wm/window_animations.cc gfx::Rect item_rect = shelf->GetScreenBoundsOfItemIconForWindow(window); window 471 ash/wm/window_animations.cc ShelfLayoutManager* layout_manager = ShelfLayoutManager::ForShelf(window); window 495 ash/wm/window_animations.cc Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); window 53 ash/wm/window_animations.h aura::Window* window, window 57 ash/wm/window_animations.h ASH_EXPORT bool AnimateOnChildWindowVisibilityChanged(aura::Window* window, window 76 ash/wm/window_animations.h aura::Window* window); window 69 ash/wm/window_animations_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 70 ash/wm/window_animations_unittest.cc window->Show(); window 71 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 75 ash/wm/window_animations_unittest.cc window.get(), window 77 ash/wm/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), false); window 78 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity()); window 79 ash/wm/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); window 80 ash/wm/window_animations_unittest.cc EXPECT_FALSE(window->layer()->visible()); window 84 ash/wm/window_animations_unittest.cc window.get(), window 86 ash/wm/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), true); window 87 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness()); window 88 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale()); window 89 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 94 ash/wm/window_animations_unittest.cc window->layer()->GetAnimator()); window 97 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness()); window 98 ash/wm/window_animations_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale()); window 99 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 103 ash/wm/window_animations_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 106 ash/wm/window_animations_unittest.cc window->Show(); window 107 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 108 ash/wm/window_animations_unittest.cc window->Hide(); window 109 ash/wm/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); window 110 ash/wm/window_animations_unittest.cc window->Show(); window 111 ash/wm/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 120 ash/wm/window_animations_unittest.cc scoped_ptr<Window> window(CreateTestWindowInShellWithId(0)); window 121 ash/wm/window_animations_unittest.cc window->SetBounds(gfx::Rect(5, 10, 320, 240)); window 122 ash/wm/window_animations_unittest.cc window->Show(); window 124 ash/wm/window_animations_unittest.cc Layer* old_layer = window->layer(); window 128 ash/wm/window_animations_unittest.cc GetWindowState(window.get())->SetBoundsDirectCrossFade( window 131 ash/wm/window_animations_unittest.cc EXPECT_NE(old_layer, window->layer()); window 140 ash/wm/window_animations_unittest.cc EXPECT_EQ(1.0f, window->layer()->GetTargetOpacity()); window 141 ash/wm/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->GetTargetTransform()); window 146 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(window->layer()->GetAnimator())-> window 150 ash/wm/window_animations_unittest.cc old_layer = window->layer(); window 151 ash/wm/window_animations_unittest.cc GetWindowState(window.get())->SetBoundsDirectCrossFade( window 154 ash/wm/window_animations_unittest.cc EXPECT_NE(old_layer, window->layer()); window 163 ash/wm/window_animations_unittest.cc EXPECT_EQ(1.0f, window->layer()->GetTargetOpacity()); window 164 ash/wm/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->GetTargetTransform()); window 168 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(window->layer()->GetAnimator())-> window 178 ash/wm/window_animations_unittest.cc scoped_ptr<Window> window(CreateTestWindowInShellWithId(0)); window 179 ash/wm/window_animations_unittest.cc Layer* layer = window->layer(); window 180 ash/wm/window_animations_unittest.cc window->SetBounds(gfx::Rect(5, 10, 320, 240)); window 181 ash/wm/window_animations_unittest.cc window->Show(); window 192 ash/wm/window_animations_unittest.cc wm::GetWindowState(window.get())->Minimize(); window 198 ash/wm/window_animations_unittest.cc window->Show(); window 205 ash/wm/window_animations_unittest.cc layer = window->layer(); window 214 ash/wm/window_animations_unittest.cc wm::GetWindowState(window.get())->Minimize(); window 220 ash/wm/window_animations_unittest.cc window->Show(); window 226 ash/wm/window_animations_unittest.cc layer = window->layer(); window 229 ash/wm/window_animations_unittest.cc wm::GetWindowState(window.get())->Minimize(); window 232 ash/wm/window_animations_unittest.cc window->Show(); window 235 ash/wm/window_animations_unittest.cc layer = window->layer(); window 240 ash/wm/window_animations_unittest.cc wm::GetWindowState(window.get())->Minimize(); window 245 ash/wm/window_animations_unittest.cc window->Show(); window 498 ash/wm/window_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithDelegate( window 505 ash/wm/window_manager_unittest.cc aura::Window::ConvertPointToTarget(window->parent(), root_window, &point1); window 508 ash/wm/window_manager_unittest.cc aura::Window::ConvertPointToTarget(window->parent(), root_window, &point2); window 56 ash/wm/window_positioner.cc bool UseAutoWindowManager(const aura::Window* window) { window 59 ash/wm/window_positioner.cc const wm::WindowState* window_state = wm::GetWindowState(window); window 66 ash/wm/window_positioner.cc bool WindowPositionCanBeManaged(const aura::Window* window) { window 69 ash/wm/window_positioner.cc const wm::WindowState* window_state = wm::GetWindowState(window); window 77 ash/wm/window_positioner.cc gfx::Rect GetWorkAreaForWindowInParent(aura::Window* window) { window 82 ash/wm/window_positioner.cc gfx::Rect work_area = gfx::Rect(window->parent()->bounds().size()); window 84 ash/wm/window_positioner.cc window->parent()->GetBoundsInScreen()).GetWorkAreaInsets()); window 87 ash/wm/window_positioner.cc return ScreenUtil::GetDisplayWorkAreaBoundsInParent(window); window 113 ash/wm/window_positioner.cc void SetBoundsAnimated(aura::Window* window, const gfx::Rect& bounds) { window 114 ash/wm/window_positioner.cc if (bounds == window->GetTargetBounds()) window 117 ash/wm/window_positioner.cc if (::wm::WindowAnimationsDisabled(window)) { window 118 ash/wm/window_positioner.cc window->SetBounds(bounds); window 122 ash/wm/window_positioner.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 125 ash/wm/window_positioner.cc window->SetBounds(bounds); window 130 ash/wm/window_positioner.cc void AutoPlaceSingleWindow(aura::Window* window, bool animated) { window 131 ash/wm/window_positioner.cc gfx::Rect work_area = GetWorkAreaForWindowInParent(window); window 132 ash/wm/window_positioner.cc gfx::Rect bounds = window->bounds(); window 134 ash/wm/window_positioner.cc wm::GetWindowState(window)->pre_auto_manage_window_bounds(); window 144 ash/wm/window_positioner.cc SetBoundsAnimated(window, bounds); window 146 ash/wm/window_positioner.cc window->SetBounds(bounds); window 180 ash/wm/window_positioner.cc aura::Window* window = windows[i % windows.size()]; window 181 ash/wm/window_positioner.cc if (window != exclude && window->type() == ui::wm::WINDOW_TYPE_NORMAL && window 182 ash/wm/window_positioner.cc window->GetRootWindow() == root_window && window->TargetVisibility() && window 183 ash/wm/window_positioner.cc wm::GetWindowState(window)->window_position_managed()) { window 184 ash/wm/window_positioner.cc if (found && found != window) { window 190 ash/wm/window_positioner.cc found = window; window 394 ash/wm/window_positioner.cc aura::Window* window = wm::GetActiveWindow(); window 395 ash/wm/window_positioner.cc const gfx::Rect work_area = window && window->IsVisible() ? window 396 ash/wm/window_positioner.cc Shell::GetScreen()->GetDisplayNearestWindow(window).work_area() : window 60 ash/wm/window_resizer.h return window_state_ ? window_state_->window() : NULL; window 101 ash/wm/window_resizer.h aura::Window* window, window 52 ash/wm/window_state.cc void SetBounds(aura::Window* window, const gfx::Rect& bounds) { window 53 ash/wm/window_state.cc SetChildBoundsDirect(window, bounds); window 83 ash/wm/window_state.cc WindowState::WindowState(aura::Window* window) window 84 ash/wm/window_state.cc : window_(window), window 279 ash/wm/window_state.cc void WindowState::CreateDragDetails(aura::Window* window, window 284 ash/wm/window_state.cc new DragDetails(window, point_in_parent, window_component, source)); window 297 ash/wm/window_state.cc void WindowState::OnWindowPropertyChanged(aura::Window* window, window 300 ash/wm/window_state.cc DCHECK_EQ(window, window_); window 417 ash/wm/window_state.cc WindowState* GetWindowState(aura::Window* window) { window 418 ash/wm/window_state.cc if (!window) window 420 ash/wm/window_state.cc WindowState* settings = window->GetProperty(kWindowStateKey); window 422 ash/wm/window_state.cc settings = new WindowState(window); window 423 ash/wm/window_state.cc window->SetProperty(kWindowStateKey, settings); window 428 ash/wm/window_state.cc const WindowState* GetWindowState(const aura::Window* window) { window 429 ash/wm/window_state.cc return GetWindowState(const_cast<aura::Window*>(window)); window 80 ash/wm/window_state.h explicit WindowState(aura::Window* window); window 83 ash/wm/window_state.h aura::Window* window() { return window_; } window 84 ash/wm/window_state.h const aura::Window* window() const { return window_; } window 274 ash/wm/window_state.h void CreateDragDetails(aura::Window* window, window 291 ash/wm/window_state.h virtual void OnWindowPropertyChanged(aura::Window* window, window 373 ash/wm/window_state.h ASH_EXPORT WindowState* GetWindowState(aura::Window* window); window 377 ash/wm/window_state.h GetWindowState(const aura::Window* window); window 66 ash/wm/window_state_unittest.cc scoped_ptr<aura::Window> window( window 68 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window 76 ash/wm/window_state_unittest.cc EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); window 81 ash/wm/window_state_unittest.cc EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); window 84 ash/wm/window_state_unittest.cc window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), window 94 ash/wm/window_state_unittest.cc EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); window 98 ash/wm/window_state_unittest.cc EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); window 112 ash/wm/window_state_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithDelegate( window 117 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window 125 ash/wm/window_state_unittest.cc EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); window 142 ash/wm/window_state_unittest.cc scoped_ptr<aura::Window> window( window 144 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window 152 ash/wm/window_state_unittest.cc EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); window 156 ash/wm/window_state_unittest.cc window->SetBounds(gfx::Rect(10, 10, 500, 300)); window 157 ash/wm/window_state_unittest.cc EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); window 163 ash/wm/window_state_unittest.cc scoped_ptr<aura::Window> window( window 165 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window 170 ash/wm/window_state_unittest.cc gfx::Rect restore_bounds = window->GetBoundsInScreen(); window 177 ash/wm/window_state_unittest.cc EXPECT_NE(restore_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 181 ash/wm/window_state_unittest.cc EXPECT_EQ(restore_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 185 ash/wm/window_state_unittest.cc gfx::Rect maximized_bounds = window->GetBoundsInScreen(); window 191 ash/wm/window_state_unittest.cc EXPECT_NE(restore_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 193 ash/wm/window_state_unittest.cc window->GetBoundsInScreen().ToString()); window 198 ash/wm/window_state_unittest.cc EXPECT_EQ(restore_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 204 ash/wm/window_state_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 205 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window 207 ash/wm/window_state_unittest.cc window->Hide(); window 208 ash/wm/window_state_unittest.cc window->SetBounds(gfx::Rect(100, 100, 100, 100)); window 209 ash/wm/window_state_unittest.cc window->Show(); window 223 ash/wm/window_state_unittest.cc window->GetBoundsInScreen().ToString()); window 231 ash/wm/window_state_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 232 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window 243 ash/wm/window_state_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 244 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window 34 ash/wm/window_util.cc int GetDefaultSnappedWindowWidth(aura::Window* window) { window 38 ash/wm/window_util.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window).width(); window 39 ash/wm/window_util.cc int min_width = window->delegate() ? window 40 ash/wm/window_util.cc window->delegate()->GetMinimumSize().width() : 0; window 49 ash/wm/window_util.cc void ActivateWindow(aura::Window* window) { window 50 ash/wm/window_util.cc ::wm::ActivateWindow(window); window 53 ash/wm/window_util.cc void DeactivateWindow(aura::Window* window) { window 54 ash/wm/window_util.cc ::wm::DeactivateWindow(window); window 57 ash/wm/window_util.cc bool IsActiveWindow(aura::Window* window) { window 58 ash/wm/window_util.cc return ::wm::IsActiveWindow(window); window 66 ash/wm/window_util.cc aura::Window* GetActivatableWindow(aura::Window* window) { window 67 ash/wm/window_util.cc return ::wm::GetActivatableWindow(window); window 70 ash/wm/window_util.cc bool CanActivateWindow(aura::Window* window) { window 71 ash/wm/window_util.cc return ::wm::CanActivateWindow(window); window 74 ash/wm/window_util.cc bool IsWindowMinimized(aura::Window* window) { window 75 ash/wm/window_util.cc return ash::wm::GetWindowState(window)->IsMinimized(); window 78 ash/wm/window_util.cc void CenterWindow(aura::Window* window) { window 80 ash/wm/window_util.cc wm::GetWindowState(window)->OnWMEvent(&event); window 83 ash/wm/window_util.cc gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(aura::Window* window) { window 85 ash/wm/window_util.cc window)); window 88 ash/wm/window_util.cc GetDefaultSnappedWindowWidth(window), window 92 ash/wm/window_util.cc gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(aura::Window* window) { window 94 ash/wm/window_util.cc window)); window 95 ash/wm/window_util.cc int width = GetDefaultSnappedWindowWidth(window); window 136 ash/wm/window_util.cc bool MoveWindowToEventRoot(aura::Window* window, const ui::Event& event) { window 142 ash/wm/window_util.cc if (!target_root || target_root == window->GetRootWindow()) window 145 ash/wm/window_util.cc ash::Shell::GetContainer(target_root, window->parent()->id()); window 147 ash/wm/window_util.cc window_container->AddChild(window); window 32 ash/wm/window_util.h ASH_EXPORT void ActivateWindow(aura::Window* window); window 33 ash/wm/window_util.h ASH_EXPORT void DeactivateWindow(aura::Window* window); window 34 ash/wm/window_util.h ASH_EXPORT bool IsActiveWindow(aura::Window* window); window 36 ash/wm/window_util.h ASH_EXPORT bool CanActivateWindow(aura::Window* window); window 43 ash/wm/window_util.h ASH_EXPORT aura::Window* GetActivatableWindow(aura::Window* window); window 46 ash/wm/window_util.h ASH_EXPORT bool IsWindowMinimized(aura::Window* window); window 49 ash/wm/window_util.h ASH_EXPORT void CenterWindow(aura::Window* window); window 54 ash/wm/window_util.h aura::Window* window); window 59 ash/wm/window_util.h aura::Window* window); window 83 ash/wm/window_util.h ASH_EXPORT bool MoveWindowToEventRoot(aura::Window* window, window 31 ash/wm/window_util_unittest.cc scoped_ptr<aura::Window> window( window 34 ash/wm/window_util_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 37 ash/wm/window_util_unittest.cc wm::CenterWindow(window.get()); window 40 ash/wm/window_util_unittest.cc EXPECT_EQ("200,126 100x100", window->bounds().ToString()); window 41 ash/wm/window_util_unittest.cc EXPECT_EQ("200,126 100x100", window->GetBoundsInScreen().ToString()); window 42 ash/wm/window_util_unittest.cc window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), window 44 ash/wm/window_util_unittest.cc wm::CenterWindow(window.get()); window 45 ash/wm/window_util_unittest.cc EXPECT_EQ("250,126 100x100", window->bounds().ToString()); window 46 ash/wm/window_util_unittest.cc EXPECT_EQ("750,126 100x100", window->GetBoundsInScreen().ToString()); window 43 ash/wm/workspace/multi_window_resize_controller.cc bool ContainsX(Window* window, int x) { window 44 ash/wm/workspace/multi_window_resize_controller.cc return window->bounds().x() <= x && window->bounds().right() >= x; window 47 ash/wm/workspace/multi_window_resize_controller.cc bool ContainsY(Window* window, int y) { window 48 ash/wm/workspace/multi_window_resize_controller.cc return window->bounds().y() <= y && window->bounds().bottom() >= y; window 156 ash/wm/workspace/multi_window_resize_controller.cc void MultiWindowResizeController::Show(Window* window, window 166 ash/wm/workspace/multi_window_resize_controller.cc ResizeWindows windows(DetermineWindows(window, component, point_in_window)); window 181 ash/wm/workspace/multi_window_resize_controller.cc window, window->parent(), &show_location_in_parent_); window 220 ash/wm/workspace/multi_window_resize_controller.cc aura::Window* window) { window 228 ash/wm/workspace/multi_window_resize_controller.cc aura::Window* window) const { window 230 ash/wm/workspace/multi_window_resize_controller.cc gfx::Screen::GetScreenFor(window)->GetCursorScreenPoint()); window 231 ash/wm/workspace/multi_window_resize_controller.cc wm::ConvertPointFromScreen(window, &mouse_location); window 233 ash/wm/workspace/multi_window_resize_controller.cc window->delegate()->GetNonClientComponent(mouse_location); window 234 ash/wm/workspace/multi_window_resize_controller.cc return DetermineWindows(window, component, mouse_location); window 239 ash/wm/workspace/multi_window_resize_controller.cc Window* window, window 244 ash/wm/workspace/multi_window_resize_controller.cc Window::ConvertPointToTarget(window, window->parent(), &point_in_parent); window 248 ash/wm/workspace/multi_window_resize_controller.cc result.window1 = window; window 250 ash/wm/workspace/multi_window_resize_controller.cc window, HTLEFT, window->bounds().right(), point_in_parent.y()); window 255 ash/wm/workspace/multi_window_resize_controller.cc window, HTRIGHT, window->bounds().x(), point_in_parent.y()); window 256 ash/wm/workspace/multi_window_resize_controller.cc result.window2 = window; window 261 ash/wm/workspace/multi_window_resize_controller.cc window, HTBOTTOM, point_in_parent.x(), window->bounds().y()); window 262 ash/wm/workspace/multi_window_resize_controller.cc result.window2 = window; window 266 ash/wm/workspace/multi_window_resize_controller.cc result.window1 = window; window 268 ash/wm/workspace/multi_window_resize_controller.cc window, HTTOP, point_in_parent.x(), window->bounds().bottom()); window 285 ash/wm/workspace/multi_window_resize_controller.cc Window* window = *i; window 286 ash/wm/workspace/multi_window_resize_controller.cc if (window == window_to_ignore || !window->IsVisible()) window 290 ash/wm/workspace/multi_window_resize_controller.cc if (ContainsY(window, y) && window->bounds().x() == x) window 291 ash/wm/workspace/multi_window_resize_controller.cc return window; window 294 ash/wm/workspace/multi_window_resize_controller.cc if (ContainsY(window, y) && window->bounds().right() == x) window 295 ash/wm/workspace/multi_window_resize_controller.cc return window; window 298 ash/wm/workspace/multi_window_resize_controller.cc if (ContainsX(window, x) && window->bounds().y() == y) window 299 ash/wm/workspace/multi_window_resize_controller.cc return window; window 302 ash/wm/workspace/multi_window_resize_controller.cc if (ContainsX(window, x) && window->bounds().bottom() == y) window 303 ash/wm/workspace/multi_window_resize_controller.cc return window; window 310 ash/wm/workspace/multi_window_resize_controller.cc if (window->bounds().Contains(x, y)) window 317 ash/wm/workspace/multi_window_resize_controller.cc aura::Window* window, window 319 ash/wm/workspace/multi_window_resize_controller.cc int right = window->bounds().right(); window 320 ash/wm/workspace/multi_window_resize_controller.cc int bottom = window->bounds().bottom(); window 321 ash/wm/workspace/multi_window_resize_controller.cc Window* parent = window->parent(); window 326 ash/wm/workspace/multi_window_resize_controller.cc if (other == window || !other->IsVisible()) window 332 ash/wm/workspace/multi_window_resize_controller.cc window->bounds().x(), window->bounds().right())) { window 339 ash/wm/workspace/multi_window_resize_controller.cc window->bounds().y(), window->bounds().bottom())) { window 530 ash/wm/workspace/multi_window_resize_controller.cc aura::Window* window, window 533 ash/wm/workspace/multi_window_resize_controller.cc if (!window->delegate()) window 538 ash/wm/workspace/multi_window_resize_controller.cc window->GetRootWindow(), window, &window_loc); window 539 ash/wm/workspace/multi_window_resize_controller.cc return window->ContainsPoint(window_loc) && window 540 ash/wm/workspace/multi_window_resize_controller.cc window->delegate()->GetNonClientComponent(window_loc) == component; window 47 ash/wm/workspace/multi_window_resize_controller.h void Show(aura::Window* window, int component, const gfx::Point& point); window 56 ash/wm/workspace/multi_window_resize_controller.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 92 ash/wm/workspace/multi_window_resize_controller.h ResizeWindows DetermineWindows(aura::Window* window, window 98 ash/wm/workspace/multi_window_resize_controller.h ResizeWindows DetermineWindowsFromScreenPoint(aura::Window* window) const; window 107 ash/wm/workspace/multi_window_resize_controller.h aura::Window* FindWindowTouching(aura::Window* window, window 149 ash/wm/workspace/multi_window_resize_controller.h bool IsOverWindow(aura::Window* window, window 41 ash/wm/workspace/multi_window_resize_controller_unittest.cc aura::Window* window = new aura::Window(delegate); window 42 ash/wm/workspace/multi_window_resize_controller_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 43 ash/wm/workspace/multi_window_resize_controller_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 44 ash/wm/workspace/multi_window_resize_controller_unittest.cc ParentWindowInPrimaryRootWindow(window); window 45 ash/wm/workspace/multi_window_resize_controller_unittest.cc window->SetBounds(bounds); window 46 ash/wm/workspace/multi_window_resize_controller_unittest.cc window->Show(); window 47 ash/wm/workspace/multi_window_resize_controller_unittest.cc return window; window 70 ash/wm/workspace/multi_window_resize_controller_unittest.cc bool HasTarget(aura::Window* window) { window 73 ash/wm/workspace/multi_window_resize_controller_unittest.cc if ((resize_controller_->windows_.window1 == window || window 74 ash/wm/workspace/multi_window_resize_controller_unittest.cc resize_controller_->windows_.window2 == window)) window 78 ash/wm/workspace/multi_window_resize_controller_unittest.cc if (resize_controller_->windows_.other_windows[i] == window) window 144 ash/wm/workspace/phantom_window_controller.cc PhantomWindowController::PhantomWindowController(aura::Window* window) window 145 ash/wm/workspace/phantom_window_controller.cc : window_(window), window 28 ash/wm/workspace/phantom_window_controller.h explicit PhantomWindowController(aura::Window* window); window 20 ash/wm/workspace/phantom_window_controller_unittest.cc bool IsVisible(aura::Window* window) { window 21 ash/wm/workspace/phantom_window_controller_unittest.cc return window && window->IsVisible(); window 27 ash/wm/workspace/phantom_window_controller_unittest.cc WindowDeletionObserver(aura::Window* window) : window_(window) { window 42 ash/wm/workspace/phantom_window_controller_unittest.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 112 ash/wm/workspace/phantom_window_controller_unittest.cc EXPECT_EQ(root_windows[0], window()->GetRootWindow()); window 91 ash/wm/workspace/workspace_event_handler.cc aura::Window* target = target_state->window(); window 40 ash/wm/workspace/workspace_event_handler_unittest.cc aura::Window* window = new aura::Window(delegate); window 41 ash/wm/workspace/workspace_event_handler_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 42 ash/wm/workspace/workspace_event_handler_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 43 ash/wm/workspace/workspace_event_handler_unittest.cc ParentWindowInPrimaryRootWindow(window); window 44 ash/wm/workspace/workspace_event_handler_unittest.cc window->SetBounds(bounds); window 45 ash/wm/workspace/workspace_event_handler_unittest.cc window->Show(); window 46 ash/wm/workspace/workspace_event_handler_unittest.cc return window; window 56 ash/wm/workspace/workspace_event_handler_unittest.cc explicit WindowPropertyObserver(aura::Window* window) window 57 ash/wm/workspace/workspace_event_handler_unittest.cc : window_(window) { window 58 ash/wm/workspace/workspace_event_handler_unittest.cc window->AddObserver(this); window 72 ash/wm/workspace/workspace_event_handler_unittest.cc virtual void OnWindowPropertyChanged(aura::Window* window, window 89 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(&wd, restored_bounds)); window 91 ash/wm/workspace/workspace_event_handler_unittest.cc wm::ActivateWindow(window.get()); window 94 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()).work_area(); window 97 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()); window 110 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect bounds_in_screen = window->GetBoundsInScreen(); window 116 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 122 ash/wm/workspace/workspace_event_handler_unittest.cc bounds_in_screen = window->GetBoundsInScreen(); window 131 ash/wm/workspace/workspace_event_handler_unittest.cc bounds_in_screen = window->GetBoundsInScreen(); window 141 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 153 ash/wm/workspace/workspace_event_handler_unittest.cc window->SetBoundsInScreen(restored_bounds, ScreenUtil::GetSecondaryDisplay()); window 155 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(second_root, window->GetRootWindow()); window 156 ash/wm/workspace/workspace_event_handler_unittest.cc aura::test::EventGenerator generator2(second_root, window.get()); window 167 ash/wm/workspace/workspace_event_handler_unittest.cc bounds_in_screen = window->GetBoundsInScreen(); window 176 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 181 ash/wm/workspace/workspace_event_handler_unittest.cc bounds_in_screen = window->GetBoundsInScreen(); window 190 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.ToString(), window->GetBoundsInScreen().ToString()); window 197 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(&wd, restored_bounds)); window 200 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()).work_area(); window 202 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 206 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect snapped_bounds_in_screen = window->GetBoundsInScreen(); window 216 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()); window 221 ash/wm/workspace/workspace_event_handler_unittest.cc window->GetBoundsInScreen().ToString()); window 229 ash/wm/workspace/workspace_event_handler_unittest.cc window->GetBoundsInScreen().ToString()); window 236 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(&wd, restored_bounds)); window 238 ash/wm/workspace/workspace_event_handler_unittest.cc wm::ActivateWindow(window.get()); window 241 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()).work_area(); window 246 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()); window 252 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.y(), window->bounds().y()); window 253 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.height(), window->bounds().height()); window 260 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(&wd, restored_bounds)); window 262 ash/wm/workspace/workspace_event_handler_unittest.cc wm::ActivateWindow(window.get()); window 265 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()).work_area(); window 270 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()); window 276 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.x(), window->bounds().x()); window 277 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.width(), window->bounds().width()); window 284 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window( window 288 ash/wm/workspace/workspace_event_handler_unittest.cc window->SetProperty(aura::client::kCanMaximizeKey, true); window 292 ash/wm/workspace/workspace_event_handler_unittest.cc ::wm::AddTransientChild(window.get(), child.get()); window 294 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 297 ash/wm/workspace/workspace_event_handler_unittest.cc aura::test::EventGenerator generator(root, window.get()); window 299 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ("10,20 30x40", window->bounds().ToString()); window 305 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ("10,20 30x40", window->bounds().ToString()); window 312 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window( window 314 ash/wm/workspace/workspace_event_handler_unittest.cc window->SetProperty(aura::client::kCanMaximizeKey, true); window 316 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 317 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect restore_bounds = window->bounds(); window 319 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()); window 326 ash/wm/workspace/workspace_event_handler_unittest.cc aura::test::EventGenerator generator(root, window.get()); window 328 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_NE(restore_bounds.ToString(), window->bounds().ToString()); window 333 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restore_bounds.ToString(), window->bounds().ToString()); window 339 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(work_area_in_parent.x(), window->bounds().x()); window 340 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restore_bounds.y(), window->bounds().y()); window 341 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(work_area_in_parent.width(), window->bounds().width()); window 342 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restore_bounds.height(), window->bounds().height()); window 350 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restore_bounds.ToString(), window->bounds().ToString()); window 356 ash/wm/workspace/workspace_event_handler_unittest.cc generator.MoveMouseTo(window->GetBoundsInRootWindow().CenterPoint()); window 362 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restore_bounds.ToString(), window->bounds().ToString()); window 370 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window( window 372 ash/wm/workspace/workspace_event_handler_unittest.cc window->SetProperty(aura::client::kCanMaximizeKey, true); window 375 ash/wm/workspace/workspace_event_handler_unittest.cc aura::test::EventGenerator generator(root, window.get()); window 377 ash/wm/workspace/workspace_event_handler_unittest.cc WindowPropertyObserver observer(window.get()); window 392 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(wm::GetWindowState(window.get())->IsMaximized()); window 393 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ("1,2 30x40", window->bounds().ToString()); window 400 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(&wd, bounds)); window 401 ash/wm/workspace/workspace_event_handler_unittest.cc window->SetProperty(aura::client::kCanMaximizeKey, true); window 404 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 407 ash/wm/workspace/workspace_event_handler_unittest.cc window.get()); window 411 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_NE(bounds.ToString(), window->bounds().ToString()); window 418 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(bounds.ToString(), window->bounds().ToString()); window 431 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(&wd, bounds)); window 433 ash/wm/workspace/workspace_event_handler_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow()); window 434 ash/wm/workspace/workspace_event_handler_unittest.cc generator.MoveMouseToCenterOf(window.get()); window 437 ash/wm/workspace/workspace_event_handler_unittest.cc DCHECK_NE(bounds.origin().ToString(), window->bounds().origin().ToString()); window 438 ash/wm/workspace/workspace_event_handler_unittest.cc window.reset(); window 446 ash/wm/workspace/workspace_event_handler_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(&wd, bounds)); window 449 ash/wm/workspace/workspace_event_handler_unittest.cc ASSERT_TRUE(aura::client::GetWindowMoveClient(window->GetRootWindow())); window 450 ash/wm/workspace/workspace_event_handler_unittest.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, window.get()); window 451 ash/wm/workspace/workspace_event_handler_unittest.cc aura::client::GetWindowMoveClient(window->GetRootWindow()) window 452 ash/wm/workspace/workspace_event_handler_unittest.cc ->RunMoveLoop(window.release(), window 35 ash/wm/workspace/workspace_layout_manager.cc WorkspaceLayoutManager::WorkspaceLayoutManager(aura::Window* window) window 37 ash/wm/workspace/workspace_layout_manager.cc window_(window), window 38 ash/wm/workspace/workspace_layout_manager.cc root_window_(window->GetRootWindow()), window 43 ash/wm/workspace/workspace_layout_manager.cc window->GetRootWindow())->GetWindowForFullscreenMode() != NULL) { window 162 ash/wm/workspace/workspace_layout_manager.cc void WorkspaceLayoutManager::OnWindowPropertyChanged(Window* window, window 166 ash/wm/workspace/workspace_layout_manager.cc window->GetProperty(aura::client::kAlwaysOnTopKey)) { window 167 ash/wm/workspace/workspace_layout_manager.cc GetRootWindowController(window->GetRootWindow())-> window 168 ash/wm/workspace/workspace_layout_manager.cc always_on_top_controller()->GetContainer(window)->AddChild(window); window 172 ash/wm/workspace/workspace_layout_manager.cc void WorkspaceLayoutManager::OnWindowStackingChanged(aura::Window* window) { window 176 ash/wm/workspace/workspace_layout_manager.cc backdrop_delegate_->OnWindowStackingChanged(window); window 179 ash/wm/workspace/workspace_layout_manager.cc void WorkspaceLayoutManager::OnWindowDestroying(aura::Window* window) { window 180 ash/wm/workspace/workspace_layout_manager.cc if (root_window_ == window) { window 186 ash/wm/workspace/workspace_layout_manager.cc void WorkspaceLayoutManager::OnWindowBoundsChanged(aura::Window* window, window 189 ash/wm/workspace/workspace_layout_manager.cc if (root_window_ == window) { window 48 ash/wm/workspace/workspace_layout_manager.h explicit WorkspaceLayoutManager(aura::Window* window); window 75 ash/wm/workspace/workspace_layout_manager.h virtual void OnWindowPropertyChanged(aura::Window* window, window 78 ash/wm/workspace/workspace_layout_manager.h virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; window 79 ash/wm/workspace/workspace_layout_manager.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 80 ash/wm/workspace/workspace_layout_manager.h virtual void OnWindowBoundsChanged(aura::Window* window, window 37 ash/wm/workspace/workspace_layout_manager_delegate.h virtual void OnWindowStackingChanged(aura::Window* window) = 0; window 100 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 103 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(bounds); window 105 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 112 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("10,15 25x35", window.get()->bounds().ToString()); window 118 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), window 120 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(Shell::GetAllRootWindows()[1], window->GetRootWindow()); window 125 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("600,0 100x100", window->GetBoundsInScreen().ToString()); window 132 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(Shell::GetPrimaryRootWindow(), window->GetRootWindow()); window 134 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); window 162 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 164 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 171 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); window 173 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("-20,0 30x40", window->bounds().ToString()); window 176 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(gfx::Rect(-100, -100, 30, 40)); window 179 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); window 180 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("-100,-100 30x40", window->bounds().ToString()); window 181 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 183 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); window 185 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("-20,0 30x40", window->bounds().ToString()); window 188 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 30, 40)); // reset bounds. window 189 ash/wm/workspace/workspace_layout_manager_unittest.cc ASSERT_EQ("0,0 30x40", window->bounds().ToString()); window 190 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); window 191 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(window->bounds(), window->GetRootWindow()->bounds()); window 195 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); window 197 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("-20,0 30x40", window->bounds().ToString()); window 207 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 209 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 211 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 216 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 217 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("300,0 400x453", window->GetBoundsInScreen().ToString()); window 220 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 221 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("400,0 30x40", window->GetBoundsInScreen().ToString()); window 227 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 228 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("300,0 400x453", window->GetBoundsInScreen().ToString()); window 231 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 232 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("280,0 30x40", window->GetBoundsInScreen().ToString()); window 257 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 259 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[0], window->GetRootWindow()); window 261 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 265 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, window 267 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 268 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("300,0 400x500", window->GetBoundsInScreen().ToString()); window 271 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 272 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("400,0 30x40", window->GetBoundsInScreen().ToString()); window 277 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, window 279 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 280 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("300,0 400x500", window->GetBoundsInScreen().ToString()); window 283 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], window->GetRootWindow()); window 284 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("280,0 30x40", window->GetBoundsInScreen().ToString()); window 295 ash/wm/workspace/workspace_layout_manager_unittest.cc void set_window(aura::Window* window) { window_ = window; } window 297 ash/wm/workspace/workspace_layout_manager_unittest.cc virtual void OnWindowPropertyChanged(aura::Window* window, window 303 ash/wm/workspace/workspace_layout_manager_unittest.cc if (wm::GetWindowState(window)->IsMaximized()) { window 326 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(NULL)); window 327 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 328 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 329 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(gfx::Rect(10, 20, 30, 40)); window 332 ash/wm/workspace/workspace_layout_manager_unittest.cc window->AddObserver(&window_observer); window 333 ash/wm/workspace/workspace_layout_manager_unittest.cc ParentWindowInPrimaryRootWindow(window.get()); window 334 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 336 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 341 ash/wm/workspace/workspace_layout_manager_unittest.cc ::wm::AddTransientChild(window.get(), window2.get()); window 348 ash/wm/workspace/workspace_layout_manager_unittest.cc window->RemoveObserver(&window_observer); window 353 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 355 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 356 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 360 ash/wm/workspace/workspace_layout_manager_unittest.cc window.get())); window 369 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 372 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::GetWindowState(window.get())->Maximize(); window 375 ash/wm/workspace/workspace_layout_manager_unittest.cc default_container->AddChild(window.get()); window 376 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 379 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(work_area.ToString(), window->GetBoundsInScreen().ToString()); window 385 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 387 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(window_bounds, window->bounds()); window 408 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::GetWindowState(window.get())->set_bounds_changed_by_user(true); window 456 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 459 ash/wm/workspace/workspace_layout_manager_unittest.cc window->bounds().ToString()); window 463 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(window_bounds); window 465 ash/wm/workspace/workspace_layout_manager_unittest.cc window->bounds().ToString()); window 538 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 539 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); window 542 ash/wm/workspace/workspace_layout_manager_unittest.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window.get()).ToString(), window 543 ash/wm/workspace/workspace_layout_manager_unittest.cc window->bounds().ToString()); window 544 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 545 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(bounds.ToString(), window->bounds().ToString()); window 551 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 552 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MINIMIZED); window 555 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(bounds.ToString(), window->bounds().ToString()); window 556 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 557 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(bounds.ToString(), window->bounds().ToString()); window 570 ash/wm/workspace/workspace_layout_manager_unittest.cc void set_window(aura::Window* window) { window_ = window; } window 600 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithDelegate( window 602 ash/wm/workspace/workspace_layout_manager_unittest.cc delegate.set_window(window.get()); window 603 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MINIMIZED); window 604 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_FALSE(window->IsVisible()); window 606 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 607 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_TRUE(window->IsVisible()); window 614 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 615 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); window 617 ash/wm/workspace/workspace_layout_manager_unittest.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window.get()); window 618 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(initial_work_area_bounds.ToString(), window->bounds().ToString()); window 622 ash/wm/workspace/workspace_layout_manager_unittest.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window.get()).ToString(), window 623 ash/wm/workspace/workspace_layout_manager_unittest.cc window->bounds().ToString()); window 626 ash/wm/workspace/workspace_layout_manager_unittest.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window.get()).ToString()); window 632 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 633 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); window 636 ash/wm/workspace/workspace_layout_manager_unittest.cc window.get()).bounds().ToString(), window 637 ash/wm/workspace/workspace_layout_manager_unittest.cc window->bounds().ToString()); window 638 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 639 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(bounds.ToString(), window->bounds().ToString()); window 645 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); window 647 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); window 649 ash/wm/workspace/workspace_layout_manager_unittest.cc window.get()).bounds().ToString(), window 650 ash/wm/workspace/workspace_layout_manager_unittest.cc window->bounds().ToString()); window 654 ash/wm/workspace/workspace_layout_manager_unittest.cc window.get()).bounds().ToString(), window 655 ash/wm/workspace/workspace_layout_manager_unittest.cc window->bounds().ToString()); window 661 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window( window 664 ash/wm/workspace/workspace_layout_manager_unittest.cc window.get()).work_area(); window 666 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().width(), work_area.width()); window 667 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().height(), work_area.height()); window 672 ash/wm/workspace/workspace_layout_manager_unittest.cc window.get()).work_area(); window 673 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().width(), work_area.width()); window 674 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().height(), work_area.height()); window 679 ash/wm/workspace/workspace_layout_manager_unittest.cc window.get()).work_area(); window 680 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().width(), work_area.width()); window 681 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().height(), work_area.height()); window 684 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect old_bounds = window->bounds(); window 686 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(old_bounds.width(), window->bounds().width()); window 687 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(old_bounds.height(), window->bounds().height()); window 693 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(10, 20, 30, 40))); window 694 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 697 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); window 701 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 702 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("10,20 30x40", window->bounds().ToString()); window 708 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); window 710 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 714 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); window 722 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); window 724 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(bounds); window 726 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window 738 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 744 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(bounds.ToString(), window->bounds().ToString()); window 750 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); window 752 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetProperty(aura::client::kAlwaysOnTopKey, true); window 753 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 755 ash/wm/workspace/workspace_layout_manager_unittest.cc ShelfLayoutManager* shelf = ShelfLayoutManager::ForShelf(window.get()); window 758 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(ScreenUtil::GetMaximizedWindowBoundsInParent(window.get())); window 759 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect window_bounds = window->bounds(); window 761 ash/wm/workspace/workspace_layout_manager_unittest.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window.get()).ToString(), window 767 ash/wm/workspace/workspace_layout_manager_unittest.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window.get()).ToString(), window 772 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(window_bounds.ToString(), window->bounds().ToString()); window 795 ash/wm/workspace/workspace_layout_manager_unittest.cc aura::Window* window = CreateTestWindowInShellWithBounds(bounds); window 796 ash/wm/workspace/workspace_layout_manager_unittest.cc return window; window 868 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); window 869 ash/wm/workspace/workspace_layout_manager_unittest.cc window->Show(); window 873 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(window.get(), default_container()->children()[1]); window 47 ash/wm/workspace/workspace_window_resizer.cc aura::Window* window, window 51 ash/wm/workspace/workspace_window_resizer.cc DCHECK(window); window 52 ash/wm/workspace/workspace_window_resizer.cc wm::WindowState* window_state = wm::GetWindowState(window); window 84 ash/wm/workspace/workspace_window_resizer.cc window_state->CreateDragDetails(window, point_in_parent, window_component, window 86 ash/wm/workspace/workspace_window_resizer.cc if (window->parent() && window 87 ash/wm/workspace/workspace_window_resizer.cc (window->parent()->id() == kShellWindowId_DefaultContainer || window 88 ash/wm/workspace/workspace_window_resizer.cc window->parent()->id() == kShellWindowId_DockedContainer || window 89 ash/wm/workspace/workspace_window_resizer.cc window->parent()->id() == kShellWindowId_PanelContainer)) { window 96 ash/wm/workspace/workspace_window_resizer.cc if (window->type() == ui::wm::WINDOW_TYPE_PANEL) window 98 ash/wm/workspace/workspace_window_resizer.cc if (switches::UseDockedWindows() && window_resizer && window->parent() && window 99 ash/wm/workspace/workspace_window_resizer.cc !::wm::GetTransientParent(window) && window 100 ash/wm/workspace/workspace_window_resizer.cc (window->parent()->id() == kShellWindowId_DefaultContainer || window 101 ash/wm/workspace/workspace_window_resizer.cc window->parent()->id() == kShellWindowId_DockedContainer || window 102 ash/wm/workspace/workspace_window_resizer.cc window->parent()->id() == kShellWindowId_PanelContainer)) { window 754 ash/wm/workspace/workspace_window_resizer.cc if (other_state->window() == GetTarget() || window 755 ash/wm/workspace/workspace_window_resizer.cc !other_state->window()->IsVisible() || window 761 ash/wm/workspace/workspace_window_resizer.cc other_state->window()->GetBoundsInScreen(), &magnetism_edge_)) { window 762 ash/wm/workspace/workspace_window_resizer.cc magnetism_window_ = other_state->window(); window 986 ash/wm/workspace/workspace_window_resizer.cc aura::Window* window = i->second; window 989 ash/wm/workspace/workspace_window_resizer.cc parent->StackChildBelow(i->second, window); window 145 ash/wm/workspace/workspace_window_resizer_unittest.cc aura::Window* window, window 149 ash/wm/workspace/workspace_window_resizer_unittest.cc window, window 157 ash/wm/workspace/workspace_window_resizer_unittest.cc aura::Window* window, window 162 ash/wm/workspace/workspace_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 164 ash/wm/workspace/workspace_window_resizer_unittest.cc window, point_in_parent, window_component, source); window 47 ash/wm/workspace_controller_unittest.cc std::string GetWindowNames(const aura::Window* window) { window 49 ash/wm/workspace_controller_unittest.cc for (size_t i = 0; i < window->children().size(); ++i) { window 52 ash/wm/workspace_controller_unittest.cc result += window->children()[i]->name(); window 61 ash/wm/workspace_controller_unittest.cc std::string GetLayerNames(const aura::Window* window) { window 64 ash/wm/workspace_controller_unittest.cc for (size_t i = 0; i < window->children().size(); ++i) { window 65 ash/wm/workspace_controller_unittest.cc window_names[window->children()[i]->layer()] = window 66 ash/wm/workspace_controller_unittest.cc window->children()[i]->name(); window 70 ash/wm/workspace_controller_unittest.cc const std::vector<ui::Layer*>& layers(window->layer()->children()); window 89 ash/wm/workspace_controller_unittest.cc aura::Window* window = new aura::Window(NULL); window 90 ash/wm/workspace_controller_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 91 ash/wm/workspace_controller_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 92 ash/wm/workspace_controller_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 93 ash/wm/workspace_controller_unittest.cc return window; window 97 ash/wm/workspace_controller_unittest.cc aura::Window* window = new aura::Window(NULL); window 98 ash/wm/workspace_controller_unittest.cc window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); window 99 ash/wm/workspace_controller_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 100 ash/wm/workspace_controller_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 101 ash/wm/workspace_controller_unittest.cc ParentWindowInPrimaryRootWindow(window); window 102 ash/wm/workspace_controller_unittest.cc return window; window 106 ash/wm/workspace_controller_unittest.cc aura::Window* window = CreateTestWindow(); window 107 ash/wm/workspace_controller_unittest.cc window->SetBounds(bounds); window 108 ash/wm/workspace_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window 110 ash/wm/workspace_controller_unittest.cc window->Show(); window 111 ash/wm/workspace_controller_unittest.cc return window; window 115 ash/wm/workspace_controller_unittest.cc aura::Window* window = CreateTestWindowInShellWithBounds(bounds); window 116 ash/wm/workspace_controller_unittest.cc window->Show(); window 117 ash/wm/workspace_controller_unittest.cc return window; window 122 ash/wm/workspace_controller_unittest.cc aura::Window* window = CreateTestWindowInShellWithDelegateAndType( window 129 ash/wm/workspace_controller_unittest.cc shelf_delegate->AddShelfItem(window); window 131 ash/wm/workspace_controller_unittest.cc Shell::GetContainer(window->GetRootWindow(), window 134 ash/wm/workspace_controller_unittest.cc return window; window 142 ash/wm/workspace_controller_unittest.cc gfx::Rect GetFullscreenBounds(aura::Window* window) { window 143 ash/wm/workspace_controller_unittest.cc return Shell::GetScreen()->GetDisplayNearestWindow(window).bounds(); window 647 ash/wm/workspace_controller_unittest.cc void set_window(aura::Window* window) { window_ = window; } window 1218 ash/wm/workspace_controller_unittest.cc DragMaximizedNonTrackedWindowObserver(aura::Window* window) window 1220 ash/wm/workspace_controller_unittest.cc window_(window) { window 1419 ash/wm/workspace_controller_unittest.cc scoped_ptr<Window> window(CreateTestPanel(&delegate, window 1421 ash/wm/workspace_controller_unittest.cc ui::EventTarget* root = window->GetRootWindow(); window 1423 ash/wm/workspace_controller_unittest.cc const gfx::Rect bounds = window->bounds(); window 1443 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(window.get(), target); window 1445 ash/wm/workspace_controller_unittest.cc EXPECT_NE(window.get(), target); window 1451 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(window.get(), target); window 1453 ash/wm/workspace_controller_unittest.cc EXPECT_NE(window.get(), target); window 1465 ash/wm/workspace_controller_unittest.cc scoped_ptr<Window> window(aura::test::CreateTestWindowWithDelegate(&delegate, window 1467 ash/wm/workspace_controller_unittest.cc ParentWindowInPrimaryRootWindow(window.get()); window 1469 ash/wm/workspace_controller_unittest.cc window->GetRootWindow(), kShellWindowId_DockedContainer); window 1470 ash/wm/workspace_controller_unittest.cc docked_container->AddChild(window.get()); window 1471 ash/wm/workspace_controller_unittest.cc window->Show(); window 1472 ash/wm/workspace_controller_unittest.cc ui::EventTarget* root = window->GetRootWindow(); window 1474 ash/wm/workspace_controller_unittest.cc const gfx::Rect bounds = window->bounds(); window 1494 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(window.get(), target); window 1496 ash/wm/workspace_controller_unittest.cc EXPECT_NE(window.get(), target); window 1502 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(window.get(), target); window 1504 ash/wm/workspace_controller_unittest.cc EXPECT_NE(window.get(), target); window 242 base/message_loop/message_loop_unittest.cc HWND window = GetActiveWindow(); window 243 base/message_loop/message_loop_unittest.cc if (window != NULL) { window 244 base/message_loop/message_loop_unittest.cc EXPECT_NE(EndDialog(window, IDCONTINUE), 0); window 299 base/message_loop/message_loop_unittest.cc HWND window = FindWindow(L"#32770", kMessageBoxTitle); window 300 base/message_loop/message_loop_unittest.cc if (window) { window 303 base/message_loop/message_loop_unittest.cc HWND button = FindWindowEx(window, NULL, L"Button", NULL); window 93 base/message_loop/message_pump_x11.cc Window target = xev->xany.window; window 31 base/win/message_window_unittest.cc win::MessageWindow window; window 32 base/win/message_window_unittest.cc EXPECT_TRUE(window.Create(base::Bind(&HandleMessage))); window 37 base/win/message_window_unittest.cc win::MessageWindow window; window 38 base/win/message_window_unittest.cc EXPECT_TRUE(window.CreateNamed(base::Bind(&HandleMessage), window 44 base/win/message_window_unittest.cc win::MessageWindow window; window 45 base/win/message_window_unittest.cc EXPECT_TRUE(window.Create(base::Bind(&HandleMessage))); window 47 base/win/message_window_unittest.cc EXPECT_EQ(SendMessage(window.hwnd(), WM_USER, 100, 0), 100); window 53 base/win/message_window_unittest.cc win::MessageWindow window; window 54 base/win/message_window_unittest.cc EXPECT_TRUE(window.CreateNamed(base::Bind(&HandleMessage), name)); window 66 base/win/wrapped_window_proc_unittest.cc HWND window = CreateWindow(class_name.c_str(), 0, 0, 0, 0, 0, 0, HWND_MESSAGE, window 68 base/win/wrapped_window_proc_unittest.cc ASSERT_TRUE(window); window 75 base/win/wrapped_window_proc_unittest.cc SendMessage(window, kCrashMsg, 0, 0); window 108 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java ForeignSessionWindow window = new ForeignSessionWindow(timestamp, sessionId); window 109 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java session.windows.add(window); window 110 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java return window; window 115 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java ForeignSessionWindow window, String url, String title, long timestamp, int sessionId) { window 117 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java window.tabs.add(tab); window 70 chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java void showJavascriptAppModalDialog(WindowAndroid window, long nativeDialogPointer) { window 71 chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java assert window != null; window 72 chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java Context context = window.getActivity().get(); window 227 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java private static boolean selectClientCertificate(final long nativePtr, final WindowAndroid window, window 232 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java final Activity activity = window.getActivity().get(); window 291 chrome/android/java/src/org/chromium/chrome/browser/Tab.java public Tab(boolean incognito, Context context, WindowAndroid window) { window 292 chrome/android/java/src/org/chromium/chrome/browser/Tab.java this(INVALID_TAB_ID, incognito, context, window); window 302 chrome/android/java/src/org/chromium/chrome/browser/Tab.java public Tab(int id, boolean incognito, Context context, WindowAndroid window) { window 303 chrome/android/java/src/org/chromium/chrome/browser/Tab.java this(INVALID_TAB_ID, id, incognito, context, window); window 314 chrome/android/java/src/org/chromium/chrome/browser/Tab.java public Tab(int id, int parentId, boolean incognito, Context context, WindowAndroid window) { window 324 chrome/android/java/src/org/chromium/chrome/browser/Tab.java mWindowAndroid = window; window 344 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java public void onIntentCompleted(WindowAndroid window, int resultCode, window 136 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java public void fillWindow(int position, CursorWindow window) { window 140 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java window.acquireReference(); window 144 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java window.clear(); window 145 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java window.setStartPosition(position); window 147 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java window.setNumColumns(columnNum); window 148 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java while (moveToNext() && window.allocRow()) { window 153 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java hasRoom = fillRow(window, Double.valueOf(getDouble(i)), mPos, i); window 156 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java hasRoom = fillRow(window, Long.valueOf(getLong(i)), mPos, i); window 159 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java hasRoom = fillRow(window, getBlob(i), mPos, i); window 162 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java hasRoom = fillRow(window, getString(i), mPos, i); window 165 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java hasRoom = fillRow(window, null, mPos, i); window 177 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java window.releaseReference(); window 187 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java private boolean fillRow(CursorWindow window, Object value, int pos, int column) { window 188 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java if (putValue(window, value, pos, column)) { window 191 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java window.freeLastRow(); window 202 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java private boolean putValue(CursorWindow window, Object value, int pos, int column) { window 204 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java return window.putNull(pos, column); window 206 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java return window.putLong((Long) value, pos, column); window 208 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java return window.putString((String) value, pos, column); window 210 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java return window.putBlob((byte[]) value, pos, column); window 212 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java return window.putDouble((Double) value, pos, column); window 214 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java return window.putNull(pos, column); window 35 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java public ChromeShellTab(Context context, String url, WindowAndroid window, window 37 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java super(false, context, window); window 55 chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java public void initialize(WindowAndroid window, ContentVideoViewClient videoViewClient) { window 56 chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java assert window != null; window 57 chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java mWindow = window; window 67 chrome/browser/android/foreign_session_helper.cc bool ShouldSkipWindow(const SessionWindow& window) { window 68 chrome/browser/android/foreign_session_helper.cc for (std::vector<SessionTab*>::const_iterator tab_it = window.tabs.begin(); window 69 chrome/browser/android/foreign_session_helper.cc tab_it != window.tabs.end(); ++tab_it) { window 80 chrome/browser/android/foreign_session_helper.cc const SessionWindow &window = *(it->second); window 81 chrome/browser/android/foreign_session_helper.cc if (!ShouldSkipWindow(window)) window 89 chrome/browser/android/foreign_session_helper.cc const SessionWindow& window, window 91 chrome/browser/android/foreign_session_helper.cc for (std::vector<SessionTab*>::const_iterator tab_it = window.tabs.begin(); window 92 chrome/browser/android/foreign_session_helper.cc tab_it != window.tabs.end(); ++tab_it) { window 122 chrome/browser/android/foreign_session_helper.cc const SessionWindow &window = *(it->second); window 124 chrome/browser/android/foreign_session_helper.cc if (ShouldSkipWindow(window)) window 131 chrome/browser/android/foreign_session_helper.cc window.timestamp.ToJavaTime(), window 132 chrome/browser/android/foreign_session_helper.cc window.window_id.id())); window 134 chrome/browser/android/foreign_session_helper.cc CopyTabsToJava(env, window, last_pushed_window); window 203 chrome/browser/apps/app_browsertest.cc AppWindow* window = CreateAppWindow(extension); window 204 chrome/browser/apps/app_browsertest.cc CloseAppWindow(window); window 734 chrome/browser/apps/app_browsertest.cc AppWindow* window = CreateAppWindow(extension); window 742 chrome/browser/apps/app_browsertest.cc CallAdjustBoundsToBeVisibleOnScreenForAppWindow(window, window 752 chrome/browser/apps/app_browsertest.cc CallAdjustBoundsToBeVisibleOnScreenForAppWindow(window, window 764 chrome/browser/apps/app_browsertest.cc window, window 776 chrome/browser/apps/app_browsertest.cc window, window 786 chrome/browser/apps/app_browsertest.cc CallAdjustBoundsToBeVisibleOnScreenForAppWindow(window, window 796 chrome/browser/apps/app_browsertest.cc CallAdjustBoundsToBeVisibleOnScreenForAppWindow(window, window 824 chrome/browser/apps/app_browsertest.cc AppWindow* window = GetFirstAppWindow(); window 825 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(window); window 826 chrome/browser/apps/app_browsertest.cc ASSERT_EQ(window->window_key().empty(), (test_flags & HAS_ID) == 0); window 827 chrome/browser/apps/app_browsertest.cc content::RenderViewHost* rvh = window->web_contents()->GetRenderViewHost(); window 837 chrome/browser/apps/app_browsertest.cc CloseAppWindow(window); window 847 chrome/browser/apps/app_browsertest.cc window = GetFirstAppWindow(); window 848 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(window); window 851 chrome/browser/apps/app_browsertest.cc rvh = window->web_contents()->GetRenderViewHost(); window 111 chrome/browser/apps/app_browsertest_util.cc AppWindow* window = GetFirstAppWindow(); window 112 chrome/browser/apps/app_browsertest_util.cc if (window) window 113 chrome/browser/apps/app_browsertest_util.cc return window->web_contents(); window 195 chrome/browser/apps/app_browsertest_util.cc AppWindow* window = new AppWindow( window 197 chrome/browser/apps/app_browsertest_util.cc window->Init( window 198 chrome/browser/apps/app_browsertest_util.cc GURL(std::string()), new apps::AppWindowContentsImpl(window), params); window 199 chrome/browser/apps/app_browsertest_util.cc return window; window 202 chrome/browser/apps/app_browsertest_util.cc void PlatformAppBrowserTest::CloseAppWindow(AppWindow* window) { window 204 chrome/browser/apps/app_browsertest_util.cc window->web_contents()); window 205 chrome/browser/apps/app_browsertest_util.cc window->GetBaseWindow()->Close(); window 210 chrome/browser/apps/app_browsertest_util.cc AppWindow* window, window 216 chrome/browser/apps/app_browsertest_util.cc window->AdjustBoundsToBeVisibleOnScreen(cached_bounds, window 92 chrome/browser/apps/app_browsertest_util.h void CloseAppWindow(apps::AppWindow* window); window 96 chrome/browser/apps/app_browsertest_util.h apps::AppWindow* window, window 20 chrome/browser/apps/app_window_interactive_uitest.cc explicit FullscreenChangeWaiter(NativeAppWindow* window) window 21 chrome/browser/apps/app_window_interactive_uitest.cc : window_(window), window 1057 chrome/browser/apps/web_view_browsertest.cc apps::AppWindow* window = GetFirstAppWindow(); window 1058 chrome/browser/apps/web_view_browsertest.cc window->GetBaseWindow()->Close(); window 1732 chrome/browser/apps/web_view_browsertest.cc apps::AppWindow* window = NULL; window 1734 chrome/browser/apps/web_view_browsertest.cc window = CreateAppWindow(extension); window 1736 chrome/browser/apps/web_view_browsertest.cc window = GetFirstAppWindow(); window 1737 chrome/browser/apps/web_view_browsertest.cc CloseAppWindow(window); window 60 chrome/browser/autocomplete/autocomplete_browsertest.cc return browser()->window()->GetLocationBar(); window 95 chrome/browser/chrome_plugin_browsertest.cc static void LoadAndWait(Browser* window, const GURL& url, bool pass) { window 97 chrome/browser/chrome_plugin_browsertest.cc window->tab_strip_model()->GetActiveWebContents(); window 104 chrome/browser/chrome_plugin_browsertest.cc ui_test_utils::NavigateToURL(window, url); window 94 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc gfx::NativeWindow window = ash::Shell::GetInstance()->GetPrimaryRootWindow(); window 95 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc ui_controls::SendKeyPress(window, ui::VKEY_X, false, false, false, false); window 103 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc ui_controls::SendKeyPress(window, ui::VKEY_Y, false, false, false, false); window 106 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc ui_controls::SendKeyPress(window, ui::VKEY_Z, false, false, false, false); window 109 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc ui_controls::SendKeyPress(window, ui::VKEY_BACK, false, false, false, false); window 145 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc gfx::NativeWindow window = widget->GetNativeWindow(); window 155 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc ui_controls::SendKeyPress(window, ui::VKEY_TAB, false, false, false, false); window 90 chrome/browser/chromeos/app_mode/app_session_lifetime.cc browser->window()->Close(); window 40 chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc gfx::NativeWindow window) window 43 chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc window, window 20 chrome/browser/chromeos/app_mode/certificate_manager_dialog.h gfx::NativeWindow window); window 117 chrome/browser/chromeos/drive/file_task_executor.cc displayer.browser()->window()->GetNativeWindow()); window 2354 chrome/browser/chromeos/events/event_rewriter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(1)); window 2355 chrome/browser/chromeos/events/event_rewriter_unittest.cc ash::wm::WindowState* window_state = ash::wm::GetWindowState(window.get()); window 267 chrome/browser/chromeos/extensions/echo_private_api.cc dialog->Show(GetCurrentBrowser()->window()->GetNativeWindow()); window 918 chrome/browser/chromeos/extensions/file_manager/event_router.cc void EventRouter::OnOwnerEntryChanged(aura::Window* window) { window 138 chrome/browser/chromeos/extensions/file_manager/event_router.h virtual void OnOwnerEntryChanged(aura::Window* window) OVERRIDE; window 195 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc if (!browser->window()) window 217 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc browser->window()->GetNativeWindow(), NULL /* params */); window 219 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc return dialog_->IsRunning(browser->window()->GetNativeWindow()); window 75 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc aura::Window *window = ash::Shell::GetPrimaryRootWindow(); window 76 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc ui::InputMethod* input_method = window->GetProperty( window 121 chrome/browser/chromeos/extensions/wallpaper_private_api.cc void RemoveObserverIfUnreferenced(aura::Window* window); window 124 chrome/browser/chromeos/extensions/wallpaper_private_api.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 211 chrome/browser/chromeos/extensions/wallpaper_private_api.cc void WindowStateManager::RemoveObserverIfUnreferenced(aura::Window* window) { window 216 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (iter->second.find(window) != iter->second.end()) window 220 chrome/browser/chromeos/extensions/wallpaper_private_api.cc window->RemoveObserver(this); window 223 chrome/browser/chromeos/extensions/wallpaper_private_api.cc void WindowStateManager::OnWindowDestroyed(aura::Window* window) { window 228 chrome/browser/chromeos/extensions/wallpaper_private_api.cc iter->second.erase(window); window 46 chrome/browser/chromeos/file_manager/open_util.cc browser ? browser->window()->GetNativeWindow() : NULL, window 115 chrome/browser/chromeos/file_manager/open_with_browser.cc displayer.browser()->window()->GetNativeWindow()); window 376 chrome/browser/chromeos/login/kiosk_browsertest.cc apps::AppWindow* window = window 378 chrome/browser/chromeos/login/kiosk_browsertest.cc EXPECT_TRUE(window); window 1185 chrome/browser/chromeos/login/kiosk_browsertest.cc apps::AppWindow* window = window 1189 chrome/browser/chromeos/login/kiosk_browsertest.cc ASSERT_TRUE(window); window 1194 chrome/browser/chromeos/login/kiosk_browsertest.cc window->web_contents(), window 1203 chrome/browser/chromeos/login/kiosk_browsertest.cc window->GetBaseWindow()->Close(); window 215 chrome/browser/chromeos/login/login_display.h void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; } window 57 chrome/browser/chromeos/login/proxy_settings_dialog.cc gfx::NativeWindow window) window 60 chrome/browser/chromeos/login/proxy_settings_dialog.cc window, window 26 chrome/browser/chromeos/login/proxy_settings_dialog.h gfx::NativeWindow window); window 72 chrome/browser/chromeos/login/screen_locker_browsertest.cc browser_->window()->IsFullscreen() != fullscreen) { window 183 chrome/browser/chromeos/login/screen_locker_browsertest.cc BrowserWindow* browser_window = browser()->window(); window 47 chrome/browser/chromeos/login/session_login_browsertest.cc EXPECT_TRUE(browser->window()->IsActive()); window 49 chrome/browser/chromeos/login/session_login_browsertest.cc views::FocusManager* focus_manager = browser->window()-> window 53 chrome/browser/chromeos/options/network_config_view.cc return browser->window()->GetNativeWindow(); window 282 chrome/browser/chromeos/options/network_config_view.cc Widget* window = DialogDelegate::CreateDialogWidget(this, context, parent); window 283 chrome/browser/chromeos/options/network_config_view.cc window->SetAlwaysOnTop(true); window 284 chrome/browser/chromeos/options/network_config_view.cc window->Show(); window 665 chrome/browser/chromeos/policy/device_local_account_browsertest.cc BrowserWindow* browser_window = browser->window(); window 1142 chrome/browser/chromeos/policy/device_local_account_browsertest.cc BrowserWindow* browser_window = browser->window(); window 1175 chrome/browser/chromeos/policy/device_local_account_browsertest.cc browser_window = first_browser->window(); window 1189 chrome/browser/chromeos/policy/device_local_account_browsertest.cc browser_window = second_browser->window(); window 1216 chrome/browser/chromeos/policy/device_local_account_browsertest.cc browser_window = browser->window(); window 84 chrome/browser/devtools/devtools_sanity_browsertest.cc void RunTestFunction(DevToolsWindow* window, const char* test_name) { window 92 chrome/browser/devtools/devtools_sanity_browsertest.cc window->GetRenderViewHost(), window 99 chrome/browser/devtools/devtools_sanity_browsertest.cc window->GetRenderViewHost(), window 259 chrome/browser/devtools/devtools_sanity_browsertest.cc DevToolsWindow* window = DevToolsWindow::OpenDevToolsWindowForTest( window 261 chrome/browser/devtools/devtools_sanity_browsertest.cc ui_test_utils::WaitUntilDevToolsWindowLoaded(window); window 262 chrome/browser/devtools/devtools_sanity_browsertest.cc return window; window 193 chrome/browser/devtools/devtools_window.cc explicit FrontendWebContentsObserver(DevToolsWindow* window); window 326 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = GetInstanceForInspectedRenderViewHost( window 328 chrome/browser/devtools/devtools_window.cc if (!window) window 332 chrome/browser/devtools/devtools_window.cc bool is_docked_set = window->load_state_ == kLoadCompleted || window 333 chrome/browser/devtools/devtools_window.cc window->load_state_ == kIsDockedSet; window 334 chrome/browser/devtools/devtools_window.cc return window->is_docked_ && is_docked_set ? window : NULL; window 357 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = FindDevToolsWindow(worker_agent); window 358 chrome/browser/devtools/devtools_window.cc if (!window) { window 359 chrome/browser/devtools/devtools_window.cc window = DevToolsWindow::CreateDevToolsWindowForWorker(profile); window 362 chrome/browser/devtools/devtools_window.cc worker_agent, window->frontend_host_.get()); window 364 chrome/browser/devtools/devtools_window.cc window->ScheduleShow(DevToolsToggleAction::Show()); window 365 chrome/browser/devtools/devtools_window.cc return window; window 394 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = OpenDevToolsWindow(inspected_rvh); window 395 chrome/browser/devtools/devtools_window.cc window->SetIsDockedAndShowImmediatelyForTest(is_docked); window 396 chrome/browser/devtools/devtools_window.cc return window; window 428 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = FindDevToolsWindow(agent_host); window 429 chrome/browser/devtools/devtools_window.cc if (!window) { window 430 chrome/browser/devtools/devtools_window.cc window = Create(profile, DevToolsUI::GetProxyURL(frontend_url), NULL, window 433 chrome/browser/devtools/devtools_window.cc agent_host, window->frontend_host_.get()); window 435 chrome/browser/devtools/devtools_window.cc window->ScheduleShow(DevToolsToggleAction::Show()); window 446 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = FindDevToolsWindow(agent.get()); window 448 chrome/browser/devtools/devtools_window.cc if (!window) { window 453 chrome/browser/devtools/devtools_window.cc window = Create(profile, GURL(), inspected_rvh, false, false, true); window 455 chrome/browser/devtools/devtools_window.cc window->frontend_host_.get()); window 460 chrome/browser/devtools/devtools_window.cc window->UpdateBrowserToolbar(); window 464 chrome/browser/devtools/devtools_window.cc if (!window->is_docked_ || do_open) window 465 chrome/browser/devtools/devtools_window.cc window->ScheduleShow(action); window 467 chrome/browser/devtools/devtools_window.cc window->CloseWindow(); window 469 chrome/browser/devtools/devtools_window.cc return window; window 483 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = OpenDevToolsWindow(inspected_rvh); window 485 chrome/browser/devtools/devtools_window.cc window->inspect_element_start_time_ = start_time; window 541 chrome/browser/devtools/devtools_window.cc BrowserWindow* inspected_window = inspected_browser->window(); window 571 chrome/browser/devtools/devtools_window.cc browser_->window()->Show(); window 581 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = AsDevToolsWindow( window 583 chrome/browser/devtools/devtools_window.cc if (!window) window 585 chrome/browser/devtools/devtools_window.cc if (!window->intercepted_page_beforeunload_) window 587 chrome/browser/devtools/devtools_window.cc window->BeforeUnloadFired(frontend_contents, proceed, window 594 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = window 597 chrome/browser/devtools/devtools_window.cc if (!window || window->intercepted_page_beforeunload_) window 601 chrome/browser/devtools/devtools_window.cc if (window->load_state_ != kLoadCompleted) window 604 chrome/browser/devtools/devtools_window.cc window->intercepted_page_beforeunload_ = true; window 607 chrome/browser/devtools/devtools_window.cc if (!DevToolsWindow::InterceptPageBeforeUnload(window->web_contents())) { window 608 chrome/browser/devtools/devtools_window.cc window->web_contents()->GetMainFrame()->DispatchBeforeUnload(false); window 616 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = window 619 chrome/browser/devtools/devtools_window.cc return window && !window->intercepted_page_beforeunload_; window 633 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = AsDevToolsWindow(contents->GetRenderViewHost()); window 634 chrome/browser/devtools/devtools_window.cc if (!window) window 636 chrome/browser/devtools/devtools_window.cc return window->intercepted_page_beforeunload_; window 641 chrome/browser/devtools/devtools_window.cc DevToolsWindow *window = window 644 chrome/browser/devtools/devtools_window.cc if (!window) window 646 chrome/browser/devtools/devtools_window.cc window->intercepted_page_beforeunload_ = false; window 648 chrome/browser/devtools/devtools_window.cc DevToolsWindow::OnPageCloseCanceled(window->web_contents()); window 945 chrome/browser/devtools/devtools_window.cc inspected_browser->window()->WebContentsFocused(contents); window 989 chrome/browser/devtools/devtools_window.cc else if (!is_docked_ && !browser_->window()->IsActive()) window 990 chrome/browser/devtools/devtools_window.cc browser_->window()->Activate(); window 998 chrome/browser/devtools/devtools_window.cc browser_->window()->Activate(); window 1041 chrome/browser/devtools/devtools_window.cc gfx::Rect bounds = browser_->window()->GetBounds(); window 1043 chrome/browser/devtools/devtools_window.cc browser_->window()->SetBounds(bounds); window 1392 chrome/browser/devtools/devtools_window.cc browser->window() : NULL; window 476 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 771 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser->window()->IsDownloadShelfVisible()); window 1134 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1154 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1187 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1205 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1241 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1288 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1314 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1333 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1340 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1343 chrome/browser/download/download_browsertest.cc browser()->window()->GetDownloadShelf()->Close(DownloadShelf::AUTOMATIC); window 1344 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1351 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1365 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1370 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1414 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(incognito->window()->IsDownloadShelfVisible()); window 1436 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1469 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1501 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(incognito->window()->IsDownloadShelfVisible()); window 1528 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1545 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1575 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1615 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1646 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1679 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 1711 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 1721 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(download_browser->window()->IsDownloadShelfVisible()); window 1743 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2041 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2063 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2102 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2139 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2201 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2237 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 2273 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2768 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 2836 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 2902 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 2927 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 3013 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 3036 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(browser()->window()->IsDownloadShelfVisible()); window 58 chrome/browser/download/download_status_updater_win.cc BrowserWindow* window = browser->window(); window 59 chrome/browser/download/download_status_updater_win.cc if (!window) window 61 chrome/browser/download/download_status_updater_win.cc HWND frame = views::HWNDForNativeWindow(window->GetNativeWindow()); window 402 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 439 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 523 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 557 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 611 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(incognito->window()->IsDownloadShelfVisible()); window 653 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 694 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(browser()->window()->IsDownloadShelfVisible()); window 129 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window = registry->GetAppWindowForRenderViewHost(rvh); window 130 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc if (!window) { window 134 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc return RunWithWindow(window); window 137 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc bool AppCurrentWindowInternalFocusFunction::RunWithWindow(AppWindow* window) { window 138 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->Activate(); window 143 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 144 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->Fullscreen(); window 149 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 150 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->Maximize(); window 155 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 156 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->Minimize(); window 160 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc bool AppCurrentWindowInternalRestoreFunction::RunWithWindow(AppWindow* window) { window 161 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->Restore(); window 166 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 167 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->FlashFrame(true); window 172 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 173 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->FlashFrame(false); window 177 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc bool AppCurrentWindowInternalShowFunction::RunWithWindow(AppWindow* window) { window 181 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->Show(AppWindow::SHOW_INACTIVE); window 183 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->Show(AppWindow::SHOW_ACTIVE); window 187 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc bool AppCurrentWindowInternalHideFunction::RunWithWindow(AppWindow* window) { window 188 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->Hide(); window 193 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 212 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Rect original_window_bounds = window->GetBaseWindow()->GetBounds(); window 214 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Insets frame_insets = window->GetBaseWindow()->GetFrameInsets(); window 250 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->GetContentMinimumSize(), frame_insets), window 252 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->GetContentMaximumSize(), frame_insets)); window 257 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->SetBounds(window_bounds); window 264 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 283 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->GetContentMinimumSize(); window 285 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->GetBaseWindow()->GetContentMaximumSize(); window 294 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc insets = window->GetBaseWindow()->GetFrameInsets(); window 302 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->SetContentSizeConstraints(min_size, max_size); window 307 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc bool AppCurrentWindowInternalSetIconFunction::RunWithWindow(AppWindow* window) { window 322 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->SetAppIconUrl(url); window 327 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 341 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->SetBadgeIconUrl(url); window 346 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 352 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->ClearBadge(); window 357 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 359 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc if (!window->GetBaseWindow()->IsFrameless()) { window 435 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->UpdateShape(region.Pass()); window 441 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc AppWindow* window) { window 451 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window->SetAlwaysOnTop(params->always_on_top); window 22 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) = 0; window 36 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 47 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 58 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 69 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 80 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 91 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 102 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 113 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 124 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 134 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 144 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 155 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 166 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 177 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 188 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 199 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE; window 183 chrome/browser/extensions/api/app_window/app_window_api.cc AppWindow* window = apps::AppWindowRegistry::Get(browser_context()) window 186 chrome/browser/extensions/api/app_window/app_window_api.cc if (window) { window 188 chrome/browser/extensions/api/app_window/app_window_api.cc window->web_contents()->GetRenderViewHost(); window 196 chrome/browser/extensions/api/app_window/app_window_api.cc window->Show(AppWindow::SHOW_INACTIVE); window 198 chrome/browser/extensions/api/app_window/app_window_api.cc window->Show(AppWindow::SHOW_ACTIVE); window 202 chrome/browser/extensions/api/app_window/app_window_api.cc window->GetSerializedState(result); window 65 chrome/browser/extensions/api/app_window/app_window_apitest.cc AppWindow* window = GetFirstAppWindow(); window 68 chrome/browser/extensions/api/app_window/app_window_apitest.cc new_bounds.Inset(-window->GetBaseWindow()->GetFrameInsets()); window 69 chrome/browser/extensions/api/app_window/app_window_apitest.cc window->GetBaseWindow()->SetBounds(new_bounds); window 88 chrome/browser/extensions/api/app_window/app_window_apitest.cc gfx::Rect current_bounds = window->GetBaseWindow()->GetBounds(); window 180 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc browser()->window()->GetLocationBar()->GetLocationBarForTesting(); window 279 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc browser()->window()->GetLocationBar()->GetLocationBarForTesting()-> window 1441 chrome/browser/extensions/api/downloads/downloads_api.cc browser->window()->IsDownloadShelfVisible() && window 1443 chrome/browser/extensions/api/downloads/downloads_api.cc browser->window()->GetDownloadShelf()->Close(DownloadShelf::AUTOMATIC); window 202 chrome/browser/extensions/api/extension_action/page_action_apitest.cc browser()->window()->GetLocationBar()->GetLocationBarForTesting(); window 65 chrome/browser/extensions/api/feedback_private/feedback_browsertest.cc AppWindow* window = window 67 chrome/browser/extensions/api/feedback_private/feedback_browsertest.cc ASSERT_TRUE(window); window 68 chrome/browser/extensions/api/feedback_private/feedback_browsertest.cc const Extension* feedback_app = window->extension(); window 117 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc apps::AppWindow* window = apps::AppWindowRegistry::Get(profile) window 119 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc contents = window ? window->web_contents() : NULL; window 28 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h return browser->window()->GetLocationBar(); window 36 chrome/browser/extensions/api/principals_private/principals_private_api.cc browser->window()->ShowAvatarBubbleFromAvatarButton( window 125 chrome/browser/extensions/api/sessions/sessions_api.cc scoped_ptr<windows::Window> window) { window 130 chrome/browser/extensions/api/sessions/sessions_api.cc else if (window) window 131 chrome/browser/extensions/api/sessions/sessions_api.cc session_struct->window = window.Pass(); window 158 chrome/browser/extensions/api/sessions/sessions_api.cc const TabRestoreService::Window& window, window 160 chrome/browser/extensions/api/sessions/sessions_api.cc DCHECK(!window.tabs.empty()); window 164 chrome/browser/extensions/api/sessions/sessions_api.cc for (size_t i = 0; i < window.tabs.size(); ++i) { window 166 chrome/browser/extensions/api/sessions/sessions_api.cc CreateTabModel(window.tabs[i], window.tabs[i].id, window 167 chrome/browser/extensions/api/sessions/sessions_api.cc window.selected_tab_index).release())); window 180 chrome/browser/extensions/api/sessions/sessions_api.cc scoped_ptr<windows::Window> window; window 187 chrome/browser/extensions/api/sessions/sessions_api.cc window = CreateWindowModel( window 195 chrome/browser/extensions/api/sessions/sessions_api.cc window.Pass()); window 254 chrome/browser/extensions/api/sessions/sessions_api.cc const SessionWindow& window, const std::string& session_tag) { window 255 chrome/browser/extensions/api/sessions/sessions_api.cc DCHECK(!window.tabs.empty()); window 260 chrome/browser/extensions/api/sessions/sessions_api.cc for (size_t i = 0; i < window.tabs.size(); ++i) { window 261 chrome/browser/extensions/api/sessions/sessions_api.cc const SessionTab* tab = window.tabs[i]; window 280 chrome/browser/extensions/api/sessions/sessions_api.cc window.selected_tab_index).release())); window 284 chrome/browser/extensions/api/sessions/sessions_api.cc SessionId(session_tag, window.window_id.id()).ToString(); window 287 chrome/browser/extensions/api/sessions/sessions_api.cc switch (window.type) { window 297 chrome/browser/extensions/api/sessions/sessions_api.cc switch (window.show_state) { window 321 chrome/browser/extensions/api/sessions/sessions_api.cc window_struct->left.reset(new int(window.bounds.x())); window 322 chrome/browser/extensions/api/sessions/sessions_api.cc window_struct->top.reset(new int(window.bounds.y())); window 323 chrome/browser/extensions/api/sessions/sessions_api.cc window_struct->width.reset(new int(window.bounds.width())); window 324 chrome/browser/extensions/api/sessions/sessions_api.cc window_struct->height.reset(new int(window.bounds.height())); window 331 chrome/browser/extensions/api/sessions/sessions_api.cc const SessionWindow& window, const std::string& session_tag) { window 333 chrome/browser/extensions/api/sessions/sessions_api.cc CreateWindowModel(window, session_tag)); window 337 chrome/browser/extensions/api/sessions/sessions_api.cc : CreateSessionModelHelper(window.timestamp.ToTimeT(), window 427 chrome/browser/extensions/api/sessions/sessions_api.cc scoped_ptr<windows::Window> window(windows::Window::FromValue( window 432 chrome/browser/extensions/api/sessions/sessions_api.cc window.Pass())); window 548 chrome/browser/extensions/api/sessions/sessions_api.cc std::vector<const SessionWindow*>::const_iterator window = windows.begin(); window 549 chrome/browser/extensions/api/sessions/sessions_api.cc while (window != windows.end() window 550 chrome/browser/extensions/api/sessions/sessions_api.cc && (*window)->window_id.id() != session_id.id()) { window 551 chrome/browser/extensions/api/sessions/sessions_api.cc ++window; window 553 chrome/browser/extensions/api/sessions/sessions_api.cc if (window == windows.end()) { window 561 chrome/browser/extensions/api/sessions/sessions_api.cc GetProfile(), host_desktop_type, window, window + 1); window 41 chrome/browser/extensions/api/sessions/sessions_api.h const TabRestoreService::Window& window, window 59 chrome/browser/extensions/api/sessions/sessions_api.h const SessionWindow& window, window 62 chrome/browser/extensions/api/sessions/sessions_api.h const SessionWindow& window, window 49 chrome/browser/extensions/api/sessions/sessions_apitest.cc sync_pb::SessionWindow* window = header->add_window(); window 50 chrome/browser/extensions/api/sessions/sessions_apitest.cc window->set_window_id(window_id); window 51 chrome/browser/extensions/api/sessions/sessions_apitest.cc window->set_selected_tab_index(0); window 52 chrome/browser/extensions/api/sessions/sessions_apitest.cc window->set_browser_type(sync_pb::SessionWindow_BrowserType_TYPE_TABBED); window 55 chrome/browser/extensions/api/sessions/sessions_apitest.cc window->add_tab(*iter); window 295 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::DictionaryValue* window = NULL; window 298 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_TRUE(windows->GetDictionary(i, &window)); window 299 chrome/browser/extensions/api/sessions/sessions_apitest.cc if (utils::GetInteger(window, "id") == restored_id) window 302 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_EQ(restored_id, utils::GetInteger(window, "id")); window 91 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::NativeView window) const OVERRIDE { window 35 chrome/browser/extensions/api/tabs/ash_panel_contents.cc AshPanelWindowController(AppWindow* window, Profile* profile); window 130 chrome/browser/extensions/api/tabs/tabs_api.cc browser->window()) { window 147 chrome/browser/extensions/api/tabs/tabs_api.cc if (!(*browser) || !(*browser)->window()) { window 278 chrome/browser/extensions/api/tabs/tabs_api.cc if (!browser || !browser->window()) { window 612 chrome/browser/extensions/api/tabs/tabs_api.cc new_window->window()->Show(); window 614 chrome/browser/extensions/api/tabs/tabs_api.cc new_window->window()->ShowInactive(); window 675 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->Minimize(); window 678 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->Maximize(); window 681 chrome/browser/extensions/api/tabs/tabs_api.cc if (controller->window()->IsMinimized() || window 682 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->IsMaximized()) window 683 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->Restore(); window 687 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->Restore(); window 694 chrome/browser/extensions/api/tabs/tabs_api.cc if (controller->window()->IsMinimized()) window 695 chrome/browser/extensions/api/tabs/tabs_api.cc bounds = controller->window()->GetRestoredBounds(); window 697 chrome/browser/extensions/api/tabs/tabs_api.cc bounds = controller->window()->GetBounds(); window 730 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->SetBounds(bounds); window 739 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->Activate(); window 746 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->Deactivate(); window 751 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->FlashFrame(*params->update_info.draw_attention); window 781 chrome/browser/extensions/api/tabs/tabs_api.cc controller->window()->Close(); window 876 chrome/browser/extensions/api/tabs/tabs_api.cc if (!browser->window()) window 965 chrome/browser/extensions/api/tabs/tabs_api.cc if (!browser || !browser->window()) window 1037 chrome/browser/extensions/api/tabs/tabs_api.cc browser->window()->Show(); window 1484 chrome/browser/extensions/api/tabs/tabs_api.cc if (!source_browser->window()->IsTabStripEditable()) { window 1498 chrome/browser/extensions/api/tabs/tabs_api.cc if (!target_browser->window()->IsTabStripEditable()) { window 1651 chrome/browser/extensions/api/tabs/tabs_api.cc if (!browser->window()->IsTabStripEditable()) { window 77 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc focused_window->window()->GetNativeWindow())); window 55 chrome/browser/extensions/api/tabs/tabs_test.cc if (browser()->window()->IsMinimized()) window 56 chrome/browser/extensions/api/tabs/tabs_test.cc bounds = browser()->window()->GetRestoredBounds(); window 58 chrome/browser/extensions/api/tabs/tabs_test.cc bounds = browser()->window()->GetBounds(); window 92 chrome/browser/extensions/api/tabs/tabs_test.cc EXPECT_EQ(browser()->window()->IsActive(), window 48 chrome/browser/extensions/api/tabs/windows_event_router.h WindowController* window) OVERRIDE; window 97 chrome/browser/extensions/app_background_page_apitest.cc browser->window()->Close(); window 19 chrome/browser/extensions/browser_extension_window_controller.cc : extensions::WindowController(browser->window(), browser->profile()), window 71 chrome/browser/extensions/browser_extension_window_controller.cc if (!browser_->window()->IsTabStripEditable()) { window 81 chrome/browser/extensions/browser_extension_window_controller.cc if (browser_->window()->IsFullscreen() != is_fullscreen) window 205 chrome/browser/extensions/extension_commands_global_registry_apitest.cc ui_controls::SendKeyPress(controller->window()->GetNativeWindow(), window 44 chrome/browser/extensions/extension_context_menu_model_unittest.cc params.window = &test_window; window 45 chrome/browser/extensions/extension_fullscreen_apitest.cc browser()->window()->EnterFullscreen( window 47 chrome/browser/extensions/extension_fullscreen_apitest.cc bool is_fullscreen = browser()->window()->IsFullscreen(); window 49 chrome/browser/extensions/extension_fullscreen_apitest.cc ASSERT_EQ(is_fullscreen, browser()->window()->IsFullscreen()); window 54 chrome/browser/extensions/extension_fullscreen_apitest.cc browser()->window()->EnterFullscreen( window 57 chrome/browser/extensions/extension_fullscreen_apitest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 500 chrome/browser/extensions/extension_install_prompt.cc gfx::NativeWindow window, window 503 chrome/browser/extensions/extension_install_prompt.cc parent_window(window), window 236 chrome/browser/extensions/extension_install_prompt.h ShowParams(gfx::NativeWindow window, content::PageNavigator* navigator); window 317 chrome/browser/extensions/extension_tab_util.cc browser->window()->Close(); window 357 chrome/browser/extensions/extension_tab_util.cc browser->window()->Show(); window 229 chrome/browser/extensions/extension_tabs_apitest.cc HWND window = window 230 chrome/browser/extensions/extension_tabs_apitest.cc browser()->window()->GetNativeWindow()->GetHost()->GetAcceleratedWidget(); window 231 chrome/browser/extensions/extension_tabs_apitest.cc ::SendMessage(window, WM_SYSCOMMAND, SC_MAXIMIZE, 0); window 233 chrome/browser/extensions/extension_tabs_apitest.cc ASSERT_TRUE(::IsZoomed(window)); window 155 chrome/browser/extensions/extension_test_notification_observer.cc browser_->window()->GetLocationBar()->GetLocationBarForTesting(); window 166 chrome/browser/extensions/extension_test_notification_observer.cc browser_->window()->GetLocationBar()->GetLocationBarForTesting(); window 37 chrome/browser/extensions/extension_url_rewrite_browsertest.cc browser()->window()->GetLocationBar()->GetOmniboxView()->GetText()); window 268 chrome/browser/extensions/extension_view_host.cc WindowController* window = GetExtensionWindowController(); window 269 chrome/browser/extensions/extension_view_host.cc if (window) { window 271 chrome/browser/extensions/extension_view_host.cc render_view_host->GetRoutingID(), window->GetWindowId())); window 165 chrome/browser/extensions/lazy_background_page_apitest.cc int num_page_actions = browser()->window()->GetLocationBar()-> window 182 chrome/browser/extensions/lazy_background_page_apitest.cc browser()->window()->GetLocationBar()-> window 229 chrome/browser/extensions/tab_helper.cc browser->window()->ShowBookmarkAppBubble(web_app_info, extension->id()); window 19 chrome/browser/extensions/window_controller.cc WindowController::WindowController(ui::BaseWindow* window, Profile* profile) window 20 chrome/browser/extensions/window_controller.cc : window_(window), profile_(profile) { window 37 chrome/browser/extensions/window_controller.cc result->SetBoolean(keys::kFocusedKey, window()->IsActive()); window 39 chrome/browser/extensions/window_controller.cc result->SetBoolean(keys::kAlwaysOnTopKey, window()->IsAlwaysOnTop()); window 42 chrome/browser/extensions/window_controller.cc if (window()->IsMinimized()) { window 44 chrome/browser/extensions/window_controller.cc } else if (window()->IsFullscreen()) { window 46 chrome/browser/extensions/window_controller.cc } else if (window()->IsMaximized()) { window 54 chrome/browser/extensions/window_controller.cc if (window()->IsMinimized()) window 55 chrome/browser/extensions/window_controller.cc bounds = window()->GetRestoredBounds(); window 57 chrome/browser/extensions/window_controller.cc bounds = window()->GetBounds(); window 44 chrome/browser/extensions/window_controller.h WindowController(ui::BaseWindow* window, Profile* profile); window 47 chrome/browser/extensions/window_controller.h ui::BaseWindow* window() const { return window_; } window 30 chrome/browser/extensions/window_controller_list.cc void WindowControllerList::AddExtensionWindow(WindowController* window) { window 31 chrome/browser/extensions/window_controller_list.cc windows_.push_back(window); window 33 chrome/browser/extensions/window_controller_list.cc OnWindowControllerAdded(window)); window 36 chrome/browser/extensions/window_controller_list.cc void WindowControllerList::RemoveExtensionWindow(WindowController* window) { window 38 chrome/browser/extensions/window_controller_list.cc windows_.begin(), windows_.end(), window); window 42 chrome/browser/extensions/window_controller_list.cc OnWindowControllerRemoved(window)); window 81 chrome/browser/extensions/window_controller_list.cc if (result->window()->IsActive()) window 30 chrome/browser/extensions/window_controller_list.h void AddExtensionWindow(WindowController* window); window 31 chrome/browser/extensions/window_controller_list.h void RemoveExtensionWindow(WindowController* window); window 321 chrome/browser/first_run/try_chrome_dialog_view.cc void TryChromeDialogView::SetToastRegion(HWND window, int w, int h) { window 328 chrome/browser/first_run/try_chrome_dialog_view.cc ::SetWindowRgn(window, region, FALSE); window 101 chrome/browser/first_run/try_chrome_dialog_view.h void SetToastRegion(HWND window, int w, int h); window 21 chrome/browser/fullscreen_gtk.cc XID window) { window 24 chrome/browser/fullscreen_gtk.cc if (!ui::GetXWindowStack(window, &windows)) { window 29 chrome/browser/fullscreen_gtk.cc int status = XQueryTree(gfx::GetXDisplay(), window, &root, &parent, window 63 chrome/browser/fullscreen_gtk.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 64 chrome/browser/fullscreen_gtk.cc if (ui::PropertyExists(window, "WM_STATE")) { window 65 chrome/browser/fullscreen_gtk.cc window_ = window; window 85 chrome/browser/fullscreen_gtk.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 86 chrome/browser/fullscreen_gtk.cc if (!ui::IsWindowVisible(window)) window 88 chrome/browser/fullscreen_gtk.cc if (ui::PropertyExists(window, "WM_STATE")) { window 89 chrome/browser/fullscreen_gtk.cc top_most_window_ = window; window 93 chrome/browser/fullscreen_gtk.cc EnumerateAllChildWindows(&child_finder, window); window 94 chrome/browser/fullscreen_gtk.cc XID child_window = child_finder.window(); window 111 chrome/browser/fullscreen_gtk.cc XID window = finder.top_most_window(); window 112 chrome/browser/fullscreen_gtk.cc if (window == None) window 120 chrome/browser/fullscreen_gtk.cc if (ui::GetAtomArrayProperty(window, window 128 chrome/browser/fullscreen_gtk.cc GdkWindow* gwindow = gdk_window_lookup(window); window 129 chrome/browser/fullscreen_gtk.cc if (gwindow && window != GDK_ROOT_WINDOW()) window 133 chrome/browser/fullscreen_gtk.cc return ui::IsX11WindowFullScreen(window); window 240 chrome/browser/google/google_update_win.cc void GoogleUpdate::CheckForUpdate(bool install_if_newer, HWND window) { window 246 chrome/browser/google/google_update_win.cc install_if_newer, window, base::MessageLoop::current())); window 253 chrome/browser/google/google_update_win.cc HWND window, window 303 chrome/browser/google/google_update_win.cc IID_IGoogleUpdate, window, window 102 chrome/browser/google/google_update_win.h void CheckForUpdate(bool install_if_newer, HWND window); window 126 chrome/browser/google/google_update_win.h void InitiateGoogleUpdateCheck(bool install_if_newer, HWND window, window 151 chrome/browser/hang_monitor/hung_plugin_action.cc void HungPluginAction::OnWindowResponsive(HWND window) { window 152 chrome/browser/hang_monitor/hung_plugin_action.cc if (window == current_hung_plugin_window_) { window 155 chrome/browser/hang_monitor/hung_plugin_action.cc RemoveProp(window, HungWindowDetector::kHungChildWindowTimeout); window 188 chrome/browser/hang_monitor/hung_plugin_action.cc BOOL CALLBACK HungPluginAction::DismissMessageBox(HWND window, LPARAM ignore) { window 189 chrome/browser/hang_monitor/hung_plugin_action.cc base::string16 class_name = gfx::GetClassName(window); window 193 chrome/browser/hang_monitor/hung_plugin_action.cc EndDialog(window, IDNO); window 29 chrome/browser/hang_monitor/hung_plugin_action.h void OnWindowResponsive(HWND window); window 37 chrome/browser/hang_monitor/hung_plugin_action.h static BOOL CALLBACK DismissMessageBox(HWND window, LPARAM ignore); window 369 chrome/browser/jumplist_win.cc void JumpList::AddWindow(const TabRestoreService::Window* window, window 374 chrome/browser/jumplist_win.cc DCHECK(!window->tabs.empty()); window 376 chrome/browser/jumplist_win.cc for (size_t i = 0; i < window->tabs.size(); ++i) { window 377 chrome/browser/jumplist_win.cc if (!AddTab(&window->tabs[i], list, max_items)) window 102 chrome/browser/jumplist_win.h void AddWindow(const TabRestoreService::Window* window, window 16 chrome/browser/lifetime/application_lifetime_gtk.cc GtkWindow* window = GTK_WINDOW(i->data); window 22 chrome/browser/lifetime/application_lifetime_gtk.cc if (gtk_widget_get_visible(GTK_WIDGET(window)) && window 23 chrome/browser/lifetime/application_lifetime_gtk.cc (GTK_IS_DIALOG(GTK_WIDGET(window)))) window 24 chrome/browser/lifetime/application_lifetime_gtk.cc gtk_widget_destroy(GTK_WIDGET(window)); window 90 chrome/browser/lifetime/browser_close_manager.cc browser->window()->ConfirmBrowserCloseWithPendingDownloads( window 140 chrome/browser/lifetime/browser_close_manager.cc browser->window()->Close(); window 153 chrome/browser/lifetime/browser_close_manager.cc browser->window()->DestroyBrowser(); window 785 chrome/browser/lifetime/browser_close_manager_browsertest.cc browser()->window()->Close(); window 913 chrome/browser/lifetime/browser_close_manager_browsertest.cc browser()->window()->Close(); window 928 chrome/browser/lifetime/browser_close_manager_browsertest.cc browser()->window()->Close(); window 200 chrome/browser/media/desktop_media_list_ash.cc aura::Window* window) { window 201 chrome/browser/media/desktop_media_list_ash.cc gfx::Rect window_rect(window->bounds().width(), window->bounds().height()); window 207 chrome/browser/media/desktop_media_list_ash.cc window, window 71 chrome/browser/media/desktop_media_list_ash.h void CaptureThumbnail(content::DesktopMediaID id, aura::Window* window); window 66 chrome/browser/media/desktop_media_list_ash_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 80 chrome/browser/media/desktop_media_list_ash_unittest.cc window.reset(); window 87 chrome/browser/media/desktop_media_list_ash_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 101 chrome/browser/media/desktop_media_list_ash_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); window 112 chrome/browser/media/desktop_media_list_ash_unittest.cc window.reset(); window 170 chrome/browser/media/native_desktop_media_list_unittest.cc webrtc::WindowCapturer::Window window; window 171 chrome/browser/media/native_desktop_media_list_unittest.cc window.id = i + 1; window 172 chrome/browser/media/native_desktop_media_list_unittest.cc window.title = "Test window"; window 173 chrome/browser/media/native_desktop_media_list_unittest.cc list.push_back(window); window 273 chrome/browser/media/native_desktop_media_list_unittest.cc webrtc::WindowCapturer::Window window; window 274 chrome/browser/media/native_desktop_media_list_unittest.cc window.id = 0; window 275 chrome/browser/media/native_desktop_media_list_unittest.cc window.title = "Test window 0"; window 276 chrome/browser/media/native_desktop_media_list_unittest.cc list.push_back(window); window 47 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc browser->window()->Close(); window 92 chrome/browser/mouseleave_browsertest.cc gfx::Rect browser_bounds = browser()->window()->GetBounds(); window 271 chrome/browser/notifications/notification_browsertest.cc browser->window()->Close(); window 87 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc displayer.browser()->window()->Activate(); window 29 chrome/browser/password_manager/password_manager_util.h bool AuthenticateUser(gfx::NativeWindow window); window 9 chrome/browser/password_manager/password_manager_util_android.cc bool AuthenticateUser(gfx::NativeWindow window) { window 9 chrome/browser/password_manager/password_manager_util_linux.cc bool AuthenticateUser(gfx::NativeWindow window) { window 146 chrome/browser/password_manager/password_manager_util_win.cc bool AuthenticateUser(gfx::NativeWindow window) { window 196 chrome/browser/password_manager/password_manager_util_win.cc cui.hwndParent = window->GetHost()->GetAcceleratedWidget(); window 198 chrome/browser/password_manager/password_manager_util_win.cc cui.hwndParent = window; window 363 chrome/browser/performance_monitor/performance_monitor_browsertest.cc browser->window()->Close(); window 44 chrome/browser/platform_util.h bool IsWindowActive(gfx::NativeWindow window); window 47 chrome/browser/platform_util.h void ActivateWindow(gfx::NativeWindow window); window 35 chrome/browser/platform_util_android.cc bool IsWindowActive(gfx::NativeWindow window) { window 40 chrome/browser/platform_util_android.cc void ActivateWindow(gfx::NativeWindow window) { window 24 chrome/browser/platform_util_aura.cc bool IsWindowActive(gfx::NativeWindow window) { window 26 chrome/browser/platform_util_aura.cc return ash::wm::IsActiveWindow(window); window 33 chrome/browser/platform_util_aura.cc void ActivateWindow(gfx::NativeWindow window) { window 35 chrome/browser/platform_util_aura.cc ash::wm::ActivateWindow(window); window 22 chrome/browser/platform_util_common_linux.cc bool IsWindowActive(gfx::NativeWindow window) { window 23 chrome/browser/platform_util_common_linux.cc return gtk_window_is_active(window); window 26 chrome/browser/platform_util_common_linux.cc void ActivateWindow(gfx::NativeWindow window) { window 27 chrome/browser/platform_util_common_linux.cc gtk_window_present(window); window 210 chrome/browser/platform_util_win.cc bool IsWindowActive(gfx::NativeWindow window) { window 211 chrome/browser/platform_util_win.cc return ::GetForegroundWindow() == window; window 214 chrome/browser/platform_util_win.cc void ActivateWindow(gfx::NativeWindow window) { window 215 chrome/browser/platform_util_win.cc ::SetForegroundWindow(window); window 275 chrome/browser/plugins/plugin_observer.cc aura::Window* window = web_contents()->GetView()->GetNativeView(); window 277 chrome/browser/plugins/plugin_observer.cc chrome::GetHostDesktopTypeForNativeView(window) == window 943 chrome/browser/policy/policy_browsertest.cc LocationBar* location_bar = browser()->window()->GetLocationBar(); window 1013 chrome/browser/policy/policy_browsertest.cc LocationBar* location_bar = browser()->window()->GetLocationBar(); window 1123 chrome/browser/policy/policy_browsertest.cc LocationBar* location_bar = browser()->window()->GetLocationBar(); window 2071 chrome/browser/policy/policy_browsertest.cc BrowserWindow* browser_window = browser()->window(); window 2097 chrome/browser/policy/policy_browsertest.cc apps::AppWindow* window = add_window_observer.WaitForAppWindow(); window 2098 chrome/browser/policy/policy_browsertest.cc ASSERT_TRUE(window); window 2101 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(window->GetBaseWindow()->IsFullscreen()); window 2106 chrome/browser/policy/policy_browsertest.cc window->web_contents(), window 2108 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(window->GetBaseWindow()->IsFullscreen()); window 2112 chrome/browser/policy/policy_browsertest.cc window->Fullscreen(); window 2113 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(window->GetBaseWindow()->IsFullscreen()); window 35 chrome/browser/prefs/pref_service_browsertest.cc browser()->window()->SetBounds(gfx::Rect(20, 30, 400, 500)); window 52 chrome/browser/prefs/pref_service_browsertest.cc gfx::Rect bounds = browser()->window()->GetBounds(); window 140 chrome/browser/prefs/pref_service_browsertest.cc gfx::Rect bounds = browser()->window()->GetRestoredBounds(); window 165 chrome/browser/prefs/pref_service_browsertest.cc bool is_window_maximized = browser()->window()->IsMaximized(); window 198 chrome/browser/prefs/pref_service_browsertest.cc gfx::Rect bounds = browser()->window()->GetRestoredBounds(); window 230 chrome/browser/prefs/pref_service_browsertest.cc bool is_window_maximized = browser()->window()->IsMaximized(); window 629 chrome/browser/printing/print_dialog_cloud.cc gfx::NativeWindow window = window 635 chrome/browser/printing/print_dialog_cloud.cc if (window) { window 638 chrome/browser/printing/print_dialog_cloud.cc dialog_handle = window->GetHost()->GetAcceleratedWidget(); window 640 chrome/browser/printing/print_dialog_cloud.cc dialog_handle = window; window 21 chrome/browser/printing/print_error_dialog.cc ShowMessageBox(browser ? browser->window()->GetNativeWindow() : NULL, window 135 chrome/browser/printing/print_preview_dialog_controller.cc host = browser->window()->GetWebContentsModalDialogHost(); window 205 chrome/browser/printing/print_preview_dialog_controller.cc current_browser->window()->HandleKeyboardEvent(event); window 62 chrome/browser/printing/print_preview_test.cc if (browser->window() == this) window 89 chrome/browser/process_singleton_win.cc BOOL CALLBACK BrowserWindowEnumeration(HWND window, LPARAM param) { window 91 chrome/browser/process_singleton_win.cc *result = ::IsWindowVisible(window) != 0; window 367 chrome/browser/profiles/profile_manager_browsertest.cc browser_list->get(2)->window()->Close(); window 373 chrome/browser/profiles/profile_manager_browsertest.cc browser_list->get(1)->window()->Close(); window 96 chrome/browser/profiles/profile_window.cc browser->window()->Activate(); window 173 chrome/browser/profiles/profile_window.cc browser->window()->Activate(); window 87 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc HWND window = host->GetAcceleratedWidget(); window 89 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc HWND window = native_view; window 91 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc HMONITOR monitor = ::MonitorFromWindow(window, MONITOR_DEFAULTTONULL); window 22 chrome/browser/screensaver_window_finder_x11.cc bool ScreensaverWindowFinder::ShouldStopIterating(XID window) { window 23 chrome/browser/screensaver_window_finder_x11.cc if (!ui::IsWindowVisible(window) || !IsScreensaverWindow(window)) window 29 chrome/browser/screensaver_window_finder_x11.cc bool ScreensaverWindowFinder::IsScreensaverWindow(XID window) const { window 31 chrome/browser/screensaver_window_finder_x11.cc if (!ui::IsX11WindowFullScreen(window)) window 35 chrome/browser/screensaver_window_finder_x11.cc if (ui::PropertyExists(window, "_SCREENSAVER_VERSION")) window 41 chrome/browser/screensaver_window_finder_x11.cc if (!ui::GetStringProperty(window, "WM_CLASS", &value)) window 17 chrome/browser/screensaver_window_finder_x11.h virtual bool ShouldStopIterating(XID window) OVERRIDE; window 22 chrome/browser/screensaver_window_finder_x11.h bool IsScreensaverWindow(XID window) const; window 304 chrome/browser/sessions/better_session_restore_browsertest.cc browser->window()->Close(); window 489 chrome/browser/sessions/better_session_restore_browsertest.cc popup->window()->Show(); window 775 chrome/browser/sessions/better_session_restore_browsertest.cc popup->window()->Show(); window 789 chrome/browser/sessions/better_session_restore_browsertest.cc popup->window()->Show(); window 151 chrome/browser/sessions/persistent_tab_restore_service.cc void ScheduleCommandsForWindow(const Window& window); window 202 chrome/browser/sessions/persistent_tab_restore_service.cc Window* window); window 374 chrome/browser/sessions/persistent_tab_restore_service.cc scoped_ptr<Window> window(new Window()); window 375 chrome/browser/sessions/persistent_tab_restore_service.cc if (ConvertSessionWindowToWindow((*windows)[i], window.get())) window 376 chrome/browser/sessions/persistent_tab_restore_service.cc entries->push_back(window.release()); window 386 chrome/browser/sessions/persistent_tab_restore_service.cc const Window& window) { window 387 chrome/browser/sessions/persistent_tab_restore_service.cc DCHECK(!window.tabs.empty()); window 388 chrome/browser/sessions/persistent_tab_restore_service.cc int selected_tab = window.selected_tab_index; window 391 chrome/browser/sessions/persistent_tab_restore_service.cc for (size_t i = 0; i < window.tabs.size(); ++i) { window 392 chrome/browser/sessions/persistent_tab_restore_service.cc if (GetSelectedNavigationIndexToPersist(window.tabs[i]) != -1) { window 402 chrome/browser/sessions/persistent_tab_restore_service.cc CreateWindowCommand(window.id, window 405 chrome/browser/sessions/persistent_tab_restore_service.cc window.timestamp)); window 407 chrome/browser/sessions/persistent_tab_restore_service.cc if (!window.app_name.empty()) { window 410 chrome/browser/sessions/persistent_tab_restore_service.cc window.id, window 411 chrome/browser/sessions/persistent_tab_restore_service.cc window.app_name)); window 414 chrome/browser/sessions/persistent_tab_restore_service.cc for (size_t i = 0; i < window.tabs.size(); ++i) { window 415 chrome/browser/sessions/persistent_tab_restore_service.cc int selected_index = GetSelectedNavigationIndexToPersist(window.tabs[i]); window 417 chrome/browser/sessions/persistent_tab_restore_service.cc ScheduleCommandsForTab(window.tabs[i], selected_index); window 792 chrome/browser/sessions/persistent_tab_restore_service.cc Window* window) { window 795 chrome/browser/sessions/persistent_tab_restore_service.cc window->tabs.resize(window->tabs.size() + 1); window 796 chrome/browser/sessions/persistent_tab_restore_service.cc Tab& tab = window->tabs.back(); window 805 chrome/browser/sessions/persistent_tab_restore_service.cc if (window->tabs.empty()) window 808 chrome/browser/sessions/persistent_tab_restore_service.cc window->selected_tab_index = window 810 chrome/browser/sessions/persistent_tab_restore_service.cc static_cast<int>(window->tabs.size() - 1)); window 811 chrome/browser/sessions/persistent_tab_restore_service.cc window->timestamp = base::Time(); window 884 chrome/browser/sessions/persistent_tab_restore_service.cc TabRestoreService::Window* window = window 886 chrome/browser/sessions/persistent_tab_restore_service.cc std::vector<TabRestoreService::Tab>::iterator j = window->tabs.begin(); window 887 chrome/browser/sessions/persistent_tab_restore_service.cc for ( ; j != window->tabs.end(); ++j) { window 891 chrome/browser/sessions/persistent_tab_restore_service.cc window->tabs.erase(j); window 31 chrome/browser/sessions/persistent_tab_restore_service_browsertest.cc app_browser->window()->Close(); window 387 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc TabRestoreService::Window* window = window 389 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs.size()); window 390 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->timestamp.ToInternalValue()); window 391 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->selected_tab_index); window 392 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs[0].navigations.size()); window 393 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->tabs[0].current_navigation_index); window 394 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); window 395 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()); window 446 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc TabRestoreService::Window* window = window 448 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs.size()); window 449 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->selected_tab_index); window 450 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->timestamp.ToInternalValue()); window 451 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs[0].navigations.size()); window 452 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->tabs[0].current_navigation_index); window 453 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); window 454 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()); window 489 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc TabRestoreService::Window* window = window 491 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs.size()); window 492 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->selected_tab_index); window 493 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_TRUE(window->tabs[0].pinned); window 494 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs[0].navigations.size()); window 495 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->tabs[0].current_navigation_index); window 496 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()); window 534 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc TabRestoreService::Window* window = window 536 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs.size()); window 537 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->selected_tab_index); window 538 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->timestamp.ToInternalValue()); window 539 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc ASSERT_EQ(1U, window->tabs[0].navigations.size()); window 540 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->tabs[0].current_navigation_index); window 541 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); window 542 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()); window 650 chrome/browser/sessions/session_restore.cc browser->window()->Show(); window 716 chrome/browser/sessions/session_restore.cc browser->window()->Show(); window 916 chrome/browser/sessions/session_restore.cc browser_to_activate->window()->Activate(); window 968 chrome/browser/sessions/session_restore.cc void RestoreTabsToBrowser(const SessionWindow& window, window 972 chrome/browser/sessions/session_restore.cc VLOG(1) << "RestoreTabsToBrowser " << window.tabs.size(); window 973 chrome/browser/sessions/session_restore.cc DCHECK(!window.tabs.empty()); window 975 chrome/browser/sessions/session_restore.cc for (int i = 0; i < static_cast<int>(window.tabs.size()); ++i) { window 976 chrome/browser/sessions/session_restore.cc const SessionTab& tab = *(window.tabs[i]); window 995 chrome/browser/sessions/session_restore.cc for (int i = 0; i < static_cast<int>(window.tabs.size()); ++i) { window 996 chrome/browser/sessions/session_restore.cc const SessionTab& tab = *(window.tabs[i]); window 1085 chrome/browser/sessions/session_restore.cc browser->window()->Show(); window 114 chrome/browser/sessions/session_restore_browsertest.cc browser->window()->Close(); window 217 chrome/browser/sessions/session_restore_browsertest.cc gfx::NativeView window = contents->GetView()->GetNativeView(); window 218 chrome/browser/sessions/session_restore_browsertest.cc bool tab_has_root_window = !!window->GetRootWindow(); window 243 chrome/browser/sessions/session_restore_browsertest.cc incognito_browser->window()->Show(); window 264 chrome/browser/sessions/session_restore_browsertest.cc app_browser->window()->Maximize(); window 265 chrome/browser/sessions/session_restore_browsertest.cc app_browser->window()->Show(); window 266 chrome/browser/sessions/session_restore_browsertest.cc EXPECT_TRUE(app_browser->window()->IsMaximized()); window 279 chrome/browser/sessions/session_restore_browsertest.cc EXPECT_TRUE(app_browser->window()->IsMaximized()); window 321 chrome/browser/sessions/session_restore_browsertest.cc popup->window()->Show(); window 376 chrome/browser/sessions/session_restore_browsertest.cc browser()->window()->Close(); window 381 chrome/browser/sessions/session_restore_browsertest.cc const TabRestoreService::Window* window = window 383 chrome/browser/sessions/session_restore_browsertest.cc EXPECT_EQ(3U, window->tabs.size()); window 390 chrome/browser/sessions/session_restore_browsertest.cc window->tabs.begin(); it != window->tabs.end(); ++it) { window 410 chrome/browser/sessions/session_restore_browsertest.cc window = static_cast<TabRestoreService::Window*>(service->entries().front()); window 411 chrome/browser/sessions/session_restore_browsertest.cc EXPECT_EQ(2U, window->tabs.size()); window 441 chrome/browser/sessions/session_restore_browsertest.cc browser()->window()->Close(); window 477 chrome/browser/sessions/session_restore_browsertest.cc incognito_browser->window()->Show(); window 608 chrome/browser/sessions/session_restore_browsertest.cc SessionWindow window; window 618 chrome/browser/sessions/session_restore_browsertest.cc window.tabs.push_back(&tab1); window 629 chrome/browser/sessions/session_restore_browsertest.cc window.tabs.push_back(&tab2); window 631 chrome/browser/sessions/session_restore_browsertest.cc session.push_back(static_cast<const SessionWindow*>(&window)); window 668 chrome/browser/sessions/session_restore_browsertest.cc window.tabs.clear(); window 871 chrome/browser/sessions/session_restore_browsertest.cc popup->window()->Show(); window 917 chrome/browser/sessions/session_service.cc SessionWindow* window = new SessionWindow(); window 918 chrome/browser/sessions/session_service.cc window->window_id.set_id(window_id); window 919 chrome/browser/sessions/session_service.cc (*windows)[window_id] = window; window 920 chrome/browser/sessions/session_service.cc return window; window 972 chrome/browser/sessions/session_service.cc SessionWindow* window = i->second; window 973 chrome/browser/sessions/session_service.cc AppType app_type = window->app_name.empty() ? TYPE_NORMAL : TYPE_APP; window 974 chrome/browser/sessions/session_service.cc if (window->tabs.empty() || window->is_constrained || window 976 chrome/browser/sessions/session_service.cc static_cast<Browser::Type>(window->type), window 978 chrome/browser/sessions/session_service.cc delete window; window 982 chrome/browser/sessions/session_service.cc std::sort(window->tabs.begin(), window->tabs.end(), window 986 chrome/browser/sessions/session_service.cc valid_windows->push_back(window); window 990 chrome/browser/sessions/session_service.cc window, &WindowOrderSortFunction), window 991 chrome/browser/sessions/session_service.cc window); window 1006 chrome/browser/sessions/session_service.cc SessionWindow* window = GetWindow(tab->window_id.id(), windows); window 1007 chrome/browser/sessions/session_service.cc window->tabs.push_back(tab); window 1380 chrome/browser/sessions/session_service.cc browser->window()->GetRestoredBounds(), window 1381 chrome/browser/sessions/session_service.cc browser->window()->GetRestoredState())); window 1422 chrome/browser/sessions/session_service.cc browser->window()) { window 121 chrome/browser/sessions/tab_restore_service_helper.cc scoped_ptr<Window> window(new Window()); window 122 chrome/browser/sessions/tab_restore_service_helper.cc window->selected_tab_index = delegate->GetSelectedIndex(); window 123 chrome/browser/sessions/tab_restore_service_helper.cc window->timestamp = TimeNow(); window 124 chrome/browser/sessions/tab_restore_service_helper.cc window->app_name = delegate->GetAppName(); window 129 chrome/browser/sessions/tab_restore_service_helper.cc window->tabs.push_back(Tab()); window 133 chrome/browser/sessions/tab_restore_service_helper.cc PopulateTab(&(window->tabs[entry_index]), window 137 chrome/browser/sessions/tab_restore_service_helper.cc if (window->tabs[entry_index].navigations.empty()) { window 138 chrome/browser/sessions/tab_restore_service_helper.cc window->tabs.erase(window->tabs.begin() + entry_index); window 140 chrome/browser/sessions/tab_restore_service_helper.cc window->tabs[entry_index].browser_id = delegate->GetSessionID().id(); window 144 chrome/browser/sessions/tab_restore_service_helper.cc if (window->tabs.size() == 1 && window->app_name.empty()) { window 148 chrome/browser/sessions/tab_restore_service_helper.cc AddEntry(new Tab(window->tabs[0]), true, true); window 149 chrome/browser/sessions/tab_restore_service_helper.cc } else if (!window->tabs.empty()) { window 150 chrome/browser/sessions/tab_restore_service_helper.cc window->selected_tab_index = window 151 chrome/browser/sessions/tab_restore_service_helper.cc std::min(static_cast<int>(window->tabs.size() - 1), window 152 chrome/browser/sessions/tab_restore_service_helper.cc window->selected_tab_index); window 153 chrome/browser/sessions/tab_restore_service_helper.cc AddEntry(window.release(), true, true); window 236 chrome/browser/sessions/tab_restore_service_helper.cc Window* window = static_cast<Window*>(entry); window 243 chrome/browser/sessions/tab_restore_service_helper.cc window->app_name); window 244 chrome/browser/sessions/tab_restore_service_helper.cc for (size_t tab_i = 0; tab_i < window->tabs.size(); ++tab_i) { window 245 chrome/browser/sessions/tab_restore_service_helper.cc const Tab& tab = window->tabs[tab_i]; window 251 chrome/browser/sessions/tab_restore_service_helper.cc static_cast<int>(tab_i) == window->selected_tab_index, window 263 chrome/browser/sessions/tab_restore_service_helper.cc if (window->tabs[0].has_browser()) { window 264 chrome/browser/sessions/tab_restore_service_helper.cc UpdateTabBrowserIDs(window->tabs[0].browser_id, window 270 chrome/browser/sessions/tab_restore_service_helper.cc for (std::vector<Tab>::iterator tab_i = window->tabs.begin(); window 271 chrome/browser/sessions/tab_restore_service_helper.cc tab_i != window->tabs.end(); ++tab_i) { window 278 chrome/browser/sessions/tab_restore_service_helper.cc window->tabs.erase(tab_i); window 281 chrome/browser/sessions/tab_restore_service_helper.cc if (!window->tabs.size()) { window 290 chrome/browser/sessions/tab_restore_service_helper.cc for (std::vector<Tab>::iterator tab_j = window->tabs.begin(); window 291 chrome/browser/sessions/tab_restore_service_helper.cc tab_j != window->tabs.end(); ++tab_j) { window 520 chrome/browser/sessions/tab_restore_service_helper.cc bool TabRestoreServiceHelper::ValidateWindow(Window* window) { window 521 chrome/browser/sessions/tab_restore_service_helper.cc window->selected_tab_index = window 522 chrome/browser/sessions/tab_restore_service_helper.cc std::max(0, std::min(window->selected_tab_index, window 523 chrome/browser/sessions/tab_restore_service_helper.cc static_cast<int>(window->tabs.size() - 1))); window 526 chrome/browser/sessions/tab_restore_service_helper.cc for (std::vector<Tab>::iterator tab_i = window->tabs.begin(); window 527 chrome/browser/sessions/tab_restore_service_helper.cc tab_i != window->tabs.end();) { window 529 chrome/browser/sessions/tab_restore_service_helper.cc tab_i = window->tabs.erase(tab_i); window 530 chrome/browser/sessions/tab_restore_service_helper.cc if (i < window->selected_tab_index) window 531 chrome/browser/sessions/tab_restore_service_helper.cc window->selected_tab_index--; window 532 chrome/browser/sessions/tab_restore_service_helper.cc else if (i == window->selected_tab_index) window 533 chrome/browser/sessions/tab_restore_service_helper.cc window->selected_tab_index = 0; window 540 chrome/browser/sessions/tab_restore_service_helper.cc if (window->tabs.empty()) window 558 chrome/browser/sessions/tab_restore_service_helper.cc bool TabRestoreServiceHelper::IsWindowInteresting(const Window* window) { window 559 chrome/browser/sessions/tab_restore_service_helper.cc if (window->tabs.empty()) window 562 chrome/browser/sessions/tab_restore_service_helper.cc if (window->tabs.size() > 1) window 565 chrome/browser/sessions/tab_restore_service_helper.cc return IsTabInteresting(&window->tabs[0]); window 149 chrome/browser/sessions/tab_restore_service_helper.h static bool ValidateWindow(Window* window); window 156 chrome/browser/sessions/tab_restore_service_helper.h static bool IsWindowInteresting(const Window* window); window 40 chrome/browser/signin/signin_header_helper.cc browser->window()->ShowAvatarBubbleFromAvatarButton( window 43 chrome/browser/sync/glue/session_data_type_controller.cc std::set<browser_sync::SyncedWindowDelegate*> window = window 46 chrome/browser/sync/glue/session_data_type_controller.cc window.begin(); i != window.end(); ++i) { window 313 chrome/browser/sync/glue/session_model_associator.cc const SyncedWindowDelegate* window) { window 314 chrome/browser/sync/glue/session_model_associator.cc if (window->IsApp()) window 316 chrome/browser/sync/glue/session_model_associator.cc return window->IsTypeTabbed() || window->IsTypePopup(); window 813 chrome/browser/sync/glue/session_model_associator.cc const sync_pb::SessionWindow& window_s = header.window(i); window 1114 chrome/browser/sync/glue/session_model_associator.cc const SyncedWindowDelegate* window = window 1117 chrome/browser/sync/glue/session_model_associator.cc if (!window && !setup_for_test_) window 256 chrome/browser/sync/glue/session_model_associator.h static bool ShouldSyncWindow(const SyncedWindowDelegate* window); window 303 chrome/browser/sync/glue/session_model_associator.h const sync_pb::SessionWindow& window, window 38 chrome/browser/sync/glue/session_sync_test_helper.cc sync_pb::SessionWindow* window = header->add_window(); window 39 chrome/browser/sync/glue/session_sync_test_helper.cc window->set_window_id(window_id); window 40 chrome/browser/sync/glue/session_sync_test_helper.cc window->set_selected_tab_index(0); window 41 chrome/browser/sync/glue/session_sync_test_helper.cc window->set_browser_type(sync_pb::SessionWindow_BrowserType_TYPE_TABBED); window 44 chrome/browser/sync/glue/session_sync_test_helper.cc window->add_tab(*iter); window 77 chrome/browser/sync/glue/synced_session.cc bool SessionWindowHasNoTabsToSync(const SessionWindow& window) { window 79 chrome/browser/sync/glue/synced_session.cc for (std::vector<SessionTab*>::const_iterator i = window.tabs.begin(); window 80 chrome/browser/sync/glue/synced_session.cc i != window.tabs.end(); ++i) { window 98 chrome/browser/sync/glue/synced_session.h bool SessionWindowHasNoTabsToSync(const SessionWindow& window); window 36 chrome/browser/sync/sessions2/session_data_type_controller2.cc std::set<browser_sync::SyncedWindowDelegate*> window = window 39 chrome/browser/sync/sessions2/session_data_type_controller2.cc window.begin(); i != window.end(); ++i) { window 602 chrome/browser/sync/sessions2/sessions_sync_manager.cc const sync_pb::SessionWindow& window_s = header.window(i); window 1151 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_EQ(1, session_header.window(0).tab_size()); window 1287 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_EQ(1, header_s.window(0).tab_size()); window 1374 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_EQ(2, session_header.window(0).tab_size()); window 49 chrome/browser/sync/sessions2/sessions_util.cc bool ShouldSyncWindow(const SyncedWindowDelegate* window) { window 50 chrome/browser/sync/sessions2/sessions_util.cc if (window->IsApp()) window 52 chrome/browser/sync/sessions2/sessions_util.cc return window->IsTypeTabbed() || window->IsTypePopup(); window 21 chrome/browser/sync/sessions2/sessions_util.h bool ShouldSyncWindow(const SyncedWindowDelegate* window); window 211 chrome/browser/sync/test/integration/sessions_helper.cc const SessionWindow& window = *(w->second); window 213 chrome/browser/sync/test/integration/sessions_helper.cc new_window->window_id.set_id(window.window_id.id()); window 214 chrome/browser/sync/test/integration/sessions_helper.cc for (size_t t = 0; t < window.tabs.size(); ++t) { window 215 chrome/browser/sync/test/integration/sessions_helper.cc const SessionTab& tab = *window.tabs.at(t); window 375 chrome/browser/translate/translate_manager_render_view_host_unittest.cc virtual void ShowImplementation(BrowserWindow* window, window 376 chrome/browser/translate/translate_tab_helper.cc browser->window(), web_contents(), step, error_type); window 47 chrome/browser/ui/android/ssl_client_certificate_request.cc ui::WindowAndroid* window, window 114 chrome/browser/ui/android/ssl_client_certificate_request.cc window->GetJavaObject().obj(), window 234 chrome/browser/ui/android/ssl_client_certificate_request.cc ui::WindowAndroid* window = window 236 chrome/browser/ui/android/ssl_client_certificate_request.cc DCHECK(window); window 238 chrome/browser/ui/android/ssl_client_certificate_request.cc StartClientCertificateRequest(cert_request_info, window, callback); window 170 chrome/browser/ui/apps/chrome_app_window_delegate.cc apps::AppWindow* window, window 172 chrome/browser/ui/apps/chrome_app_window_delegate.cc return CreateNativeAppWindowImpl(window, params); window 31 chrome/browser/ui/apps/chrome_app_window_delegate.h apps::AppWindow* window, window 62 chrome/browser/ui/apps/chrome_app_window_delegate.h apps::AppWindow* window, window 82 chrome/browser/ui/ash/accelerator_commands_browsertest.cc Browser* browser = chrome::FindBrowserWithWindow(window_state->window()); window 150 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ash::wm::GetWindowState(browser()->window()->GetNativeWindow()); window 164 chrome/browser/ui/ash/accelerator_commands_browsertest.cc window_state->window()->SetProperty(aura::client::kCanMaximizeKey, false); window 177 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ash::wm::GetWindowState(app_host_browser->window()->GetNativeWindow()); window 196 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ash::wm::GetWindowState(popup_browser->window()->GetNativeWindow()); window 65 chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.cc browser->window()->Show(); window 66 chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.cc browser->window()->Activate(); window 93 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc if (browser && browser->window()->GetNativeWindow()->IsVisible()) window 325 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc browser->window(), window 344 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc AnimateWindow(browser->window()->GetNativeWindow(), window 31 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc bool ControlsWindow(aura::Window* window) { window 32 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc return chrome::GetHostDesktopTypeForNativeWindow(window) == window 116 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc void AppWindowLauncherController::OnWindowDestroying(aura::Window* window) { window 117 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc if (!ControlsWindow(window)) window 119 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc UnregisterApp(window); window 140 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc aura::Window* window = app_window->GetNativeWindow(); window 142 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc DCHECK(window_to_app_shelf_id_map_.find(window) == window 145 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc window_to_app_shelf_id_map_[window] = app_shelf_id; window 146 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc window->AddObserver(this); window 150 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc ash::ShelfItemStatus status = ash::wm::IsActiveWindow(window) window 187 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc ash::SetShelfIDForWindow(shelf_id, window); window 190 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc void AppWindowLauncherController::UnregisterApp(aura::Window* window) { window 192 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc window_to_app_shelf_id_map_.find(window); window 196 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc window->RemoveObserver(this); window 201 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc controller->RemoveAppWindowForWindow(window); window 211 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc bool AppWindowLauncherController::IsRegisteredApp(aura::Window* window) { window 212 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc return window_to_app_shelf_id_map_.find(window) != window 219 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc AppWindowLauncherController::ControllerForWindow(aura::Window* window) { window 221 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc window_to_app_shelf_id_map_.find(window); window 58 chrome/browser/ui/ash/launcher/app_window_launcher_controller.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 69 chrome/browser/ui/ash/launcher/app_window_launcher_controller.h void UnregisterApp(aura::Window* window); window 72 chrome/browser/ui/ash/launcher/app_window_launcher_controller.h bool IsRegisteredApp(aura::Window* window); window 79 chrome/browser/ui/ash/launcher/app_window_launcher_controller.h AppWindowLauncherItemController* ControllerForWindow(aura::Window* window); window 56 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc explicit AppWindowHasWindow(aura::Window* window) : window_(window) {} window 90 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc aura::Window* window) { window 92 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc app_windows_.begin(), app_windows_.end(), AppWindowHasWindow(window)); window 98 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc observed_windows_.Remove(window); window 101 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc void AppWindowLauncherItemController::SetActiveWindow(aura::Window* window) { window 103 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc app_windows_.begin(), app_windows_.end(), AppWindowHasWindow(window)); window 247 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc aura::Window* window, window 252 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc if (ash::wm::IsActiveWindow(window)) { window 254 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc } else if (window->GetProperty(aura::client::kDrawAttentionKey)) { window 48 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h void RemoveAppWindowForWindow(aura::Window* window); window 50 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h void SetActiveWindow(aura::Window* window); window 70 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h virtual void OnWindowPropertyChanged(aura::Window* window, window 64 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc aura::Window* window = ash::wm::GetActiveWindow(); window 65 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc if (window) { window 69 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc Browser* browser = chrome::FindBrowserWithWindow(window); window 122 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc aura::Window* window = last_browser->window()->GetNativeWindow(); window 123 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc return ash::wm::IsActiveWindow(window); window 142 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc last_browser->window(), GetApplicationList(0).size() == 2); window 166 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc !browser->window()) window 291 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc AnimateWindow(browser->window()->GetNativeWindow(), window 314 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc browser->window()->Show(); window 315 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc browser->window()->Activate(); window 41 chrome/browser/ui/ash/launcher/browser_status_monitor.cc if (browser->window()->IsActive() && window 44 chrome/browser/ui/ash/launcher/browser_status_monitor.cc else if (browser->window()->IsActive()) window 54 chrome/browser/ui/ash/launcher/browser_status_monitor.cc browser->window()->GetNativeWindow()); window 165 chrome/browser/ui/ash/launcher/browser_status_monitor.cc void BrowserStatusMonitor::OnWindowDestroyed(aura::Window* window) { window 167 chrome/browser/ui/ash/launcher/browser_status_monitor.cc observed_root_windows_.Remove(window); window 169 chrome/browser/ui/ash/launcher/browser_status_monitor.cc aura::client::GetActivationClient(window)); window 245 chrome/browser/ui/ash/launcher/browser_status_monitor.cc state = browser->window()->IsActive() ? window 251 chrome/browser/ui/ash/launcher/browser_status_monitor.cc browser->window()->GetNativeWindow()); window 271 chrome/browser/ui/ash/launcher/browser_status_monitor.cc if (browser->window()->IsActive() && window 279 chrome/browser/ui/ash/launcher/browser_status_monitor.cc browser->window()->GetNativeWindow()); window 64 chrome/browser/ui/ash/launcher/browser_status_monitor.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 42 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc browser_->window()->Show(); window 43 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc ash::wm::ActivateWindow(browser_->window()->GetNativeWindow()); window 47 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc browser->window()->Show(); window 49 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc if (browser->window()->GetNativeWindow()) window 50 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc ash::wm::ActivateWindow(browser->window()->GetNativeWindow()); window 1008 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ui::BaseWindow* window, window 1014 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc aura::Window* native_window = window->GetNativeWindow(); window 1023 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc window->Activate(); window 1028 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (window->IsActive() && allow_minimize) { window 1031 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc AnimateWindow(window->GetNativeWindow(), window 1034 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc window->Minimize(); window 1037 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc window->Show(); window 1038 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc window->Activate(); window 1695 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (browser->window()->IsActive()) { window 283 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h void ActivateWindowOrMinimizeIfActive(ui::BaseWindow* window, window 348 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc AppWindow* window = CreateAppWindow(extension); window 354 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc CloseAppWindow(window); window 376 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc AppWindow* window = CreateAppWindow(extension); window 377 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::wm::ActivateWindow(window->GetNativeWindow()); window 384 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc CloseAppWindow(window); window 395 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc AppWindow* window = CreateAppWindow(extension); window 425 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc CloseAppWindow(window); window 453 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc AppWindow* window = CreateAppWindow(extension); window 454 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::wm::ActivateWindow(window->GetNativeWindow()); window 471 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc CloseAppWindow(window); window 779 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::wm::ActivateWindow(browser()->window()->GetNativeWindow()); window 877 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc aura::Window* window1 = browser()->window()->GetNativeWindow(); window 886 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc aura::Window* window2 = browser2->window()->GetNativeWindow(); window 1193 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::wm::DeactivateWindow(browser()->window()->GetNativeWindow()); window 1370 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc AppWindow* window = CreateAppWindowFromParams(extension, params); window 1377 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc CloseAppWindow(window); window 1426 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc aura::Window* window1 = browser1->window()->GetNativeWindow(); window 1428 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc aura::Window* window2 = browser2->window()->GetNativeWindow(); window 1443 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc aura::Window* window3 = browser3->window()->GetNativeWindow(); window 1934 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc aura::Window* window = browser()->window()->GetNativeWindow(); window 1938 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(browser_id, ash::GetShelfIDForWindow(window)); window 1948 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(app_id, ash::GetShelfIDForWindow(window)); window 1954 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(browser_id, ash::GetShelfIDForWindow(window)); window 662 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc create_params.window = this; window 677 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc aura::Window* window = new aura::Window(NULL); window 678 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc window->set_id(0); window 679 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 680 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 681 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc window->Show(); window 684 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc new TestBrowserWindowAura(window)); window 736 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc params.window = this; window 1635 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc manager->ShowWindowForUser(v1_app->browser()->window()->GetNativeWindow(), window 1713 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc aura::Window* window = browser_window->GetNativeWindow(); window 1714 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc manager->SetWindowOwner(window, current_user); window 1720 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(manager->IsWindowOnDesktopOfUser(window, current_user)); window 1724 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc manager->ShowWindowForUser(window, user2); window 1725 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(manager->IsWindowOnDesktopOfUser(window, current_user)); window 1728 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(manager->IsWindowOnDesktopOfUser(window, current_user)); window 2257 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc browser()->window()->GetNativeWindow(), window 2392 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc browser()->window()->GetNativeWindow(), window 2481 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(v2_app_1.window()->GetNativeWindow()->IsVisible()); window 2483 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_1.window()->GetNativeWindow()->IsVisible()); window 2487 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_1.window()->GetNativeWindow()->IsVisible()); window 2488 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_2.window()->GetNativeWindow()->IsVisible()); window 2491 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc manager->ShowWindowForUser(v2_app_1.window()->GetNativeWindow(), window 2493 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(v2_app_1.window()->GetNativeWindow()->IsVisible()); window 2494 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_2.window()->GetNativeWindow()->IsVisible()); window 2499 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(v2_app_1.window()->GetNativeWindow()->IsVisible()); window 2500 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_2.window()->GetNativeWindow()->IsVisible()); window 2501 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(v2_app_3.window()->GetNativeWindow()->IsVisible()); window 2507 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_1.window()->GetNativeWindow()->IsVisible()); window 2508 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(v2_app_2.window()->GetNativeWindow()->IsVisible()); window 2509 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_3.window()->GetNativeWindow()->IsVisible()); window 2510 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(v2_app_4.window()->GetNativeWindow()->IsVisible()); window 2516 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(v2_app_5.window()->GetNativeWindow()->IsVisible()); window 2518 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_TRUE(v2_app_5.window()->GetNativeWindow()->IsVisible()); window 8 chrome/browser/ui/ash/launcher/launcher_item_util.cc void CreateShelfItemForDialog(int image_resource_id, aura::Window* window) { window 12 chrome/browser/ui/ash/launcher/launcher_item_util.cc item_details.title = window->title(); window 13 chrome/browser/ui/ash/launcher/launcher_item_util.cc ash::SetShelfItemDetailsForWindow(window, item_details); window 18 chrome/browser/ui/ash/launcher/launcher_item_util.h aura::Window* window); window 17 chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.cc bool ControlsWindow(aura::Window* window) { window 18 chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.cc return chrome::GetHostDesktopTypeForNativeWindow(window) == window 68 chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc browser->window()->IsActive() && i == active_index ? window 9 chrome/browser/ui/ash/multi_user/multi_user_context_menu.cc scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window) { window 14 chrome/browser/ui/ash/multi_user/multi_user_context_menu.cc void ExecuteVisitDesktopCommand(int command_id, aura::Window* window) {} window 19 chrome/browser/ui/ash/multi_user/multi_user_context_menu.h scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window); window 23 chrome/browser/ui/ash/multi_user/multi_user_context_menu.h void ExecuteVisitDesktopCommand(int command_id, aura::Window* window); window 35 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc explicit MultiUserContextMenuChromeos(aura::Window* window); window 59 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc MultiUserContextMenuChromeos::MultiUserContextMenuChromeos(aura::Window* window) window 61 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc window_(window) { window 71 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window) { window 83 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc const std::string user_id = manager->GetWindowOwner(window); window 84 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc if (user_id.empty() || !window) window 87 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc new chromeos::MultiUserContextMenuChromeos(window); window 114 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc void ExecuteVisitDesktopCommand(int command_id, aura::Window* window) { window 124 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc base::Bind(&OnAcceptTeleportWarning, user_id, window); window 78 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc EXPECT_EQ(NULL, CreateMultiUserContextMenu(window()).get()); window 82 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc EXPECT_EQ(NULL, CreateMultiUserContextMenu(window()).get()); window 89 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(), "A"); window 90 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc EXPECT_EQ(NULL, CreateMultiUserContextMenu(window()).get()); window 95 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc scoped_ptr<ui::MenuModel> menu = CreateMultiUserContextMenu(window()); window 101 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc scoped_ptr<ui::MenuModel> menu = CreateMultiUserContextMenu(window()); window 60 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.cc aura::Window* window) { window 65 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.cc aura::Window* window) { window 70 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.cc aura::Window* window) { window 37 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h virtual void OnOwnerEntryAdded(aura::Window* window) OVERRIDE; window 38 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h virtual void OnOwnerEntryChanged(aura::Window* window) OVERRIDE; window 39 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h virtual void OnOwnerEntryRemoved(aura::Window* window) OVERRIDE; window 111 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc aura::Window* window = CreateTestWindowInShellWithId(window_id_++); window 112 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc chrome::MultiUserWindowManager::GetInstance()->SetWindowOwner(window, name); window 113 chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc return window; window 48 chrome/browser/ui/ash/multi_user/multi_user_util.cc Profile* GetProfileFromWindow(aura::Window* window) { window 55 chrome/browser/ui/ash/multi_user/multi_user_util.cc const std::string user_id = manager->GetUserPresentingWindow(window); window 83 chrome/browser/ui/ash/multi_user/multi_user_util.cc void MoveWindowToCurrentDesktop(aura::Window* window) { window 86 chrome/browser/ui/ash/multi_user/multi_user_util.cc window, window 28 chrome/browser/ui/ash/multi_user/multi_user_util.h Profile* GetProfileFromWindow(aura::Window* window); window 40 chrome/browser/ui/ash/multi_user/multi_user_util.h void MoveWindowToCurrentDesktop(aura::Window* window); window 70 chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc bool MultiUserWindowManager::ShouldShowAvatar(aura::Window* window) { window 76 chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc return !instance->IsWindowOnDesktopOfUser(window, window 77 chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc instance->GetWindowOwner(window)); window 48 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h virtual void OnOwnerEntryAdded(aura::Window* window) {} window 50 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h virtual void OnOwnerEntryChanged(aura::Window* window) {} window 53 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h virtual void OnOwnerEntryRemoved(aura::Window* window) {} window 84 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h static bool ShouldShowAvatar(aura::Window* window); window 100 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h aura::Window* window, const std::string& user_id) = 0; window 104 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h virtual const std::string& GetWindowOwner(aura::Window* window) = 0; window 113 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h aura::Window* window, const std::string& user_id) = 0; window 123 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h virtual bool IsWindowOnDesktopOfUser(aura::Window* window, window 128 chrome/browser/ui/ash/multi_user/multi_user_window_manager.h virtual const std::string& GetUserPresentingWindow(aura::Window* window) = 0; window 106 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc void RecordUMAForTransferredWindowType(aura::Window* window) { window 108 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc Browser* browser = chrome::FindBrowserWithWindow(window); window 134 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc ->GetAppWindowForNativeWindow(window); window 155 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc AnimationSetter(aura::Window* window, int animation_time_in_ms) window 156 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc : window_(window), window 219 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window = app_window->GetNativeWindow(); window 220 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc DCHECK(window); window 221 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc MultiUserWindowManagerChromeOS::GetInstance()->SetWindowOwner(window, window 258 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc WindowToEntryMap::iterator window = window_to_entry_.begin(); window 259 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc while (window != window_to_entry_.end()) { window 260 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc OnWindowDestroyed(window->first); window 261 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window = window_to_entry_.begin(); window 284 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 287 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc DCHECK(window); window 289 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (GetWindowOwner(window) == user_id) window 291 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc DCHECK(GetWindowOwner(window).empty()); window 292 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window_to_entry_[window] = new WindowEntry(user_id); window 295 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window_to_entry_[window]->set_show(window->IsVisible()); window 298 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->AddObserver(this); window 299 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc wm::TransientWindowManager::Get(window)->AddObserver(this); window 304 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window_to_entry_[window]->set_show_for_user(current_user_id_); window 308 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc AddTransientOwnerRecursive(window, window); window 311 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc FOR_EACH_OBSERVER(Observer, observers_, OnOwnerEntryAdded(window)); window 313 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (!IsWindowOnDesktopOfUser(window, current_user_id_)) window 314 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisibility(window, false, 0); window 318 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window) { window 319 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc WindowToEntryMap::iterator it = window_to_entry_.find(window); window 325 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 327 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc std::string previous_owner(GetUserPresentingWindow(window)); window 328 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (!ShowWindowForUserIntern(window, user_id)) window 359 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 361 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc const std::string& presenting_user = GetUserPresentingWindow(window); window 366 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window) { window 367 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc WindowToEntryMap::iterator it = window_to_entry_.find(window); window 440 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc void MultiUserWindowManagerChromeOS::OnWindowDestroyed(aura::Window* window) { window 441 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (GetWindowOwner(window).empty()) { window 444 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc RemoveTransientOwnerRecursive(window); window 447 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc wm::TransientWindowManager::Get(window)->RemoveObserver(this); window 449 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc delete window_to_entry_[window]; window 450 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window_to_entry_.erase(window); window 453 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc FOR_EACH_OBSERVER(Observer, observers_, OnOwnerEntryRemoved(window)); window 457 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, bool visible) { window 466 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc WindowToEntryMap::iterator it = window_to_entry_.find(window); window 474 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc transient_window_to_visibility_.find(window); window 481 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, bool visible) { window 486 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (visible && !IsWindowOnDesktopOfUser(window, current_user_id_)) { window 487 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisibility(window, false, 0); window 490 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* owned_parent = GetOwningWindowInTransientChain(window); window 491 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (owned_parent && owned_parent != window && visible && window 493 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisibility(window, false, 0); window 497 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 499 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (!GetWindowOwner(window).empty()) { window 500 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc AddTransientOwnerRecursive(transient_window, window); window 512 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 516 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (!GetWindowOwner(window).empty() || window 517 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc GetOwningWindowInTransientChain(window)) window 542 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 546 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc const std::string& owner = GetWindowOwner(window); window 548 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc (owner == user_id && IsWindowOnDesktopOfUser(window, user_id))) window 551 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc bool minimized = ash::wm::GetWindowState(window)->IsMinimized(); window 563 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc RecordUMAForTransferredWindowType(window); window 566 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc WindowToEntryMap::iterator it = window_to_entry_.find(window); window 573 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisibility(window, true, kTeleportAnimationTimeMS); window 575 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisibility(window, false, kTeleportAnimationTimeMS); window 579 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc FOR_EACH_OBSERVER(Observer, observers_, OnOwnerEntryChanged(window)); window 612 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window = *it_window; window 613 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc WindowToEntryMap::iterator it_map = window_to_entry_.find(window); window 618 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc bool is_visible = window->IsVisible(); window 619 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc ash::wm::WindowState* window_state = ash::wm::GetWindowState(window); window 625 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc ShowWindowForUserIntern(window, current_user_id_); window 629 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisibility(window, should_be_visible, kUserFadeTimeMS); window 641 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window = mru_list[0]; window 642 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc ash::wm::WindowState* window_state = ash::wm::GetWindowState(window); window 643 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (IsWindowOnDesktopOfUser(window, current_user_id_) && window 646 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::client::GetActivationClient(window->GetRootWindow()); window 649 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc client->ActivateWindow(window); window 720 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (!browser->window() || !browser->window()->GetNativeWindow()) window 722 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowOwner(browser->window()->GetNativeWindow(), window 727 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, bool visible, int animation_time_in_ms) { window 728 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (window->IsVisible() == visible) window 735 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (!visible && window->GetRootWindow()) { window 738 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->GetRootWindow()->GetChildById( window 740 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (window->parent() == system_modal_container) { window 743 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc std::string user_id = GetUserPresentingWindow(window); window 745 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* owning_window = GetOwningWindowInTransientChain(window); window 761 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc ShowWithTransientChildrenRecursive(window, animation_time_in_ms); window 763 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (window->HasFocus()) window 764 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->Blur(); window 765 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisible(window, false, animation_time_in_ms); window 770 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, int animation_time_in_ms) { window 772 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc wm::GetTransientChildren(window).begin(); window 773 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc for (; it != wm::GetTransientChildren(window).end(); ++it) window 778 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc transient_window_to_visibility_.find(window); window 780 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisible(window, true, animation_time_in_ms); window 784 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window) { window 785 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (!GetWindowOwner(window).empty()) window 787 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* parent = wm::GetTransientParent(window); window 797 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 801 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc wm::GetTransientChildren(window).begin(); window 802 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc for (; it != wm::GetTransientChildren(window).end(); ++it) window 806 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (window == owned_parent) window 810 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc DCHECK(transient_window_to_visibility_.find(window) == window 812 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc transient_window_to_visibility_[window] = window->IsVisible(); window 815 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->AddObserver(this); window 816 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc wm::TransientWindowManager::Get(window)->AddObserver(this); window 822 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc SetWindowVisibility(window, false, kAnimationTimeMS); window 826 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window) { window 829 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc wm::GetTransientChildren(window).begin(); window 830 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc for (; it != wm::GetTransientChildren(window).end(); ++it) window 836 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc transient_window_to_visibility_.find(window); window 839 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->RemoveObserver(this); window 840 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc wm::TransientWindowManager::Get(window)->RemoveObserver(this); window 844 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (unowned_view_state && !window->IsVisible()) { window 850 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->Show(); window 855 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc aura::Window* window, window 859 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window, window 863 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->Show(); window 865 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window->Hide(); window 869 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc DCHECK_EQ(visible, window->IsVisible()); window 70 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h aura::Window* window, const std::string& user_id) OVERRIDE; window 71 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE; window 73 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h aura::Window* window, const std::string& user_id) OVERRIDE; window 77 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h virtual bool IsWindowOnDesktopOfUser(aura::Window* window, window 80 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h aura::Window* window) OVERRIDE; window 89 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 90 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h virtual void OnWindowVisibilityChanging(aura::Window* window, window 92 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h virtual void OnWindowVisibilityChanged(aura::Window* window, window 96 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h virtual void OnTransientChildAdded(aura::Window* window, window 98 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h virtual void OnTransientChildRemoved(aura::Window* window, window 171 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h bool ShowWindowForUserIntern(aura::Window* window, window 195 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h void SetWindowVisibility(aura::Window* window, window 202 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h void ShowWithTransientChildrenRecursive(aura::Window* window, window 207 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h aura::Window* GetOwningWindowInTransientChain(aura::Window* window); window 212 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h void AddTransientOwnerRecursive(aura::Window* window, window 217 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h void RemoveTransientOwnerRecursive(aura::Window* window); window 220 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h void SetWindowVisible(aura::Window* window, window 87 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc void MakeWindowSystemModal(aura::Window* window) { window 89 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window->GetRootWindow()->GetChildById( window 91 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc system_modal_container->AddChild(window); window 94 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc void ShowWindowForUserNoUserTransition(aura::Window* window, window 96 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager_->ShowWindowForUserIntern(window, user_id); window 160 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc if (!window(i)) { window 164 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += window(i)->IsVisible() ? "S[" : "H["; window 166 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager_->GetWindowOwner(window(i)); window 169 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager_->GetUserPresentingWindow(window(i)); window 201 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_EQ("", multi_user_window_manager()->GetWindowOwner(window(0))); window 203 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->GetUserPresentingWindow(window(0))); window 205 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->IsWindowOnDesktopOfUser(window(0), "A")); window 207 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->IsWindowOnDesktopOfUser(window(0), "B")); window 211 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 212 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_EQ("A", multi_user_window_manager()->GetWindowOwner(window(0))); window 214 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->GetUserPresentingWindow(window(0))); window 216 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->IsWindowOnDesktopOfUser(window(0), "A")); window 218 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->IsWindowOnDesktopOfUser(window(0), "B")); window 222 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "B"); window 223 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_EQ("A", multi_user_window_manager()->GetWindowOwner(window(0))); window 225 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->GetUserPresentingWindow(window(0))); window 227 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->IsWindowOnDesktopOfUser(window(0), "A")); window 229 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->IsWindowOnDesktopOfUser(window(0), "B")); window 236 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 238 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "A"); window 242 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "B"); window 244 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(3), "B"); window 256 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(3)->Show(); window 258 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2)->Hide(); window 260 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2)->Show(); window 266 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "B"); window 268 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "A"); window 273 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc aura::Window* to_be_deleted = window(0); window 300 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 301 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "A"); window 302 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "B"); window 303 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(3), "B"); window 304 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(4), "C"); window 310 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(1), "B"); window 314 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(2), "A"); window 318 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(2), "C"); window 332 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(4), "C"); window 337 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(2), "B"); window 353 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(1), "A"); window 360 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "B"); window 363 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "A"); window 364 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "A"); window 382 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 383 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "A"); window 384 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "B"); window 385 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(3), "B"); window 386 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(2), "A"); window 387 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(3), "A"); window 392 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Hide(); window 393 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2)->Hide(); window 394 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(4)->Hide(); window 406 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Show(); window 407 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2)->Show(); window 408 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(4)->Show(); window 421 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Show(); window 422 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2)->Show(); window 423 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(4)->Show(); window 433 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 434 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "B"); window 435 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "B"); window 436 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(1), "A"); window 438 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_TRUE(multi_user_window_manager()->IsWindowOnDesktopOfUser(window(1), window 440 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc wm::GetWindowState(window(1))->Minimize(); window 444 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_TRUE(multi_user_window_manager()->IsWindowOnDesktopOfUser(window(1), window 446 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_TRUE(wm::GetWindowState(window(1))->IsMinimized()); window 450 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_FALSE(wm::GetWindowState(window(1))->IsMinimized()); window 456 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 457 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc wm::GetWindowState(window(0))->Minimize(); window 461 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "B"); window 470 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc aura::client::GetActivationClient(window(0)->GetRootWindow()); window 473 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 474 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "A"); window 475 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "B"); window 476 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(3), "B"); window 480 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc activation_client->ActivateWindow(window(1)); window 485 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_TRUE(window(3) == activation_client->GetActiveWindow() || window 486 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2) == activation_client->GetActiveWindow()); window 488 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc activation_client->ActivateWindow(window(2)); window 491 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_EQ(window(1), activation_client->GetActiveWindow()); window 494 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_EQ(window(2), activation_client->GetActiveWindow()); window 501 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc wm::GetWindowState(window(0))->Minimize(); window 505 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_TRUE(wm::GetWindowState(window(0))->IsMinimized()); window 506 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc EXPECT_EQ(window(1), activation_client->GetActiveWindow()); window 521 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 522 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(4), "B"); window 523 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::AddTransientChild(window(0), window(1)); window 526 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::AddTransientChild(window(2), window(3)); window 527 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::AddTransientChild(window(1), window(2)); window 528 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::AddTransientChild(window(4), window(5)); window 529 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::AddTransientChild(window(4), window(6)); window 530 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::AddTransientChild(window(7), window(8)); window 531 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::AddTransientChild(window(7), window(9)); window 539 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(5)->Show(); window 540 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(6)->Show(); window 547 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2)->Hide(); window 548 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(9)->Hide(); window 568 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::RemoveTransientChild(window(2), window(3)); window 569 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::RemoveTransientChild(window(4), window(6)); window 572 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::RemoveTransientChild(window(0), window(1)); window 573 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::RemoveTransientChild(window(1), window(2)); window 574 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::RemoveTransientChild(window(4), window(5)); window 575 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::RemoveTransientChild(window(7), window(8)); window 576 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ::wm::RemoveTransientChild(window(7), window(9)); window 584 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Show(); window 585 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(1)->Hide(); window 586 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(2)->Show(); window 587 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(3)->Hide(); window 591 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 592 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "A"); window 593 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "B"); window 594 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(3), "B"); window 603 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "B"); window 604 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(1), "B"); window 605 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(2), "A"); window 606 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(3), "A"); window 621 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc MakeWindowSystemModal(window(0)); window 625 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "b"); window 636 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc MakeWindowSystemModal(window(0)); window 640 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "a"); window 651 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Hide(); window 652 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "b"); window 653 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "a"); window 654 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc MakeWindowSystemModal(window(0)); window 656 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Show(); window 667 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Hide(); window 668 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "a"); window 669 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ShowWindowForUserNoUserTransition(window(0), "b"); window 670 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc MakeWindowSystemModal(window(0)); window 672 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc window(0)->Show(); window 682 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "A"); window 683 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "B"); window 684 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "C"); window 716 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(0), "a"); window 717 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(1), "b"); window 718 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->SetWindowOwner(window(2), "c"); window 726 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->ShowWindowForUser(window(0), "b"); window 732 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->ShowWindowForUser(window(2), "a"); window 735 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->ShowWindowForUser(window(2), "b"); window 740 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc multi_user_window_manager()->ShowWindowForUser(window(2), "c"); window 12 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc void MultiUserWindowManagerStub::SetWindowOwner(aura::Window* window, window 18 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc aura::Window* window) { window 22 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc void MultiUserWindowManagerStub::ShowWindowForUser(aura::Window* window, window 36 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc aura::Window* window, window 42 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc aura::Window* window) { window 25 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h aura::Window* window, const std::string& user_id) OVERRIDE; window 26 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE; window 28 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h aura::Window* window, const std::string& user_id) OVERRIDE; window 32 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h virtual bool IsWindowOnDesktopOfUser(aura::Window* window, window 35 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h aura::Window* window) OVERRIDE; window 441 chrome/browser/ui/ash/screenshot_taker.cc aura::Window* window, const gfx::Rect& rect) { window 463 chrome/browser/ui/ash/screenshot_taker.cc GrabPartialWindowSnapshotAsync(window, rect, GetProfile(), screenshot_path); window 577 chrome/browser/ui/ash/screenshot_taker.cc aura::Window* window, window 586 chrome/browser/ui/ash/screenshot_taker.cc window, window 597 chrome/browser/ui/ash/screenshot_taker.cc aura::Window* window, window 606 chrome/browser/ui/ash/screenshot_taker.cc window, window 60 chrome/browser/ui/ash/screenshot_taker.h virtual void HandleTakePartialScreenshot(aura::Window* window, window 80 chrome/browser/ui/ash/screenshot_taker.h void GrabPartialWindowSnapshotAsync(aura::Window* window, window 84 chrome/browser/ui/ash/screenshot_taker.h void GrabFullWindowSnapshotAsync(aura::Window* window, window 43 chrome/browser/ui/ash/session_state_delegate_chromeos.cc aura::Window* window) { window 45 chrome/browser/ui/ash/session_state_delegate_chromeos.cc chrome::MultiUserWindowManager::GetInstance()->GetWindowOwner(window); window 143 chrome/browser/ui/ash/session_state_delegate_chromeos.cc bool SessionStateDelegateChromeos::ShouldShowAvatar(aura::Window* window) { window 145 chrome/browser/ui/ash/session_state_delegate_chromeos.cc ShouldShowAvatar(window); window 29 chrome/browser/ui/ash/session_state_delegate_chromeos.h aura::Window* window) OVERRIDE; window 47 chrome/browser/ui/ash/session_state_delegate_chromeos.h virtual bool ShouldShowAvatar(aura::Window* window) OVERRIDE; window 30 chrome/browser/ui/ash/session_state_delegate_views.cc aura::Window* window) { window 94 chrome/browser/ui/ash/session_state_delegate_views.cc bool SessionStateDelegate::ShouldShowAvatar(aura::Window* window) { window 26 chrome/browser/ui/ash/session_state_delegate_views.h aura::Window* window) OVERRIDE; window 44 chrome/browser/ui/ash/session_state_delegate_views.h virtual bool ShouldShowAvatar(aura::Window* window) OVERRIDE; window 21 chrome/browser/ui/ash/shelf_browsertest.cc browser()->window()->GetNativeWindow())->GetShelfLayoutManager(); window 25 chrome/browser/ui/ash/shelf_browsertest.cc const gfx::Rect old_bounds = browser()->window()->GetBounds(); window 31 chrome/browser/ui/ash/shelf_browsertest.cc browser()->window()->SetBounds(new_bounds); window 35 chrome/browser/ui/ash/shelf_browsertest.cc browser()->window()->GetStatusBubble()->SetStatus( window 112 chrome/browser/ui/ash/window_positioner_unittest.cc window_params.window = browser_window_.get(); window 119 chrome/browser/ui/ash/window_positioner_unittest.cc popup_params.window = browser_popup_.get(); window 124 chrome/browser/ui/ash/window_positioner_unittest.cc window()->Hide(); window 157 chrome/browser/ui/ash/window_positioner_unittest.cc window()->SetBounds(work_area); window 158 chrome/browser/ui/ash/window_positioner_unittest.cc window()->Show(); window 174 chrome/browser/ui/ash/window_positioner_unittest.cc window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width() - 1, window 218 chrome/browser/ui/ash/window_positioner_unittest.cc window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width(), window 222 chrome/browser/ui/ash/window_positioner_unittest.cc window()->Show(); window 57 chrome/browser/ui/aura/active_desktop_monitor.cc void ActiveDesktopMonitor::OnWindowInitialized(aura::Window* window) {} window 33 chrome/browser/ui/aura/active_desktop_monitor.h virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; window 72 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.cc browser->window()->Show(); window 264 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return browser->window(); window 113 chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc gfx::Rect new_bounds = browser()->window()->GetBounds() - gfx::Vector2d(1, 1); window 114 chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc browser()->window()->SetBounds(new_bounds); window 260 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc if (browser && browser->window() && browser->window()->GetLocationBar()) window 261 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc browser->window()->GetLocationBar()->UpdateGeneratedCreditCardView(); window 333 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc LocationBar* location_bar = browser()->window()->GetLocationBar(); window 40 chrome/browser/ui/bookmarks/bookmark_browsertest.cc if (!browser->window()->IsBookmarkBarAnimating()) window 81 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc browser()->window())->show_count()); window 89 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc params.window = incognito_window.get(); window 108 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc browser()->window())->show_count()); window 127 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc params.window = extra_window.get(); window 106 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc if (!browser->window()->IsActive()) window 369 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc browser_->window()->ShowBookmarkPrompt(); window 30 chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc return static_cast<MyTestBrowserWindow*>(browser()->window())-> window 241 chrome/browser/ui/bookmarks/bookmark_utils.cc gfx::NativeWindow window) { window 243 chrome/browser/ui/bookmarks/bookmark_utils.cc return ShowMessageBox(window, window 261 chrome/browser/ui/bookmarks/bookmark_utils.cc BookmarkEditor::Show(browser->window()->GetNativeWindow(), profile, details, window 60 chrome/browser/ui/bookmarks/bookmark_utils.h gfx::NativeWindow window); window 417 chrome/browser/ui/browser.cc window_ = params.window ? params.window : CreateBrowserWindow(this); window 867 chrome/browser/ui/browser.cc if (user_initiated && contents_is_selected && window()->GetLocationBar()) { window 871 chrome/browser/ui/browser.cc window()->GetLocationBar()->Revert(); window 1147 chrome/browser/ui/browser.cc return window()->PreHandleKeyboardEvent(event, is_keyboard_shortcut); window 1152 chrome/browser/ui/browser.cc window()->HandleKeyboardEvent(event); window 1247 chrome/browser/ui/browser.cc window()->GetLocationBar()->ShowFirstRunBubble(); window 1251 chrome/browser/ui/browser.cc if (!window()) window 1267 chrome/browser/ui/browser.cc DownloadShelf* shelf = window()->GetDownloadShelf(); window 1723 chrome/browser/ui/browser.cc 0, window()->GetRenderViewHeightInsetWithDetachedBookmarkBar()); window 1753 chrome/browser/ui/browser.cc window()->ConfirmAddSearchProvider(template_url, profile); window 1840 chrome/browser/ui/browser.cc if (window()->GetLocationBar()) window 1841 chrome/browser/ui/browser.cc window()->GetLocationBar()->UpdatePageActions(); window 1873 chrome/browser/ui/browser.cc if (profile_->IsSameProfile(profile) && window()->GetLocationBar()) window 1874 chrome/browser/ui/browser.cc window()->GetLocationBar()->InvalidatePageActions(); window 1893 chrome/browser/ui/browser.cc if (window() && window()->GetLocationBar()) window 1894 chrome/browser/ui/browser.cc window()->GetLocationBar()->UpdatePageActions(); window 1899 chrome/browser/ui/browser.cc window()->UserChangedTheme(); window 1906 chrome/browser/ui/browser.cc LocationBar* location_bar = window()->GetLocationBar(); window 2018 chrome/browser/ui/browser.cc LocationBar* location_bar = window()->GetLocationBar(); window 2159 chrome/browser/ui/browser.cc LocationBar* location_bar = window()->GetLocationBar(); window 195 chrome/browser/ui/browser.h BrowserWindow* window; window 238 chrome/browser/ui/browser.h BrowserWindow* window() const { return window_; } window 2030 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(browser()->window()->IsFullscreen()); window 2098 chrome/browser/ui/browser_browsertest.cc ASSERT_TRUE(browser()->window()->IsFullscreen()); window 2099 chrome/browser/ui/browser_browsertest.cc ASSERT_FALSE(browser()->window()->IsFullscreenBubbleVisible()); window 2505 chrome/browser/ui/browser_browsertest.cc browser()->window()->GetRenderViewHeightInsetWithDetachedBookmarkBar(); window 2508 chrome/browser/ui/browser_browsertest.cc RenderViewSizeObserver observer(web_contents, browser()->window()); window 185 chrome/browser/ui/browser_close_browsertest.cc new_browser->window()->Show(); window 202 chrome/browser/ui/browser_close_browsertest.cc (*base_browser)->window()->Close(); window 306 chrome/browser/ui/browser_close_browsertest.cc entry_browser->window()->Close(); window 368 chrome/browser/ui/browser_close_browsertest.cc if (!it->window()) { window 372 chrome/browser/ui/browser_close_browsertest.cc it->window()->Close(); window 287 chrome/browser/ui/browser_command_controller.cc if (window()->IsFullscreen() && command_id == IDC_FULLSCREEN) window 483 chrome/browser/ui/browser_command_controller.cc ExecuteVisitDesktopCommand(id, browser_->window()->GetNativeWindow()); window 505 chrome/browser/ui/browser_command_controller.cc if (!VerifyMetroSwitchForApps(window()->GetNativeWindow(), id)) window 512 chrome/browser/ui/browser_command_controller.cc if (!VerifyMetroSwitchForApps(window()->GetNativeWindow(), id)) window 801 chrome/browser/ui/browser_command_controller.cc if (!window()) window 878 chrome/browser/ui/browser_command_controller.cc bool should_hide_ui = window() && window()->ShouldHideUIForFullscreen(); window 1113 chrome/browser/ui/browser_command_controller.cc window()->SetStarredState( window 1115 chrome/browser/ui/browser_command_controller.cc window()->ZoomChangedForActiveTab(false); window 1202 chrome/browser/ui/browser_command_controller.cc if (window() && window()->IsFullscreen()) { window 1205 chrome/browser/ui/browser_command_controller.cc if (window()->IsInMetroSnapMode()) window 1337 chrome/browser/ui/browser_command_controller.cc window()->UpdateReloadStopState(is_loading, force); window 1368 chrome/browser/ui/browser_command_controller.cc return browser_->window(); window 173 chrome/browser/ui/browser_command_controller.h inline BrowserWindow* window(); window 379 chrome/browser/ui/browser_command_controller_unittest.cc ASSERT_TRUE(browser()->window()->IsFullscreen()); window 406 chrome/browser/ui/browser_command_controller_unittest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 192 chrome/browser/ui/browser_commands.cc if (browser->window()->IsActive() && model->IsBookmarked(url)) { window 195 chrome/browser/ui/browser_commands.cc browser->window()->ShowBookmarkBubble(url, was_bookmarked); window 223 chrome/browser/ui/browser_commands.cc new_browser->window()->Show(); window 227 chrome/browser/ui/browser_commands.cc browser->window()->GetLocationBar()->Revert(); window 370 chrome/browser/ui/browser_commands.cc browser->window()->Show(); window 493 chrome/browser/ui/browser_commands.cc LocationBar* location_bar = browser->window()->GetLocationBar(); window 556 chrome/browser/ui/browser_commands.cc browser->window()->Close(); window 576 chrome/browser/ui/browser_commands.cc b->window()->Show(); window 684 chrome/browser/ui/browser_commands.cc BrowserWindow* new_window = new_browser->window(); window 686 chrome/browser/ui/browser_commands.cc browser->window()->GetRestoredBounds().size())); window 690 chrome/browser/ui/browser_commands.cc new_browser->window()->Show(); window 720 chrome/browser/ui/browser_commands.cc b->window()->Show(); window 740 chrome/browser/ui/browser_commands.cc browser->window()->ExecuteExtensionCommand(extension, command); window 746 chrome/browser/ui/browser_commands.cc browser->window()->ShowBrowserActionPopup(extension); window 750 chrome/browser/ui/browser_commands.cc browser->window()->ShowPageActionPopup(extension); window 777 chrome/browser/ui/browser_commands.cc if (!browser->window()->IsActive()) window 792 chrome/browser/ui/browser_commands.cc browser->window()->ShowTranslateBubble( window 831 chrome/browser/ui/browser_commands.cc browser->window()->ShowWebsiteSettings( window 916 chrome/browser/ui/browser_commands.cc browser->window()->Cut(); window 921 chrome/browser/ui/browser_commands.cc browser->window()->Copy(); window 926 chrome/browser/ui/browser_commands.cc browser->window()->Paste(); window 969 chrome/browser/ui/browser_commands.cc browser->window()->FocusToolbar(); window 974 chrome/browser/ui/browser_commands.cc browser->window()->SetFocusToLocationBar(true); window 980 chrome/browser/ui/browser_commands.cc browser->window()->GetLocationBar()->FocusSearch(); window 985 chrome/browser/ui/browser_commands.cc browser->window()->FocusAppMenu(); window 990 chrome/browser/ui/browser_commands.cc browser->window()->FocusBookmarksToolbar(); window 995 chrome/browser/ui/browser_commands.cc browser->window()->FocusInfobars(); window 1000 chrome/browser/ui/browser_commands.cc browser->window()->RotatePaneFocus(true); window 1005 chrome/browser/ui/browser_commands.cc browser->window()->RotatePaneFocus(false); window 1050 chrome/browser/ui/browser_commands.cc browser->window()->ShowAppMenu(); window 1054 chrome/browser/ui/browser_commands.cc browser->window()->ShowAvatarBubbleFromAvatarButton( window 1071 chrome/browser/ui/browser_commands.cc browser->window()->ShowUpdateChromeDialog(); window 1202 chrome/browser/ui/browser_commands.cc BrowserWindow* new_window = b->window(); window 1204 chrome/browser/ui/browser_commands.cc browser->window()->GetRestoredBounds().size())); window 1208 chrome/browser/ui/browser_commands.cc b->window()->Show(); window 1269 chrome/browser/ui/browser_commands.cc app_browser->window()->Show(); window 27 chrome/browser/ui/browser_content_translate_driver_observer.cc browser_->window()->SetTranslateIconToggled( window 35 chrome/browser/ui/browser_content_translate_driver_observer.cc browser_->window()->UpdateToolbar(source); window 150 chrome/browser/ui/browser_finder.cc Browser* FindBrowserWithWindow(gfx::NativeWindow window) { window 151 chrome/browser/ui/browser_finder.cc if (!window) window 155 chrome/browser/ui/browser_finder.cc if (browser->window() && browser->window()->GetNativeWindow() == window) window 53 chrome/browser/ui/browser_finder.h Browser* FindBrowserWithWindow(gfx::NativeWindow window); window 95 chrome/browser/ui/browser_focus_uitest.cc HWND window = ::GetForegroundWindow(); window 98 chrome/browser/ui/browser_focus_uitest.cc int len = ::GetWindowTextLength(window) + 1; window 100 chrome/browser/ui/browser_focus_uitest.cc ::GetWindowText(window, WriteInto(&caption, len), len); window 106 chrome/browser/ui/browser_focus_uitest.cc int thread_id = ::GetWindowThreadProcessId(window, &process_id); window 126 chrome/browser/ui/browser_focus_uitest.cc << "Window: " << window << "\n" window 243 chrome/browser/ui/browser_focus_uitest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); window 248 chrome/browser/ui/browser_focus_uitest.cc ui_test_utils::HideNativeWindow(window); window 249 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(ui_test_utils::ShowAndFocusNativeWindow(window)); window 255 chrome/browser/ui/browser_focus_uitest.cc ui_test_utils::HideNativeWindow(window); window 256 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(ui_test_utils::ShowAndFocusNativeWindow(window)); window 382 chrome/browser/ui/browser_focus_uitest.cc browser2->window()->Show(); window 389 chrome/browser/ui/browser_focus_uitest.cc if (browser2->window()->IsActive()) { window 392 chrome/browser/ui/browser_focus_uitest.cc } else if (browser()->window()->IsActive()) { window 411 chrome/browser/ui/browser_focus_uitest.cc focused_browser->window()->Activate(); window 418 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(focused_browser->window()->IsActive()); window 922 chrome/browser/ui/browser_focus_uitest.cc browser()->window()->GetLocationBar()->GetOmniboxView()->model()-> window 164 chrome/browser/ui/browser_instant_controller_unittest.cc scoped_ptr<BrowserWindow> window(CreateBrowserWindow()); window 166 chrome/browser/ui/browser_instant_controller_unittest.cc params.window = window.get(); window 174 chrome/browser/ui/browser_instant_controller_unittest.cc window.reset(NULL); window 132 chrome/browser/ui/browser_list.cc (*it)->window()->Close(); window 19 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 27 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 35 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 43 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 51 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 59 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 67 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 75 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 83 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 91 chrome/browser/ui/browser_mac.cc browser->window()->Show(); window 289 chrome/browser/ui/browser_navigator.cc params_->browser->window()->ShowInactive(); window 291 chrome/browser/ui/browser_navigator.cc params_->browser->window()->Show(); window 347 chrome/browser/ui/browser_navigator.cc if (params.browser->window() && window 348 chrome/browser/ui/browser_navigator.cc params.browser->window()->GetNativeWindow()) { window 350 chrome/browser/ui/browser_navigator.cc params.browser->window()->GetNativeWindow(); window 499 chrome/browser/ui/browser_navigator.cc source_browser->window()) { window 501 chrome/browser/ui/browser_navigator.cc source_browser->window()->GetDispositionForPopupBounds( window 517 chrome/browser/ui/browser_navigator.cc aura::Window* src_window = source_browser->window()->GetNativeWindow(); window 518 chrome/browser/ui/browser_navigator.cc aura::Window* new_window = params->browser->window()->GetNativeWindow(); window 453 chrome/browser/ui/browser_navigator_browsertest.cc EXPECT_TRUE(p.browser->window()->IsActive()); window 593 chrome/browser/ui/browser_navigator_browsertest.cc EXPECT_FALSE(p.browser->window()->IsActive()); window 720 chrome/browser/ui/browser_navigator_browsertest.cc p.browser->window()->GetRestoredBounds().origin()); window 41 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window, const std::string& user_id) OVERRIDE; window 42 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE; window 44 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window, const std::string& user_id) OVERRIDE; window 48 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc virtual bool IsWindowOnDesktopOfUser(aura::Window* window, window 51 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window) OVERRIDE; window 74 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc : browser_window_(visiting_browser->window()->GetNativeWindow()), window 93 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window, const std::string& user_id) { window 98 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window) { window 105 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window, window 111 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc created_window_ = window; window 124 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window, window 126 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc return GetUserPresentingWindow(window) == user_id; window 130 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc aura::Window* window) { window 131 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc if (window == browser_window_) window 133 chrome/browser/ui/browser_navigator_browsertest_chromeos.cc if (created_window_ && window == created_window_) window 20 chrome/browser/ui/browser_tab_restore_service_delegate.cc browser_->window()->Show(); window 174 chrome/browser/ui/browser_tab_strip_model_delegate.cc browser_->window()->Close(); window 114 chrome/browser/ui/browser_tabrestore.cc browser->window()->Activate(); window 123 chrome/browser/ui/browser_tabrestore.cc browser->window()->GetRestoredBounds().size()); window 77 chrome/browser/ui/browser_unittest.cc browser()->window())->bookmark_bar_state(); window 84 chrome/browser/ui/browser_unittest.cc browser()->window())->set_browser(browser()); window 136 chrome/browser/ui/chrome_pages.cc if (browser->window()) { window 137 chrome/browser/ui/chrome_pages.cc DownloadShelf* shelf = browser->window()->GetDownloadShelf(); window 157 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h ShellNSWindow* window() const; window 64 chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h ConstrainedWindowMac* window) OVERRIDE; window 45 chrome/browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.h - (id)initWithParentWindow:(NSWindow*)window window 48 chrome/browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.h - (id)initWithParentWindow:(NSWindow*)window window 183 chrome/browser/ui/cocoa/browser_window_cocoa.h NSWindow* window() const; // Accessor for the (current) |NSWindow|. window 177 chrome/browser/ui/cocoa/browser_window_controller.h + (BrowserWindowController*)browserWindowControllerForWindow:(NSWindow*)window; window 27 chrome/browser/ui/cocoa/browser_window_controller_private.h - (NSRect)window:(NSWindow*)window window 29 chrome/browser/ui/cocoa/browser_window_utils.h inWindow:(NSWindow*)window; window 40 chrome/browser/ui/cocoa/browser_window_utils.h forWindow:(NSWindow*)window; window 32 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h @property(nonatomic, readonly) NSWindow* window; window 18 chrome/browser/ui/cocoa/constrained_window/constrained_window_animation.h - (id)initWithWindow:(NSWindow*)window; window 23 chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h virtual void OnConstrainedWindowClosed(ConstrainedWindowMac* window) = 0; window 13 chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h - (void)showSheetForWindow:(NSWindow*)window; window 36 chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h ConstrainedWindowMac* window) OVERRIDE; window 38 chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h ConstrainedWindowMac* window) OVERRIDE; window 36 chrome/browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.h gfx::NativeWindow window, window 48 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h ConstrainedWindowMac* window) OVERRIDE; window 46 chrome/browser/ui/cocoa/extensions/media_galleries_scan_result_dialog_cocoa.h ConstrainedWindowMac* window) OVERRIDE; window 65 chrome/browser/ui/cocoa/image_button_cell.h - (CGFloat)imageAlphaForWindowState:(NSWindow*)window; window 35 chrome/browser/ui/cocoa/one_click_signin_dialog_controller.h ConstrainedWindowMac* window) OVERRIDE; window 53 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h - (id)initWithPanel:(PanelCocoa*)window; window 49 chrome/browser/ui/cocoa/profile_signin_confirmation_dialog_cocoa.h virtual void OnConstrainedWindowClosed(ConstrainedWindowMac* window) OVERRIDE; window 46 chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.h ConstrainedWindowMac* window) OVERRIDE; window 37 chrome/browser/ui/cocoa/view_id_util.h NSView* GetView(NSWindow* window, ViewID viewID); window 29 chrome/browser/ui/cocoa/window_size_autosaver.h - (id)initWithWindow:(NSWindow*)window window 230 chrome/browser/ui/extensions/application_launch.cc browser->window()->Show(); window 253 chrome/browser/ui/extensions/application_launch.cc browser->window()->Show(); window 258 chrome/browser/ui/extensions/application_launch.cc browser->window()->Show(); window 259 chrome/browser/ui/extensions/application_launch.cc browser->window()->Activate(); window 316 chrome/browser/ui/extensions/application_launch.cc !browser->window()->IsFullscreen()) { window 1319 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc incognito_browser->window()->Show(); window 1391 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc popup->window()->Show(); window 1402 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc popup->window()->GetBounds().width()); window 45 chrome/browser/ui/fullscreen/fullscreen_controller.cc window_(browser->window()), window 86 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ASSERT_EQ(browser()->window()->IsFullscreen(), !enter_fullscreen); window 92 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ASSERT_EQ(browser()->window()->IsFullscreen(), enter_fullscreen); window 170 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc browser()->window()->IsFullscreen() != enter_fullscreen); window 173 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ASSERT_EQ(browser()->window()->IsFullscreen(), enter_fullscreen); window 192 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 260 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 305 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 321 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 372 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 373 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreenWithChrome()); window 374 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreenWithoutChrome()); window 377 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_TRUE(browser()->window()->IsFullscreen()); window 378 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreenWithChrome()); window 379 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_TRUE(browser()->window()->IsFullscreenWithoutChrome()); window 386 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 387 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreenWithChrome()); window 388 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreenWithoutChrome()); window 397 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_TRUE(browser()->window()->IsFullscreen()); window 398 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_TRUE(browser()->window()->IsFullscreenWithChrome()); window 399 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc EXPECT_FALSE(browser()->window()->IsFullscreenWithoutChrome()); window 752 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc EXPECT_EQ(GetBrowser()->window()->IsFullscreenWithChrome(), window 756 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc EXPECT_EQ(GetBrowser()->window()->IsFullscreenWithoutChrome(), window 424 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ASSERT_TRUE(browser()->window()->IsFullscreen()); window 426 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc browser()->window()->ExitFullscreen(); window 438 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ASSERT_TRUE(browser()->window()->IsFullscreen()); window 442 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 453 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ASSERT_TRUE(browser()->window()->IsFullscreen()); window 458 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 468 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ASSERT_TRUE(browser()->window()->IsFullscreen()); window 476 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 505 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 513 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 521 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 533 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 538 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 575 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 582 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_TRUE(browser()->window()->IsFullscreen()); window 591 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 599 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 636 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 643 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_TRUE(browser()->window()->IsFullscreen()); window 651 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_TRUE(browser()->window()->IsFullscreen()); window 659 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 744 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ASSERT_FALSE(browser()->window()->IsFullscreen()); window 751 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 774 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 775 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(second_browser->window()->IsFullscreen()); window 788 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 789 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(second_browser->window()->IsFullscreen()); window 798 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc EXPECT_FALSE(browser()->window()->IsFullscreen()); window 146 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(window_)); window 147 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gdk_window_add_filter(window, window 246 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GtkWidget* window = GTK_WIDGET(window_); window 255 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gtk_widget_destroy(window); window 331 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GTK_WIDGET(window_)->window && window 332 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc ui::GetAtomArrayProperty(GDK_WINDOW_XWINDOW(GTK_WIDGET(window_)->window), window 589 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gdk_window_raise(GTK_WIDGET(widget)->window); window 139 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc BookmarkBarGtk::BookmarkBarGtk(BrowserWindowGtk* window, window 144 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc window_(window), window 1151 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkWindow* window = GTK_WINDOW(gtk_widget_get_toplevel(sender)); window 1154 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc window, this, browser_, browser_->profile(), page_navigator_, parent, window 52 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h BookmarkBarGtk(BrowserWindowGtk* window, window 64 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_interactive_uitest.cc ViewIDUtil::GetWidget(GTK_WIDGET(browser()->window()->GetNativeWindow()), window 348 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc GtkWindow* window = GTK_WINDOW(gtk_widget_get_toplevel(anchor_)); window 349 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc Browser* browser = chrome::FindBrowserWithWindow(window); window 40 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk_browsertest.cc BookmarkBubbleGtk::Show(GTK_WIDGET(browser()->window()->GetNativeWindow()), window 261 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc GtkWindow* window, window 273 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc Init(window); window 31 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h BookmarkEditorGtk(GtkWindow* window, window 74 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc GtkWindow* window, window 79 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc parent_window_(window), window 42 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h GtkWindow* window, window 137 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc cairo_t* cr = gdk_cairo_create(event->window); window 195 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc GtkWidget* window = gtk_window_new(GTK_WINDOW_POPUP); window 198 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_util::AddWindowAlphaChannel(window)) { window 202 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc g_signal_connect(window, "expose-event", G_CALLBACK(OnDragIconExpose), window 204 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc g_object_ref(window); window 205 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc g_signal_connect(window, "destroy", G_CALLBACK(OnDragIconDestroy), data); window 207 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_widget_set_size_request(window, kDragRepresentationWidth, window 213 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_widget_modify_bg(window, GTK_STATE_NORMAL, &color); window 215 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_widget_realize(window); window 219 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_container_add(GTK_CONTAINER(window), frame); window 227 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc return window; window 132 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (toolbar_->browser()->window()) { window 397 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::NativeWindow window = window 398 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc toolbar_->browser()->window()->GetNativeWindow(); window 400 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gtk_window_add_accel_group(window, accel_group_); window 413 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc content::Source<GtkWindow>(window)); window 421 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::NativeWindow window = window 422 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc toolbar_->browser()->window()->GetNativeWindow(); window 427 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gtk_window_remove_accel_group(window, accel_group_); window 435 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc content::Source<GtkWindow>(window)); window 782 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc !browser_->window()->IsActive()) { window 202 chrome/browser/ui/gtk/browser_titlebar.cc GtkWindow* window) window 204 chrome/browser/ui/gtk/browser_titlebar.cc window_(window), window 916 chrome/browser/ui/gtk/browser_titlebar.cc gboolean BrowserTitlebar::OnWindowStateChanged(GtkWindow* window, window 44 chrome/browser/ui/gtk/browser_titlebar.h BrowserTitlebar(BrowserWindowGtk* browser_window, GtkWindow* window); window 54 chrome/browser/ui/gtk/browser_titlebar.h void set_window(GtkWindow* window) { window_ = window; } window 98 chrome/browser/ui/gtk/browser_toolbar_gtk.cc BrowserToolbarGtk::BrowserToolbarGtk(Browser* browser, BrowserWindowGtk* window) window 103 chrome/browser/ui/gtk/browser_toolbar_gtk.cc window_(window) { window 48 chrome/browser/ui/gtk/browser_toolbar_gtk.h BrowserToolbarGtk(Browser* browser, BrowserWindowGtk* window); window 147 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect GetInitialWindowBounds(GtkWindow* window) { window 149 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_window_get_position(window, &x, &y); window 150 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_window_get_size(window, &width, &height); window 667 chrome/browser/ui/gtk/browser_window_gtk.cc GtkWidget* window = GTK_WIDGET(window_); window 687 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_widget_destroy(window); window 1518 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::NativeWindow window) { window 1519 chrome/browser/ui/gtk/browser_window_gtk.cc if (window) { window 1521 chrome/browser/ui/gtk/browser_window_gtk.cc g_object_get_qdata(G_OBJECT(window), GetBrowserWindowQuarkKey())); window 1529 chrome/browser/ui/gtk/browser_window_gtk.cc GtkWindow* window = ui::GetGtkWindowFromX11Window(xid); window 1532 chrome/browser/ui/gtk/browser_window_gtk.cc if (!GetBrowserWindowForNativeWindow(window)) window 1534 chrome/browser/ui/gtk/browser_window_gtk.cc return window; window 2058 chrome/browser/ui/gtk/browser_window_gtk.cc if (!UseCustomFrame() || event->window != gtk_widget_get_window(widget)) { window 246 chrome/browser/ui/gtk/browser_window_gtk.h gfx::NativeWindow window); window 254 chrome/browser/ui/gtk/browser_window_gtk.h GtkWindow* window() const { return window_; } window 633 chrome/browser/ui/gtk/bubble/bubble_gtk.cc msg.window = gtk_widget_get_window(toplevel_window_); window 708 chrome/browser/ui/gtk/bubble/bubble_gtk.cc if (event->window == gdk_window && window 714 chrome/browser/ui/gtk/bubble/bubble_gtk.cc if (event->window != gdk_window && window 715 chrome/browser/ui/gtk/bubble/bubble_gtk.cc gdk_window_get_toplevel(event->window) == gdk_window) { window 37 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc browser_window_ = GTK_WIDGET(browser()->window()->GetNativeWindow()); window 26 chrome/browser/ui/gtk/chrome_gtk_frame.h GtkWindow window; window 30 chrome/browser/ui/gtk/confirm_bubble_gtk_browsertest.cc GTK_WIDGET(browser()->window()->GetNativeWindow()), window 45 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc void set_window(GtkWidget* window) { window_ = window; } window 87 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc return impl_->window(); window 93 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc void SetWindow(GtkWidget* window) { window 94 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc impl_->set_window(window); window 98 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc return impl_->window(); window 144 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc GtkWidget* window = window 149 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc SetBackgroundColor(window, ui::kGdkWhite); window 150 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc constrained_delegate->SetWindow(window); window 154 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc web_contents_modal_dialog_manager->ShowDialog(window); window 20 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc ViewIDUtil::GetWidget(GTK_WIDGET(browser->window()->GetNativeWindow()), window 38 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc ViewIDUtil::GetWidget(GTK_WIDGET(browser_->window()->GetNativeWindow()), window 65 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc browser_->window()->GetNativeWindow()); window 81 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc bubble_.browser()->window()->GetNativeWindow()); window 327 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc bubble_.browser()->window()->GetNativeWindow()); window 25 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc gfx::NativeWindow window, window 30 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc window_(window), window 40 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.h gfx::NativeWindow window, window 53 chrome/browser/ui/gtk/extensions/extension_uninstall_dialog_gtk.cc BrowserWindow* browser_window = browser_->window(); window 182 chrome/browser/ui/gtk/find_bar_gtk.cc FindBarGtk::FindBarGtk(BrowserWindowGtk* window) window 183 chrome/browser/ui/gtk/find_bar_gtk.cc : browser_(window->browser()), window 184 chrome/browser/ui/gtk/find_bar_gtk.cc window_(window), window 792 chrome/browser/ui/gtk/find_bar_gtk.cc gboolean FindBarGtk::OnChanged(GtkWindow* window, FindBarGtk* find_bar) { window 907 chrome/browser/ui/gtk/find_bar_gtk.cc GdkDrawable* drawable = GDK_DRAWABLE(e->window); window 37 chrome/browser/ui/gtk/find_bar_gtk.h explicit FindBarGtk(BrowserWindowGtk* window); window 128 chrome/browser/ui/gtk/find_bar_gtk.h static gboolean OnChanged(GtkWindow* window, FindBarGtk* find_bar); window 200 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc GtkWindow* window = GTK_WINDOW( window 203 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gtk_window_get_size(window, &width, &height); window 204 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gtk_window_get_position(window, &x, &y); window 211 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc GtkWindow* window = GTK_WINDOW( window 213 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc return gtk_window_is_active(window); window 162 chrome/browser/ui/gtk/global_error_bubble.cc browser->window()->GetNativeWindow()); window 498 chrome/browser/ui/gtk/gtk_theme_service.cc GtkWidget* window = gtk_window_new(GTK_WINDOW_POPUP); window 501 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_container_add(GTK_CONTAINER(window), fixed); window 503 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_widget_realize(window); window 510 chrome/browser/ui/gtk/gtk_theme_service.cc GdkWindow* gdk_window = gtk_widget_get_window(window); window 562 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_widget_destroy(window); window 683 chrome/browser/ui/gtk/gtk_theme_service.cc if (!browser->window()) window 685 chrome/browser/ui/gtk/gtk_theme_service.cc GtkWindow* window = browser->window()->GetNativeWindow(); window 686 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetDefaultWindowIcon(window); window 687 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetWindowIcon(window, browser->profile()); window 242 chrome/browser/ui/gtk/gtk_util.cc GList* GetIconListWithAvatars(GtkWindow* window, Profile* profile) { window 244 chrome/browser/ui/gtk/gtk_util.cc gtk_icon_theme_get_for_screen(gtk_widget_get_screen(GTK_WIDGET(window))); window 384 chrome/browser/ui/gtk/gtk_util.cc void SetWindowSizeFromResources(GtkWindow* window, window 388 chrome/browser/ui/gtk/gtk_util.cc gtk_util::GetWidgetSizeFromResources(GTK_WIDGET(window), width_id, height_id, window 393 chrome/browser/ui/gtk/gtk_util.cc gtk_window_set_default_size(window, width, height); window 404 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_show_all(gtk_bin_get_child(GTK_BIN(window))); window 406 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_size_request(GTK_WIDGET(window), &requisition); window 408 chrome/browser/ui/gtk/gtk_util.cc GTK_WIDGET(window), window 412 chrome/browser/ui/gtk/gtk_util.cc gtk_window_set_resizable(window, resizable ? TRUE : FALSE); window 423 chrome/browser/ui/gtk/gtk_util.cc gtk_window_get_group((*it)->window()->GetNativeWindow()); window 426 chrome/browser/ui/gtk/gtk_util.cc for (GList* window = all_windows; window; window = window->next) { window 427 chrome/browser/ui/gtk/gtk_util.cc gtk_window_group_add_window(window_group, GTK_WINDOW(window->data)); window 443 chrome/browser/ui/gtk/gtk_util.cc native_browser_list->get(0)->window()->GetNativeWindow()); window 447 chrome/browser/ui/gtk/gtk_util.cc GtkWindow* window = GTK_WINDOW(item->data); window 448 chrome/browser/ui/gtk/gtk_util.cc GtkWindow* transient_for = gtk_window_get_transient_for(window); window 450 chrome/browser/ui/gtk/gtk_util.cc transient_windows.push_back(window); window 453 chrome/browser/ui/gtk/gtk_util.cc gtk_window_group_add_window(window_group, window); window 566 chrome/browser/ui/gtk/gtk_util.cc void SetDefaultWindowIcon(GtkWindow* window) { window 568 chrome/browser/ui/gtk/gtk_util.cc gtk_icon_theme_get_for_screen(gtk_widget_get_screen(GTK_WIDGET(window))); window 576 chrome/browser/ui/gtk/gtk_util.cc gtk_window_set_icon_name(window, kIconName); window 581 chrome/browser/ui/gtk/gtk_util.cc gtk_window_set_icon_list(window, icon_list); window 586 chrome/browser/ui/gtk/gtk_util.cc void SetWindowIcon(GtkWindow* window, Profile* profile) { window 587 chrome/browser/ui/gtk/gtk_util.cc GList* icon_list = GetIconListWithAvatars(window, profile); window 588 chrome/browser/ui/gtk/gtk_util.cc gtk_window_set_icon_list(window, icon_list); window 593 chrome/browser/ui/gtk/gtk_util.cc void SetWindowIcon(GtkWindow* window, Profile* profile, GdkPixbuf* icon) { window 596 chrome/browser/ui/gtk/gtk_util.cc gtk_window_set_icon(window, icon); window 684 chrome/browser/ui/gtk/gtk_util.cc our_style = gtk_style_attach(our_style, widget_to_draw_on->window); window 689 chrome/browser/ui/gtk/gtk_util.cc gtk_paint_shadow(our_style, widget_to_draw_on->window, window 701 chrome/browser/ui/gtk/gtk_util.cc gtk_paint_flat_box(our_style, widget_to_draw_on->window, window 842 chrome/browser/ui/gtk/gtk_util.cc void SetWMLastUserActionTime(GtkWindow* window) { window 843 chrome/browser/ui/gtk/gtk_util.cc gdk_x11_window_set_user_time(gtk_widget_get_window(GTK_WIDGET(window)), window 874 chrome/browser/ui/gtk/gtk_util.cc bool AddWindowAlphaChannel(GtkWidget* window) { window 875 chrome/browser/ui/gtk/gtk_util.cc GdkScreen* screen = gtk_widget_get_screen(window); window 878 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_set_colormap(window, rgba); window 932 chrome/browser/ui/gtk/gtk_util.cc void PresentWindow(GtkWidget* window, int timestamp) { window 934 chrome/browser/ui/gtk/gtk_util.cc gtk_window_present_with_time(GTK_WINDOW(window), timestamp); window 936 chrome/browser/ui/gtk/gtk_util.cc gtk_window_present(GTK_WINDOW(window)); window 79 chrome/browser/ui/gtk/gtk_util.h void SetWindowSizeFromResources(GtkWindow* window, window 148 chrome/browser/ui/gtk/gtk_util.h void SetDefaultWindowIcon(GtkWindow* window); window 154 chrome/browser/ui/gtk/gtk_util.h void SetWindowIcon(GtkWindow* window, Profile* profile); window 161 chrome/browser/ui/gtk/gtk_util.h void SetWindowIcon(GtkWindow* window, Profile* profile, GdkPixbuf* icon); window 245 chrome/browser/ui/gtk/gtk_util.h void SetWMLastUserActionTime(GtkWindow* window); window 258 chrome/browser/ui/gtk/gtk_util.h bool AddWindowAlphaChannel(GtkWidget* window); window 279 chrome/browser/ui/gtk/gtk_util.h void PresentWindow(GtkWidget* window, int timestamp); window 33 chrome/browser/ui/gtk/gtk_window_util.cc void DoCutCopyPaste(GtkWindow* window, window 37 chrome/browser/ui/gtk/gtk_window_util.cc GtkWidget* widget = gtk_window_get_focus(window); window 52 chrome/browser/ui/gtk/gtk_window_util.cc void DoCut(GtkWindow* window, WebContents* web_contents) { window 53 chrome/browser/ui/gtk/gtk_window_util.cc DoCutCopyPaste(window, web_contents, window 57 chrome/browser/ui/gtk/gtk_window_util.cc void DoCopy(GtkWindow* window, WebContents* web_contents) { window 58 chrome/browser/ui/gtk/gtk_window_util.cc DoCutCopyPaste(window, web_contents, window 62 chrome/browser/ui/gtk/gtk_window_util.cc void DoPaste(GtkWindow* window, WebContents* web_contents) { window 63 chrome/browser/ui/gtk/gtk_window_util.cc DoCutCopyPaste(window, web_contents, window 75 chrome/browser/ui/gtk/gtk_window_util.cc void DisableResizeGrip(GtkWindow* window) { window 84 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_set_has_resize_grip_sym(window, FALSE); window 111 chrome/browser/ui/gtk/gtk_window_util.cc bool BoundsMatchMonitorSize(GtkWindow* window, gfx::Rect bounds) { window 113 chrome/browser/ui/gtk/gtk_window_util.cc GdkScreen* screen = gtk_window_get_screen(window); window 116 chrome/browser/ui/gtk/gtk_window_util.cc if (gtk_widget_get_realized(GTK_WIDGET(window))) { window 119 chrome/browser/ui/gtk/gtk_window_util.cc gtk_widget_get_window(GTK_WIDGET(window))); window 138 chrome/browser/ui/gtk/gtk_window_util.cc GtkWindow* window, window 175 chrome/browser/ui/gtk/gtk_window_util.cc if (!BoundsMatchMonitorSize(window, bounds)) { window 176 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_begin_move_drag(window, event->button, window 186 chrome/browser/ui/gtk/gtk_window_util.cc void UnMaximize(GtkWindow* window, window 189 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_unmaximize(window); window 196 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_resize(window, bounds.width(), bounds.height() - 1); window 199 chrome/browser/ui/gtk/gtk_window_util.cc void SetWindowCustomClass(GtkWindow* window, const std::string& wmclass) { window 200 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_set_wmclass(window, window 206 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_set_role(window, wmclass.c_str()); window 209 chrome/browser/ui/gtk/gtk_window_util.cc void SetWindowSize(GtkWindow* window, const gfx::Size& size) { window 213 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_get_size(window, ¤t_width, ¤t_height); window 215 chrome/browser/ui/gtk/gtk_window_util.cc GdkWindow* gdk_window = gtk_widget_get_window(GTK_WIDGET(window)); window 226 chrome/browser/ui/gtk/gtk_window_util.cc GdkScreen* screen = gtk_window_get_screen(window); window 232 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_resize(window, size.width(), size.height() - 1); window 249 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_resize(window, new_size.width(), new_size.height()); window 252 chrome/browser/ui/gtk/gtk_window_util.cc void UpdateWindowPosition(ui::BaseWindow* window, window 256 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_get_position(window->GetNativeWindow(), &x, &y); window 258 chrome/browser/ui/gtk/gtk_window_util.cc if (!window->IsFullscreen() && !window->IsMaximized()) window 30 chrome/browser/ui/gtk/gtk_window_util.h void DoCut(GtkWindow* window, content::WebContents* web_contents); window 31 chrome/browser/ui/gtk/gtk_window_util.h void DoCopy(GtkWindow* window, content::WebContents* web_contents); window 32 chrome/browser/ui/gtk/gtk_window_util.h void DoPaste(GtkWindow* window, content::WebContents* web_contents); window 37 chrome/browser/ui/gtk/gtk_window_util.h void DisableResizeGrip(GtkWindow* window); window 43 chrome/browser/ui/gtk/gtk_window_util.h bool BoundsMatchMonitorSize(GtkWindow* window, gfx::Rect bounds); window 45 chrome/browser/ui/gtk/gtk_window_util.h bool HandleTitleBarLeftMousePress(GtkWindow* window, window 51 chrome/browser/ui/gtk/gtk_window_util.h void UnMaximize(GtkWindow* window, window 56 chrome/browser/ui/gtk/gtk_window_util.h void SetWindowCustomClass(GtkWindow* window, const std::string& wmclass); window 62 chrome/browser/ui/gtk/gtk_window_util.h void SetWindowSize(GtkWindow* window, const gfx::Size& size); window 66 chrome/browser/ui/gtk/gtk_window_util.h void UpdateWindowPosition(ui::BaseWindow* window, window 1837 chrome/browser/ui/gtk/location_bar_view_gtk.cc window_ = owner_->browser()->window()->GetNativeWindow(); window 106 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); window 107 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc return ViewIDUtil::GetWidget(GTK_WIDGET(window), VIEW_ID_ZOOM_BUTTON); window 34 chrome/browser/ui/gtk/manage_passwords_bubble_gtk.cc DCHECK(browser && browser->window() && browser->fullscreen_controller()); window 36 chrome/browser/ui/gtk/manage_passwords_bubble_gtk.cc LocationBar* location_bar = browser->window()->GetLocationBar(); window 37 chrome/browser/ui/gtk/manage_passwords_bubble_gtk.cc GtkWidget* anchor = browser->window()->IsFullscreen() ? window 38 chrome/browser/ui/gtk/manage_passwords_bubble_gtk.cc GTK_WIDGET(browser->window()->GetNativeWindow()) : window 93 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect GetWindowRect(GdkWindow* window) { window 94 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gint width = gdk_window_get_width(window); window 95 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gint height = gdk_window_get_height(window); window 618 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect window_rect = GetWindowRect(event->window); window 957 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkDisplay* display = gdk_window_get_display(event->window); window 1829 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc cairo_t* cr = gdk_cairo_create(GDK_DRAWABLE(expose->window)); window 51 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.h void InitializeWidgets(BrowserWindowGtk* window); window 31 chrome/browser/ui/gtk/one_click_signin_bubble_gtk_browsertest.cc static_cast<BrowserWindowGtk*>(browser()->window()), window 676 chrome/browser/ui/gtk/panels/panel_gtk.cc if (event->window != gtk_widget_get_window(widget)) { window 848 chrome/browser/ui/gtk/panels/panel_gtk.cc GtkWidget* window = GTK_WIDGET(window_); window 858 chrome/browser/ui/gtk/panels/panel_gtk.cc gtk_widget_destroy(window); window 309 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.window = window 228 chrome/browser/ui/gtk/rounded_window.cc GdkDrawable* drawable = GDK_DRAWABLE(event->window); window 69 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc GtkWindow* window = GTK_WINDOW(window_); window 72 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_window_set_title(window, text_.c_str()); window 73 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_window_set_resizable(window, FALSE); window 76 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_window_stick(window); window 77 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_window_set_keep_above(window, TRUE); window 80 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_window_set_decorated(window, FALSE); window 84 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_window_set_type_hint(window, GDK_WINDOW_TYPE_HINT_UTILITY); window 85 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_window_set_deletable(window, FALSE); window 110 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gtk_container_add(GTK_CONTAINER(window), align); window 166 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc GtkWidget* window, GdkEvent* event) { window 220 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gdk_window_shape_combine_mask(widget->window, shape_mask, 0, 0); window 268 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gdk_window_set_back_pixmap(widget->window, background, FALSE); window 270 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gdk_window_invalidate_rect(widget->window, NULL, TRUE); window 193 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc browser->window()->GetNativeWindow()); window 85 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.cc browser->window()->Show(); window 763 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc BrowserWindowGtk* window = source_tabstrip_->window(); window 764 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect window_bounds = window->GetRestoredBounds(); window 777 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc contentses, window_bounds, window->IsMaximized()); window 779 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc new_browser->window()->Show(); window 826 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc GtkWindow* window = platform_util::GetTopLevel(tabstrip); window 827 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gtk_widget_hide(GTK_WIDGET(window)); window 832 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc GtkWindow* window = platform_util::GetTopLevel(tabstrip); window 833 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gtk_window_present(window); window 873 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::NativeWindow window = GetLocalProcessWindow( window 875 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (window) window 876 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gtk_window_present(GTK_WINDOW(window)); window 110 chrome/browser/ui/gtk/tabs/tab_gtk.cc GdkWindow* window = gtk_input_event_box_get_window( window 112 chrome/browser/ui/gtk/tabs/tab_gtk.cc gdk_window_raise(window); window 718 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabStripGtk::TabStripGtk(TabStripModel* model, BrowserWindowGtk* window) window 725 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc window_(window), window 1151 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (window_ && window_->window() && window 1152 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gtk_widget_get_visible(GTK_WIDGET(window_->window()))) { window 1789 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc chrome::NavigateParams params(window()->browser(), url, window 2240 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc cairo_t* cr = gdk_cairo_create(GDK_DRAWABLE(event->window)); window 44 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h TabStripGtk(TabStripModel* model, BrowserWindowGtk* window); window 56 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h BrowserWindowGtk* window() const { return window_; } window 40 chrome/browser/ui/gtk/tabs/window_finder.cc bool ShouldIgnoreWindow(XID window) { window 41 chrome/browser/ui/gtk/tabs/window_finder.cc return (ignore_.find(window) != ignore_.end()); window 45 chrome/browser/ui/gtk/tabs/window_finder.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 64 chrome/browser/ui/gtk/tabs/window_finder.cc static bool IsTopMostWindowAtPoint(XID window, window 67 chrome/browser/ui/gtk/tabs/window_finder.cc TopMostFinder finder(window, screen_loc, ignore); window 72 chrome/browser/ui/gtk/tabs/window_finder.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 73 chrome/browser/ui/gtk/tabs/window_finder.cc if (BaseWindowFinder::ShouldIgnoreWindow(window)) window 76 chrome/browser/ui/gtk/tabs/window_finder.cc if (window == target_) { window 82 chrome/browser/ui/gtk/tabs/window_finder.cc if (!ui::IsWindowVisible(window)) { window 87 chrome/browser/ui/gtk/tabs/window_finder.cc if (ui::WindowContainsPoint(window, screen_loc_)) window 94 chrome/browser/ui/gtk/tabs/window_finder.cc TopMostFinder(XID window, window 98 chrome/browser/ui/gtk/tabs/window_finder.cc target_(window), window 138 chrome/browser/ui/gtk/tabs/window_finder.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 139 chrome/browser/ui/gtk/tabs/window_finder.cc if (BaseWindowFinder::ShouldIgnoreWindow(window)) window 143 chrome/browser/ui/gtk/tabs/window_finder.cc if (!BrowserWindowGtk::GetBrowserWindowForXID(window)) window 146 chrome/browser/ui/gtk/tabs/window_finder.cc if (!ui::IsWindowVisible(window)) window 149 chrome/browser/ui/gtk/tabs/window_finder.cc if (ui::WindowContainsPoint(window, screen_loc_)) { window 150 chrome/browser/ui/gtk/tabs/window_finder.cc result_ = window; window 22 chrome/browser/ui/gtk/view_id_util_browsertest.cc root_window_ = GTK_WIDGET(browser()->window()->GetNativeWindow()); window 47 chrome/browser/ui/gtk/zoom_bubble_gtk.cc DCHECK(browser && browser->window() && browser->fullscreen_controller()); window 49 chrome/browser/ui/gtk/zoom_bubble_gtk.cc LocationBar* location_bar = browser->window()->GetLocationBar(); window 50 chrome/browser/ui/gtk/zoom_bubble_gtk.cc GtkWidget* anchor = browser->window()->IsFullscreen() ? window 51 chrome/browser/ui/gtk/zoom_bubble_gtk.cc GTK_WIDGET(browser->window()->GetNativeWindow()) : window 26 chrome/browser/ui/libgtk2ui/chrome_gtk_frame.h GtkWindow window; window 714 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GtkWidget* window = gtk_window_new(GTK_WINDOW_POPUP); window 717 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_container_add(GTK_CONTAINER(window), fixed); window 719 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_widget_realize(window); window 726 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkWindow* gdk_window = gtk_widget_get_window(window); window 778 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_widget_destroy(window); window 1296 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GtkWidget* window = gtk_offscreen_window_new(); window 1299 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_container_add(GTK_CONTAINER(window), button); window 1300 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_widget_realize(window); window 1303 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_widget_show(window); window 1337 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_widget_destroy(window); window 1347 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GtkWidget* window = gtk_offscreen_window_new(); window 1349 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_container_add(GTK_CONTAINER(window), button); window 1367 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_widget_destroy(window); window 445 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc void PrintDialogGtk2::OnWindowDestroying(aura::Window* window) { window 446 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc DCHECK_EQ(libgtk2ui::GetAuraTransientParent(dialog_), window); window 449 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc window->RemoveObserver(this); window 76 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 73 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 186 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc void SelectFileDialogImplGTK::OnWindowDestroying(aura::Window* window) { window 191 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc if (parent == window) window 195 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc std::set<aura::Window*>::iterator iter = parents_.find(window); window 64 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc GdkWindow* window = gdk_x11_window_lookup_for_display(display, xkey.window); window 65 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc if (window) window 66 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc g_object_ref(window); window 68 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc window = gdk_x11_window_foreign_new_for_display(display, xkey.window); window 69 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc if (!window) { window 79 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.window = window; window 168 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc gtk_im_context_set_client_window(gtk_context_, event->key.window); window 173 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc gdk_window_get_origin(event->key.window, &x, &y); window 159 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc BrowserWindow* window = browser->window(); window 160 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(window); window 161 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc LocationBar* location_bar = window->GetLocationBar(); window 408 chrome/browser/ui/panels/base_panel_browser_test.cc browser()->window()->Activate(); window 544 chrome/browser/ui/panels/base_panel_browser_test.cc browser()->window()->Activate(); window 959 chrome/browser/ui/panels/panel_browsertest.cc browser()->window()->Activate(); window 967 chrome/browser/ui/panels/panel_browsertest.cc browser()->window()->Activate(); window 1023 chrome/browser/ui/panels/panel_browsertest.cc BrowserWindow* tabbed_window = browser()->window(); window 202 chrome/browser/ui/panels/panel_host.cc extensions::WindowController* window = GetExtensionWindowController(); window 204 chrome/browser/ui/panels/panel_host.cc render_view_host->GetRoutingID(), window->GetWindowId())); window 32 chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc LocationBar* location_bar = browser->window()->GetLocationBar(); window 83 chrome/browser/ui/pdf/pdf_browsertest.cc browser()->window()->SetBounds(bounds); window 69 chrome/browser/ui/pdf/pdf_tab_helper.cc BrowserWindow* window = browser->window(); window 70 chrome/browser/ui/pdf/pdf_tab_helper.cc if (!window) window 73 chrome/browser/ui/pdf/pdf_tab_helper.cc LocationBar* location_bar = window->GetLocationBar(); window 22 chrome/browser/ui/scoped_tabbed_browser_displayer.cc browser_->window()->Show(); window 390 chrome/browser/ui/search/instant_extended_interactive_uitest.cc browser()->window()->GetLocationBar()->AcceptInput(); window 393 chrome/browser/ui/search/instant_extended_interactive_uitest.cc browser()->window()->GetLocationBar()->AcceptInput(); window 444 chrome/browser/ui/search/instant_extended_interactive_uitest.cc browser()->window()->GetLocationBar()->AcceptInput(); window 940 chrome/browser/ui/search/instant_extended_interactive_uitest.cc browser()->window()->GetLocationBar()->AcceptInput(); window 104 chrome/browser/ui/search/instant_test_utils.cc browser_->window()->GetLocationBar()->FocusLocation(false); window 117 chrome/browser/ui/search/instant_test_utils.cc browser_->window()->GetLocationBar()->AcceptInput(); window 60 chrome/browser/ui/search/instant_test_utils.h return browser_->window()->GetLocationBar()->GetOmniboxView(); window 152 chrome/browser/ui/search/search_tab_helper.cc return browser ? browser->window()->GetLocationBar()->GetOmniboxView() : NULL; window 37 chrome/browser/ui/settings_window_manager.cc browser->window()->Show(); window 102 chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc first_browser->window()->Close(); window 205 chrome/browser/ui/startup/startup_browser_creator.cc browser->window()->Activate(); window 205 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc browser()->window()->Close(); window 621 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc browser()->window()->Close(); window 809 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc browser()->window()->Close(); window 907 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc browser()->window()->Close(); window 784 chrome/browser/ui/startup/startup_browser_creator_impl.cc gtk_util::SetWMLastUserActionTime(browser->window()->GetNativeWindow()); window 837 chrome/browser/ui/startup/startup_browser_creator_impl.cc browser->window()->Show(); window 84 chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc EXPECT_TRUE(new_browser->window()->IsActive()); window 92 chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc EXPECT_FALSE(new_browser->window()->IsActive()); window 99 chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc EXPECT_FALSE(new_browser->window()->IsActive()); window 106 chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc EXPECT_FALSE(new_browser->window()->IsActive()); window 52 chrome/browser/ui/startup/startup_browser_creator_win.cc browser->window()->Show(); window 66 chrome/browser/ui/sync/browser_synced_window_delegate.cc return browser_->window() != NULL; window 648 chrome/browser/ui/sync/one_click_signin_helper.cc args_.browser->window()->ShowOneClickSigninBubble( window 1147 chrome/browser/ui/sync/one_click_signin_helper.cc browser->window()->ShowOneClickSigninBubble( window 315 chrome/browser/ui/sync/one_click_signin_sync_starter.cc browser_->window()->ShowOneClickSigninBubble( window 411 chrome/browser/ui/sync/one_click_signin_sync_starter.cc browser_->window()->ShowOneClickSigninBubble( window 434 chrome/browser/ui/sync/one_click_signin_sync_starter.cc browser->window()->Show(); window 95 chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc const browser_sync::SyncedWindowDelegate* window = window 99 chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc return window ? window->IsTabPinned(this) : false; window 111 chrome/browser/ui/tabs/dock_info.h void set_window(gfx::NativeWindow window) { window_ = window; } window 112 chrome/browser/ui/tabs/dock_info.h gfx::NativeWindow window() const { return window_; } window 40 chrome/browser/ui/tests/ui_gfx_image_unittest.cc GtkWidget* window = gtk_window_new(GTK_WINDOW_TOPLEVEL); window 41 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gtk_window_resize(GTK_WINDOW(window), 200, 200); window 42 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gtk_window_move(GTK_WINDOW(window), 300, 300); window 45 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gtk_container_add(GTK_CONTAINER(window), fixed); window 53 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gtk_widget_show_all(window); window 55 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gtk_widget_destroy(window); window 281 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc sync_pb::SessionWindow* window = header->add_window(); window 283 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc window->set_window_id(window_id); window 284 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc window->set_selected_tab_index(0); window 285 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc window->set_browser_type(sync_pb::SessionWindow_BrowserType_TYPE_TABBED); window 287 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc window->add_tab(GetTabID(session_index, window_index, i)); window 458 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc const SessionWindow* window = windows[j]; window 459 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc for (size_t t = 0; t < window->tabs.size(); ++t) { window 460 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc const SessionTab* tab = window->tabs[t]; window 293 chrome/browser/ui/toolbar/wrench_menu_model.cc if (browser_->window() && browser_->window()->IsFullscreen()) window 12 chrome/browser/ui/translate/translate_bubble_factory.cc void ShowDefault(BrowserWindow* window, window 17 chrome/browser/ui/translate/translate_bubble_factory.cc if (!window) window 19 chrome/browser/ui/translate/translate_bubble_factory.cc window->ShowTranslateBubble(web_contents, step, error_type); window 28 chrome/browser/ui/translate/translate_bubble_factory.cc void TranslateBubbleFactory::Show(BrowserWindow* window, window 34 chrome/browser/ui/translate/translate_bubble_factory.cc window, web_contents, step, error_type); window 38 chrome/browser/ui/translate/translate_bubble_factory.cc ShowDefault(window, web_contents, step, error_type); window 25 chrome/browser/ui/translate/translate_bubble_factory.h static void Show(BrowserWindow* window, window 36 chrome/browser/ui/translate/translate_bubble_factory.h virtual void ShowImplementation(BrowserWindow* window, window 107 chrome/browser/ui/uma_browsing_activity_observer.cc if (browser->window()->IsActive()) { window 21 chrome/browser/ui/views/accelerator_utils_views.cc browser->window()->GetNativeWindow()); window 217 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); window 218 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->Show(); window 249 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->CloseNow(); window 266 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); window 279 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->CloseNow(); window 298 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); window 311 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->CloseNow(); window 330 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); window 348 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->CloseNow(); window 366 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); window 383 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->CloseNow(); window 399 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); window 400 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->Show(); window 413 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->GetRootView()->NotifyAccessibilityEvent( window 420 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc window->CloseNow(); window 72 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc BrowserWindow* browser_window = browser()->window(); window 119 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc BrowserWindow* browser_window = browser()->window(); window 13 chrome/browser/ui/views/apps/chrome_app_window_delegate_views.cc ChromeNativeAppWindowViews* window = new ChromeNativeAppWindowViews; window 14 chrome/browser/ui/views/apps/chrome_app_window_delegate_views.cc window->Init(app_window, params); window 15 chrome/browser/ui/views/apps/chrome_app_window_delegate_views.cc return window; window 13 chrome/browser/ui/views/apps/chrome_app_window_delegate_views_win.cc ChromeNativeAppWindowViewsWin* window = new ChromeNativeAppWindowViewsWin; window 14 chrome/browser/ui/views/apps/chrome_app_window_delegate_views_win.cc window->Init(app_window, params); window 15 chrome/browser/ui/views/apps/chrome_app_window_delegate_views_win.cc return window; window 141 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc window_state_->window()->AddObserver(this); window 146 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc window_state_->window()->RemoveObserver(this); window 178 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 180 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc window_state_->window()->RemoveObserver(this); window 11 chrome/browser/ui/views/apps/shaped_app_window_targeter.cc aura::Window* window, window 13 chrome/browser/ui/views/apps/shaped_app_window_targeter.cc : wm::MaskedWindowTargeter(window), app_window_(app_window) {} window 18 chrome/browser/ui/views/apps/shaped_app_window_targeter.cc bool ShapedAppWindowTargeter::GetHitTestMask(aura::Window* window, window 14 chrome/browser/ui/views/apps/shaped_app_window_targeter.h ShapedAppWindowTargeter(aura::Window* window, window 20 chrome/browser/ui/views/apps/shaped_app_window_targeter.h virtual bool GetHitTestMask(aura::Window* window, window 58 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 68 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move.target()); window 92 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move2.target()); window 104 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 114 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move.target()); window 126 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move.target()); window 155 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move.target()); window 162 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc aura::Window* window = widget()->GetNativeWindow(); window 172 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move.target()); window 184 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move.target()); window 199 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc EXPECT_EQ(window, move.target()); window 50 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc virtual bool IsWindowInMetro(gfx::NativeWindow window) OVERRIDE { window 51 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc return chrome::IsNativeViewInAsh(window); window 100 chrome/browser/ui/views/ash/tab_scrubber.cc browser->window()->GetNativeWindow()); window 266 chrome/browser/ui/views/ash/tab_scrubber.cc if (browser_ && browser_->window()) { window 269 chrome/browser/ui/views/ash/tab_scrubber.cc browser_->window()->GetNativeWindow()); window 63 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::Window* window = browser->window()->GetNativeWindow(); window 64 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc return BrowserView::GetBrowserViewForNativeWindow(window)->tabstrip(); window 81 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::Window* window = browser->window()->GetNativeWindow(); window 82 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::Window* root = window->GetRootWindow(); window 83 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::test::EventGenerator event_generator(root, window); window 108 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::Window* window = browser->window()->GetNativeWindow(); window 109 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::Window* root = window->GetRootWindow(); window 110 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::test::EventGenerator event_generator(root, window); window 151 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::Window* window = browser->window()->GetNativeWindow(); window 152 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::Window* root = window->GetRootWindow(); window 153 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc aura::test::EventGenerator event_generator(root, window); window 286 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc browser2->window()->Activate(); window 287 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc ASSERT_TRUE(browser2->window()->IsActive()); window 288 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc ASSERT_FALSE(browser()->window()->IsActive()); window 419 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc browser()->window()->Close(); window 14 chrome/browser/ui/views/auto_keep_alive.cc AutoKeepAlive::AutoKeepAlive(gfx::NativeWindow window) window 19 chrome/browser/ui/views/auto_keep_alive.cc if (window) { window 20 chrome/browser/ui/views/auto_keep_alive.cc gfx::NativeWindow native_window = window->GetRootWindow(); window 13 chrome/browser/ui/views/auto_keep_alive.h explicit AutoKeepAlive(gfx::NativeWindow window); window 175 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc gfx::NativeWindow window = screen->GetWindowAtScreenPoint(screen_loc); window 176 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc views::RepostLocatedEvent(window, mouse_event); window 46 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); window 48 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc .WillRepeatedly(Return(window)); window 55 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc views::Widget::GetWidgetForNativeWindow(window)); window 59 chrome/browser/ui/views/avatar_menu_button_browsertest.cc browser()->window()); window 507 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (!infobar_visible_ && browser_->window()->IsFullscreen()) { window 38 chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_win.cc browser_->window()->Show(); window 121 chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_win.cc browser->window()->Activate(); window 61 chrome/browser/ui/views/chrome_views_delegate.cc PrefService* GetPrefsForWindow(const views::Widget* window) { window 63 chrome/browser/ui/views/chrome_views_delegate.cc window->GetNativeWindowProperty(Profile::kProfileKey)); window 76 chrome/browser/ui/views/chrome_views_delegate.cc void ChromeViewsDelegate::SaveWindowPlacement(const views::Widget* window, window 80 chrome/browser/ui/views/chrome_views_delegate.cc PrefService* prefs = GetPrefsForWindow(window); window 93 chrome/browser/ui/views/chrome_views_delegate.cc gfx::Rect work_area(gfx::Screen::GetScreenFor(window->GetNativeView())-> window 94 chrome/browser/ui/views/chrome_views_delegate.cc GetDisplayNearestWindow(window->GetNativeView()).work_area()); window 130 chrome/browser/ui/views/chrome_views_delegate.cc gfx::NativeView window = widget->GetNativeView(); window 131 chrome/browser/ui/views/chrome_views_delegate.cc if (chrome::GetHostDesktopTypeForNativeView(window) == window 133 chrome/browser/ui/views/chrome_views_delegate.cc gfx::Display display = gfx::Screen::GetScreenFor(window)-> window 136 chrome/browser/ui/views/chrome_views_delegate.cc ash::wm::GetWindowState(window)->set_minimum_visibility(true); window 163 chrome/browser/ui/views/chrome_views_delegate.cc bool ChromeViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const { window 164 chrome/browser/ui/views/chrome_views_delegate.cc return chrome::IsNativeViewInAsh(window); window 20 chrome/browser/ui/views/chrome_views_delegate.h virtual void SaveWindowPlacement(const views::Widget* window, window 39 chrome/browser/ui/views/chrome_views_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) const OVERRIDE; window 64 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc void set_window(views::Widget* window) { window_ = window; } window 104 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc return impl_->window()->GetNativeView(); window 153 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc impl_->window()->Close(); window 167 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc void SetWindow(views::Widget* window) { window 168 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc impl_->set_window(window); window 172 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc return impl_->window(); window 213 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc views::Widget* window = views::Widget::CreateWindowAsFramelessChild( window 216 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc web_contents_modal_dialog_manager->ShowDialog(window->GetNativeView()); window 217 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc constrained_delegate->SetWindow(window); window 247 chrome/browser/ui/views/constrained_window_views_browsertest.cc views::Widget* window = views::Widget::CreateWindowAsFramelessChild( window 250 chrome/browser/ui/views/constrained_window_views_browsertest.cc web_contents_modal_dialog_manager->ShowDialog(window->GetNativeView()); window 282 chrome/browser/ui/views/constrained_window_views_browsertest.cc views::Widget* window = views::Widget::CreateWindowAsFramelessChild( window 285 chrome/browser/ui/views/constrained_window_views_browsertest.cc web_contents_modal_dialog_manager->ShowDialog(window->GetNativeView()); window 286 chrome/browser/ui/views/constrained_window_views_browsertest.cc EXPECT_TRUE(window->IsVisible()); window 293 chrome/browser/ui/views/constrained_window_views_browsertest.cc EXPECT_FALSE(window->IsVisible()); window 301 chrome/browser/ui/views/constrained_window_views_browsertest.cc EXPECT_TRUE(window->IsVisible()); window 332 chrome/browser/ui/views/constrained_window_views_browsertest.cc views::Widget* window = views::Widget::CreateWindowAsFramelessChild( window 335 chrome/browser/ui/views/constrained_window_views_browsertest.cc web_contents_modal_dialog_manager->ShowDialog(window->GetNativeView()); window 336 chrome/browser/ui/views/constrained_window_views_browsertest.cc EXPECT_TRUE(window->IsVisible()); window 344 chrome/browser/ui/views/constrained_window_views_browsertest.cc EXPECT_TRUE(window->IsVisible()); window 349 chrome/browser/ui/views/constrained_window_views_browsertest.cc EXPECT_TRUE(window->IsVisible()); window 53 chrome/browser/ui/views/download/download_feedback_dialog_view.cc DownloadFeedbackDialogView* window = window 55 chrome/browser/ui/views/download/download_feedback_dialog_view.cc CreateBrowserModalDialogViews(window, parent_window)->Show(); window 29 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc DownloadInProgressDialogView* window = new DownloadInProgressDialogView( window 31 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc CreateBrowserModalDialogViews(window, parent)->Show(); window 240 chrome/browser/ui/views/download/download_shelf_view.cc bool is_maximized = browser_->window()->IsMaximized(); window 105 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc bool BrowserActionOverflowMenuController::RunMenu(views::Widget* window, window 117 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc ignore_result(menu_runner_->RunMenuAt(window, menu_button_, bounds, anchor, window 88 chrome/browser/ui/views/extensions/extension_dialog.cc views::Widget* window = CreateBrowserModalDialogViews(this, parent); window 100 chrome/browser/ui/views/extensions/extension_dialog.cc window->SetBounds(bounds_rect); window 102 chrome/browser/ui/views/extensions/extension_dialog.cc window->Show(); window 104 chrome/browser/ui/views/extensions/extension_dialog.cc window->Activate(); window 40 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc if (browser && browser->window()) window 41 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc return browser->window()->GetNativeWindow(); window 40 chrome/browser/ui/views/find_bar_controller_interactive_uitest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); window 41 chrome/browser/ui/views/find_bar_controller_interactive_uitest.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 106 chrome/browser/ui/views/first_run_dialog.cc aura::Window* window = GetWidget()->GetNativeView(); window 108 chrome/browser/ui/views/first_run_dialog.cc aura::client::GetDispatcherClient(window->GetRootWindow()); window 83 chrome/browser/ui/views/frame/browser_frame_ash.cc void BrowserFrameAsh::OnWindowDestroying(aura::Window* window) { window 88 chrome/browser/ui/views/frame/browser_frame_ash.cc NativeWidgetAura::OnWindowDestroying(window); window 33 chrome/browser/ui/views/frame/browser_frame_ash.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 499 chrome/browser/ui/views/frame/browser_view.cc gfx::NativeWindow window) { window 500 chrome/browser/ui/views/frame/browser_view.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 508 chrome/browser/ui/views/frame/browser_view.cc return static_cast<BrowserView*>(browser->window()); window 599 chrome/browser/ui/views/frame/browser_view.cc if (!browser_->window()) window 602 chrome/browser/ui/views/frame/browser_view.cc browser_->window()->GetNativeWindow()); window 1475 chrome/browser/ui/views/frame/browser_view.cc aura::Window* window = contents->GetView()->GetNativeView(); window 1478 chrome/browser/ui/views/frame/browser_view.cc window, root_window, root_window->GetBoundsInScreen()); window 2329 chrome/browser/ui/views/frame/browser_view.cc HWND window = GetWidget()->GetNativeView()->GetHost()-> window 2332 chrome/browser/ui/views/frame/browser_view.cc HWND window = GetWidget()->GetNativeView(); window 2335 chrome/browser/ui/views/frame/browser_view.cc hung_window_detector_.Initialize(window, window 2573 chrome/browser/ui/views/frame/browser_view.cc modal_browser->window()->FlashFrame(true); window 2574 chrome/browser/ui/views/frame/browser_view.cc modal_browser->window()->Activate(); window 119 chrome/browser/ui/views/frame/browser_view.h static BrowserView* GetBrowserViewForNativeWindow(gfx::NativeWindow window); window 39 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); window 44 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ui_test_utils::HideNativeWindow(window); window 45 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ASSERT_TRUE(ui_test_utils::ShowAndFocusNativeWindow(window)); window 51 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ui_test_utils::HideNativeWindow(window); window 52 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ASSERT_TRUE(ui_test_utils::ShowAndFocusNativeWindow(window)); window 64 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc browser2->window()->Show(); window 67 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc gfx::NativeWindow window2 = browser2->window()->GetNativeWindow(); window 80 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc browser()->window()->Activate(); window 85 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc browser2->window()->Activate(); window 86 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 47 chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); window 98 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::NativeWindow window = window 99 chrome/browser/ui/views/frame/browser_view_layout.cc browser_view_layout_->browser()->window()->GetNativeWindow(); window 100 chrome/browser/ui/views/frame/browser_view_layout.cc return views::Widget::GetWidgetForNativeWindow(window)->GetNativeView(); window 43 chrome/browser/ui/views/frame/browser_view_unittest.cc EXPECT_FALSE(window()); window 47 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc HWND hwnd = views::HWNDForNativeWindow(browser->window()->GetNativeWindow()); window 47 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc browser()->window()->Show(); window 124 chrome/browser/ui/views/frame/system_menu_model_builder.cc DCHECK(browser()->window()); window 147 chrome/browser/ui/views/frame/system_menu_model_builder.cc aura::Window* window = browser()->window()->GetNativeWindow(); window 148 chrome/browser/ui/views/frame/system_menu_model_builder.cc if (user_id.empty() || !window || manager->GetWindowOwner(window).empty()) window 9 chrome/browser/ui/views/frame/taskbar_decorator.cc void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { window 19 chrome/browser/ui/views/frame/taskbar_decorator.h void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image); window 90 chrome/browser/ui/views/frame/taskbar_decorator_win.cc void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { window 93 chrome/browser/ui/views/frame/taskbar_decorator_win.cc chrome::GetHostDesktopTypeForNativeWindow(window) != window 97 chrome/browser/ui/views/frame/taskbar_decorator_win.cc HWND hwnd = views::HWNDForNativeWindow(window); window 63 chrome/browser/ui/views/frame/test_with_browser_view.cc browser_view_ = static_cast<BrowserView*>(browser()->window()); window 17 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc aura::Window* GetTopmostTransientParent(aura::Window* window) { window 18 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc aura::Window* topmost = wm::GetToplevelWindow(window); window 55 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc aura::Window* window = window 57 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc if (!window) window 60 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc BrowserView::GetBrowserViewForNativeWindow(window); window 36 chrome/browser/ui/views/keyboard_access_browsertest.cc browser->window()->GetNativeWindow(), key, false, false, false, false)); window 149 chrome/browser/ui/views/keyboard_access_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); window 150 chrome/browser/ui/views/keyboard_access_browsertest.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 159 chrome/browser/ui/views/keyboard_access_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); window 160 chrome/browser/ui/views/keyboard_access_browsertest.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 203 chrome/browser/ui/views/keyboard_access_browsertest.cc browser()->window()); window 208 chrome/browser/ui/views/keyboard_access_browsertest.cc browser()->window()->GetLocationBar()->FocusLocation(false); window 316 chrome/browser/ui/views/keyboard_access_browsertest.cc browser()->window()); window 320 chrome/browser/ui/views/keyboard_access_browsertest.cc browser()->window()->GetLocationBar()->FocusLocation(false); window 1495 chrome/browser/ui/views/location_bar/location_bar_view.cc return (is_popup_mode_ && browser_ && browser_->window() && window 1496 chrome/browser/ui/views/location_bar/location_bar_view.cc browser_->window()->IsMaximized()) ? 0 : vertical_edge_thickness(); window 41 chrome/browser/ui/views/location_bar/star_view_browsertest.cc browser()->window()); window 127 chrome/browser/ui/views/location_bar/star_view_browsertest.cc browser()->window()); window 46 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc DCHECK(browser && browser->window() && browser->fullscreen_controller()); window 26 chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); window 70 chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); window 79 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc browser()->window()); window 34 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc BrowserWindow* window = browser->window(); window 35 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc ASSERT_TRUE(window); window 36 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc LocationBar* location_bar = window->GetLocationBar(); window 72 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc aura::test::EventGenerator generator(browser()->window()-> window 81 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc browser()->window()->GetNativeWindow()->GetHost()->event_processor(); window 107 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc OmniboxView* view = browser()->window()->GetLocationBar()->GetOmniboxView(); window 321 chrome/browser/ui/views/panels/panel_frame_view.cc aura::Window* window = panel_view_->GetNativePanelWindow(); window 322 chrome/browser/ui/views/panels/panel_frame_view.cc window->set_hit_test_bounds_override_inner( window 357 chrome/browser/ui/views/panels/panel_frame_view.cc HWND native_window = views::HWNDForWidget(panel_view_->window()); window 426 chrome/browser/ui/views/panels/panel_frame_view.cc panel_view_->window()->client_view()->NonClientHitTest(point); window 499 chrome/browser/ui/views/panels/panel_frame_view.cc panel_view_->window()->client_view()->GetPreferredSize(); window 501 chrome/browser/ui/views/panels/panel_frame_view.cc return panel_view_->window()->non_client_view()-> window 636 chrome/browser/ui/views/panels/panel_frame_view.cc return panel_view_->window()->widget_delegate()->GetWindowIcon(); window 408 chrome/browser/ui/views/panels/panel_stack_view.cc panel_view->window(), window 464 chrome/browser/ui/views/panels/panel_stack_view.cc static_cast<PanelView*>(panel->native_panel())->window(); window 501 chrome/browser/ui/views/panels/panel_stack_view.cc views::Widget* window = stack_window->GetWidget(); window 509 chrome/browser/ui/views/panels/panel_stack_view.cc views::HWNDForWidget(window)); window 517 chrome/browser/ui/views/panels/panel_stack_view.cc ui::HWNDSubclass::AddFilterToTarget(views::HWNDForWidget(window), this); window 520 chrome/browser/ui/views/panels/panel_stack_view.cc return window; window 565 chrome/browser/ui/views/panels/panel_stack_view.cc static_cast<PanelView*>(panel->native_panel())->window())); window 579 chrome/browser/ui/views/panels/panel_stack_view.cc views::Widget* window, window 582 chrome/browser/ui/views/panels/panel_stack_view.cc views::HWNDForWidget(window), window 113 chrome/browser/ui/views/panels/panel_stack_view.h views::Widget* window, window 164 chrome/browser/ui/views/panels/panel_view.cc HWND native_window = views::HWNDForWidget(panel_view_->window()); window 180 chrome/browser/ui/views/panels/panel_view.cc HWND native_window = views::HWNDForWidget(panel_view_->window()); window 204 chrome/browser/ui/views/panels/panel_view.cc HWND native_window = views::HWNDForWidget(panel_view_->window()); window 106 chrome/browser/ui/views/panels/panel_view.h views::Widget* window() const { return window_; } window 43 chrome/browser/ui/views/panels/panel_view_browsertest.cc HWND native_window = views::HWNDForWidget(GetPanelView(panel)->window()); window 71 chrome/browser/ui/views/panels/panel_view_browsertest.cc HWND native_window = views::HWNDForWidget(GetPanelView(panel)->window()); window 101 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc DCHECK(browser->window()); window 135 chrome/browser/ui/views/select_file_dialog_extension.cc *base_window = owner_browser->window(); window 227 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow native_window = browser()->window()->GetNativeWindow(); window 249 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); window 276 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); window 304 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); window 329 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); window 354 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); window 112 chrome/browser/ui/views/signed_certificate_timestamps_views.cc views::Widget* window = views::Widget::CreateWindowAsFramelessChild( window 114 chrome/browser/ui/views/signed_certificate_timestamps_views.cc web_contents_modal_dialog_manager->ShowDialog(window->GetNativeView()); window 164 chrome/browser/ui/views/simple_message_box_views.cc aura::Window* window = GetWidget()->GetNativeView(); window 166 chrome/browser/ui/views/simple_message_box_views.cc aura::client::GetDispatcherClient(window->GetRootWindow()); window 834 chrome/browser/ui/views/status_bubble_views.cc gfx::NativeView window = base_view_->GetWidget()->GetNativeView(); window 835 chrome/browser/ui/views/status_bubble_views.cc gfx::Rect monitor_rect = gfx::Screen::GetScreenFor(window)-> window 836 chrome/browser/ui/views/status_bubble_views.cc GetDisplayNearestWindow(window).work_area(); window 874 chrome/browser/ui/views/status_bubble_views.cc views::Widget* window = frame->GetTopLevelWidget(); window 875 chrome/browser/ui/views/status_bubble_views.cc return !window || !window->IsMinimized(); window 880 chrome/browser/ui/views/status_bubble_views.cc views::Widget* window = frame->GetTopLevelWidget(); window 881 chrome/browser/ui/views/status_bubble_views.cc return window && window->IsMaximized(); window 20 chrome/browser/ui/views/status_icons/status_icon_win.cc StatusIconWin::StatusIconWin(UINT id, HWND window, UINT message) window 22 chrome/browser/ui/views/status_icons/status_icon_win.cc window_(window), window 28 chrome/browser/ui/views/status_icons/status_icon_win.h StatusIconWin(UINT id, HWND window, UINT message); window 88 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc this, browser_->window()->GetNativeWindow())->Show(); window 87 chrome/browser/ui/views/tabs/tab_drag_controller.cc void SetWindowPositionManaged(gfx::NativeWindow window, bool value) { window 89 chrome/browser/ui/views/tabs/tab_drag_controller.cc ash::wm::GetWindowState(window)->set_window_position_managed(value); window 924 chrome/browser/ui/views/tabs/tab_drag_controller.cc TabStrip* TabDragController::GetTabStripForWindow(gfx::NativeWindow window) { window 925 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (!window) window 928 chrome/browser/ui/views/tabs/tab_drag_controller.cc BrowserView::GetBrowserViewForNativeWindow(window); window 1164 chrome/browser/ui/views/tabs/tab_drag_controller.cc browser->window()->Show(); window 1170 chrome/browser/ui/views/tabs/tab_drag_controller.cc browser->window()->Activate(); window 1636 chrome/browser/ui/views/tabs/tab_drag_controller.cc new_browser->window()->Show(); window 1687 chrome/browser/ui/views/tabs/tab_drag_controller.cc aura::Window* window = GetLocalProcessWindow(point_in_screen, true); window 1691 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (!GetTabStripForWindow(window)) window 1694 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (window) { window 1696 chrome/browser/ui/views/tabs/tab_drag_controller.cc window); window 1862 chrome/browser/ui/views/tabs/tab_drag_controller.cc SetWindowPositionManaged(browser->window()->GetNativeWindow(), false); window 1865 chrome/browser/ui/views/tabs/tab_drag_controller.cc browser->window()->SetBounds(new_bounds); window 1924 chrome/browser/ui/views/tabs/tab_drag_controller.cc exclude.insert((*it)->window()->GetNativeWindow()); window 306 chrome/browser/ui/views/tabs/tab_drag_controller.h TabStrip* GetTabStripForWindow(gfx::NativeWindow window); window 181 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->GetNativeWindow()).work_area(); window 184 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->SetBounds(gfx::Rect(work_area.origin(), half_size)); window 185 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->SetBounds(gfx::Rect( window 208 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc return ash::wm::GetWindowState(browser->window()->GetNativeWindow())-> window 229 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const aura::Window* window) const OVERRIDE { window 638 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 639 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 655 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool IsWindowPositionManaged(aura::Window* window) { window 656 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc return ash::wm::GetWindowState(window)->window_position_managed(); window 658 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool HasUserChangedWindowPositionOrSize(aura::Window* window) { window 659 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc return ash::wm::GetWindowState(window)->bounds_changed_by_user(); window 662 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool IsWindowPositionManaged(gfx::NativeWindow window) { window 665 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool HasUserChangedWindowPositionOrSize(gfx::NativeWindow window) { window 682 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const gfx::Rect initial_bounds(browser()->window()->GetBounds()); window 706 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 715 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->GetBounds().ToString()); window 720 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(IsWindowPositionManaged(browser()->window()->GetNativeWindow())); window 722 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc new_browser->window()->GetNativeWindow())); window 725 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 726 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(new_browser->window()->IsMaximized()); window 747 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->Maximize(); window 748 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(browser()->window()->IsMaximized()); window 773 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 781 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(browser()->window()->IsMaximized()); window 786 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(IsWindowPositionManaged(browser()->window()->GetNativeWindow())); window 788 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc new_browser->window()->GetNativeWindow())); window 791 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(new_browser->window()->IsMaximized()); window 915 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ui_controls::SendKeyPress(new_browser->window()->GetNativeWindow(), window 956 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(new_browser->window()->IsMaximized()); window 965 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc new_browser->window()->GetNativeWindow(), ui::VKEY_ESCAPE, false, false, window 1004 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 1062 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 1134 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 1214 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 1238 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect bounds(browser2->window()->GetBounds()); window 1240 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->SetBounds(bounds); window 1268 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 1269 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 1291 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const gfx::Rect initial_bounds(browser2->window()->GetBounds()); window 1318 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 1321 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(IsWindowPositionManaged(browser2->window()->GetNativeWindow())); window 1323 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->GetNativeWindow())); window 1326 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->GetBounds().ToString()); window 1375 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(it->window()->IsMaximized()); window 1391 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 1418 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->Maximize(); window 1437 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 1439 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(browser()->window()->GetNativeWindow()->IsVisible()); window 1440 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(new_browser->window()->GetNativeWindow()->IsVisible()); window 1446 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(browser()->window()->IsMaximized()); window 1448 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(new_browser->window()->IsMaximized()); window 1535 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 1547 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc new_browser->window()->GetNativeWindow()->GetRootWindow()); window 1554 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 1555 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(new_browser->window()->IsMaximized()); window 1608 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->SetBounds(work_area); window 1610 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->GetNativeWindow()->GetRootWindow()); window 1636 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 1637 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 1666 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->SetBounds(work_area); window 1671 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->SetBounds(work_area); window 1674 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->SetBounds(work_area2); window 1676 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->GetNativeWindow()->GetRootWindow()); window 1678 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->GetNativeWindow()->GetRootWindow()); window 1706 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser()->window()->IsMaximized()); window 1707 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 1725 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->Maximize(); window 1747 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->GetNativeWindow()->GetRootWindow()); window 1749 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->GetNativeWindow()->GetRootWindow()); window 1782 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(browser()->window()->IsMaximized()); window 1783 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(browser2->window()->IsMaximized()); window 1811 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->SetBounds(work_area); window 1813 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->GetNativeWindow()->GetRootWindow()); window 2039 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc new_browser->window()->GetNativeWindow()->GetRootWindow()); window 2117 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_EQ(roots[0], browser()->window()->GetNativeWindow()->GetRootWindow()); window 2121 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->SetBounds(work_area); window 2122 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_EQ(roots[1], browser()->window()->GetNativeWindow()->GetRootWindow()); window 2157 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 2174 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect bounds(browser()->window()->GetBounds()); window 2220 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 2256 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->Maximize(); window 2257 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(browser()->window()->IsMaximized()); window 2285 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 2293 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(browser()->window()->IsMaximized()); window 2298 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(IsWindowPositionManaged(browser()->window()->GetNativeWindow())); window 2300 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc new_browser->window()->GetNativeWindow())); window 2303 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ash::wm::GetWindowState(new_browser->window()->GetNativeWindow()); window 2305 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(new_browser->window()->IsMaximized()); window 136 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc ASSERT_TRUE(new_browser->window()->IsActive()); window 355 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc browser2->window()->GetNativeWindow(), ui::VKEY_ESCAPE, window 17 chrome/browser/ui/views/tabs/window_finder_ash.cc aura::Window* window) { window 18 chrome/browser/ui/views/tabs/window_finder_ash.cc if (ignore.find(window) != ignore.end()) window 21 chrome/browser/ui/views/tabs/window_finder_ash.cc if (!window->IsVisible()) window 24 chrome/browser/ui/views/tabs/window_finder_ash.cc if (window->id() == ash::kShellWindowId_PhantomWindow || window 25 chrome/browser/ui/views/tabs/window_finder_ash.cc window->id() == ash::kShellWindowId_OverlayContainer) window 28 chrome/browser/ui/views/tabs/window_finder_ash.cc if (window->layer()->type() == ui::LAYER_TEXTURED) window 29 chrome/browser/ui/views/tabs/window_finder_ash.cc return window->GetBoundsInScreen().Contains(screen_point) ? window : NULL; window 32 chrome/browser/ui/views/tabs/window_finder_ash.cc window->children().rbegin(); i != window->children().rend(); ++i) { window 51 chrome/browser/ui/views/tabs/window_finder_win.cc virtual bool ShouldStopIterating(HWND window) = 0; window 67 chrome/browser/ui/views/tabs/window_finder_win.cc static bool IsTopMostWindowAtPoint(HWND window, window 70 chrome/browser/ui/views/tabs/window_finder_win.cc TopMostFinder finder(window, screen_loc, ignore); window 124 chrome/browser/ui/views/tabs/window_finder_win.cc TopMostFinder(HWND window, window 128 chrome/browser/ui/views/tabs/window_finder_win.cc target_(window), window 41 chrome/browser/ui/views/tabs/window_finder_x11.cc bool ShouldIgnoreWindow(XID window) { window 42 chrome/browser/ui/views/tabs/window_finder_x11.cc return (ignore_.find(window) != ignore_.end()); window 46 chrome/browser/ui/views/tabs/window_finder_x11.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 65 chrome/browser/ui/views/tabs/window_finder_x11.cc static bool IsTopMostWindowAtPoint(XID window, window 68 chrome/browser/ui/views/tabs/window_finder_x11.cc TopMostFinder finder(window, screen_loc, ignore); window 73 chrome/browser/ui/views/tabs/window_finder_x11.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 74 chrome/browser/ui/views/tabs/window_finder_x11.cc if (BaseWindowFinder::ShouldIgnoreWindow(window)) window 77 chrome/browser/ui/views/tabs/window_finder_x11.cc if (window == target_) { window 83 chrome/browser/ui/views/tabs/window_finder_x11.cc if (!ui::IsWindowVisible(window)) { window 92 chrome/browser/ui/views/tabs/window_finder_x11.cc return ui::WindowContainsPoint(window, screen_loc_); window 96 chrome/browser/ui/views/tabs/window_finder_x11.cc TopMostFinder(XID window, window 100 chrome/browser/ui/views/tabs/window_finder_x11.cc target_(window), window 140 chrome/browser/ui/views/tabs/window_finder_x11.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 141 chrome/browser/ui/views/tabs/window_finder_x11.cc if (BaseWindowFinder::ShouldIgnoreWindow(window)) window 145 chrome/browser/ui/views/tabs/window_finder_x11.cc if (!aura::WindowTreeHost::GetForAcceleratedWidget(window)) window 148 chrome/browser/ui/views/tabs/window_finder_x11.cc if (!ui::IsWindowVisible(window)) window 151 chrome/browser/ui/views/tabs/window_finder_x11.cc if (ui::WindowContainsPoint(window, screen_loc_)) { window 152 chrome/browser/ui/views/tabs/window_finder_x11.cc result_ = window; window 479 chrome/browser/ui/views/task_manager_view.cc gfx::NativeWindow window = window 480 chrome/browser/ui/views/task_manager_view.cc browser ? browser->window()->GetNativeWindow() : NULL; window 482 chrome/browser/ui/views/task_manager_view.cc if (!window) window 483 chrome/browser/ui/views/task_manager_view.cc window = ash::wm::GetActiveWindow(); window 485 chrome/browser/ui/views/task_manager_view.cc DialogDelegate::CreateDialogWidget(instance_, window, NULL); window 23 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc browser->window()->GetBrowserWindowTesting()->GetToolbarView()-> window 551 chrome/browser/ui/views/toolbar/browser_actions_container.cc !browser_->window()->IsActive() || window 552 chrome/browser/ui/views/toolbar/browser_actions_container.cc !browser_->window()->IsToolbarVisible()) { window 217 chrome/browser/ui/views/toolbar/browser_actions_container_browsertest.cc ->window() window 606 chrome/browser/ui/views/toolbar/toolbar_view.cc bool maximized = browser_->window() && browser_->window()->IsMaximized(); window 759 chrome/browser/ui/views/toolbar/toolbar_view.cc browser_->window()->RotatePaneFocus(true); window 35 chrome/browser/ui/views/toolbar/toolbar_view_browsertest.cc gfx::NativeWindow window = browser->window()->GetNativeWindow(); window 36 chrome/browser/ui/views/toolbar/toolbar_view_browsertest.cc views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); window 976 chrome/browser/ui/views/toolbar/wrench_menu.cc browser_->window()->GetNativeWindow()); window 1346 chrome/browser/ui/views/toolbar/wrench_menu.cc browser_->window()->GetNativeWindow()); window 17 chrome/browser/ui/views/top_level_widget_views.cc BrowserWindow* window = browser->window(); window 18 chrome/browser/ui/views/top_level_widget_views.cc if (!window) window 109 chrome/browser/ui/views/user_manager_view.cc gfx::NativeWindow window = instance_->GetWidget()->GetNativeWindow(); window 110 chrome/browser/ui/views/user_manager_view.cc instance_->keep_alive_.reset(new AutoKeepAlive(window)); window 277 chrome/browser/ui/webui/certificate_viewer_webui.cc NativeWebContentsModalDialog window = window 280 chrome/browser/ui/webui/certificate_viewer_webui.cc window, window 67 chrome/browser/ui/webui/chrome_web_contents_handler.cc browser->window()->Close(); window 112 chrome/browser/ui/webui/chrome_web_contents_handler.cc browser->window()->Close(); window 47 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void set_charger_window(gfx::NativeWindow window) { window 48 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h charger_window_ = window; window 279 chrome/browser/ui/webui/help/version_updater_win.cc BOOL CALLBACK WindowEnumeration(HWND window, LPARAM param) { window 280 chrome/browser/ui/webui/help/version_updater_win.cc if (IsWindowVisible(window)) { window 282 chrome/browser/ui/webui/help/version_updater_win.cc *returned_window = window; window 291 chrome/browser/ui/webui/help/version_updater_win.cc HWND window = NULL; window 294 chrome/browser/ui/webui/help/version_updater_win.cc reinterpret_cast<LPARAM>(&window)); window 298 chrome/browser/ui/webui/help/version_updater_win.cc DCHECK(window != NULL) << "Failed to find a valid window handle on thread: " window 301 chrome/browser/ui/webui/help/version_updater_win.cc return window; window 624 chrome/browser/ui/webui/ntp/app_launcher_handler.cc browser->window()->GetNativeWindow(), browser->profile(), extension, window 270 chrome/browser/ui/webui/ntp/foreign_session_handler.cc SessionWindow* window = it->second; window 273 chrome/browser/ui/webui/ntp/foreign_session_handler.cc if (SessionWindowToValue(*window, window_data.get())) window 385 chrome/browser/ui/webui/ntp/foreign_session_handler.cc const SessionWindow& window, window 387 chrome/browser/ui/webui/ntp/foreign_session_handler.cc if (window.tabs.empty()) { window 393 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Time modification_time = window.timestamp; window 394 chrome/browser/ui/webui/ntp/foreign_session_handler.cc for (size_t i = 0; i < window.tabs.size(); ++i) { window 396 chrome/browser/ui/webui/ntp/foreign_session_handler.cc if (SessionTabToValue(*window.tabs[i], tab_value.get())) { window 398 chrome/browser/ui/webui/ntp/foreign_session_handler.cc window.tabs[i]->timestamp); window 414 chrome/browser/ui/webui/ntp/foreign_session_handler.cc dictionary->SetInteger("sessionId", window.window_id.id()); window 89 chrome/browser/ui/webui/ntp/foreign_session_handler.h bool SessionWindowToValue(const SessionWindow& window, window 167 chrome/browser/ui/webui/ntp/ntp_login_handler.cc browser->window()->ShowAvatarBubble(web_ui()->GetWebContents(), rect); window 37 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc void WindowToValue(const TabRestoreService::Window& window, window 39 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc DCHECK(!window.tabs.empty()); window 42 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc for (size_t i = 0; i < window.tabs.size(); ++i) { window 44 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc TabToValue(window.tabs[i], tab_value); window 49 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc dictionary->SetDouble("timestamp", window.timestamp.ToDoubleT()); window 448 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc return browser->window()->GetNativeWindow(); window 450 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc browser->window()->Show(); window 248 chrome/browser/ui/webui/options/import_data_handler.cc browser->window()->GetNativeWindow(), window 350 chrome/browser/ui/webui/set_as_default_browser_ui.cc BrowserWindow* window = browser_->window(); window 353 chrome/browser/ui/webui/set_as_default_browser_ui.cc window->Show(); window 98 chrome/browser/ui/window_sizer/window_sizer.cc BrowserWindow* window = NULL; window 100 chrome/browser/ui/window_sizer/window_sizer.cc if (browser_ && browser_->window()) { window 101 chrome/browser/ui/window_sizer/window_sizer.cc window = browser_->window(); window 115 chrome/browser/ui/window_sizer/window_sizer.cc window = last_active->window(); window 116 chrome/browser/ui/window_sizer/window_sizer.cc DCHECK(window); window 122 chrome/browser/ui/window_sizer/window_sizer.cc if (window) { window 123 chrome/browser/ui/window_sizer/window_sizer.cc *bounds = window->GetRestoredBounds(); window 124 chrome/browser/ui/window_sizer/window_sizer.cc if (*show_state == ui::SHOW_STATE_DEFAULT && window->IsMaximized()) window 56 chrome/browser/ui/window_sizer/window_sizer_ash.cc browser_->window() ? browser_->window()->GetNativeWindow() : NULL; window 42 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc browser->window()->Close(); window 97 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc browser_list->get(0)->window()->GetNativeWindow()->GetRootWindow()); window 109 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc browser_list->get(0)->window()->GetNativeWindow()->GetRootWindow()); window 186 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc browser_list->get(0)->window()->GetNativeWindow()->GetRootWindow()); window 194 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc browser_list->get(1)->window()->GetNativeWindow()->GetRootWindow()); window 66 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc create_params.window = this; window 82 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc aura::Window* window, window 86 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc window->SetBounds(bounds); window 88 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc new TestBrowserWindowAura(window)); window 30 chrome/browser/ui/window_sizer/window_sizer_gtk.cc GtkWindow* window = window 31 chrome/browser/ui/window_sizer/window_sizer_gtk.cc reinterpret_cast<GtkWindow*>(browser->window()->GetNativeWindow()); window 33 chrome/browser/ui/window_sizer/window_sizer_gtk.cc gtk_window_get_position(window, &x, &y); window 270 chrome/installer/setup/uninstall.cc HWND window = FindWindow(installer::kChromeFrameHelperWndClass, NULL); window 271 chrome/installer/setup/uninstall.cc if (!::IsWindow(window)) window 277 chrome/installer/setup/uninstall.cc ::GetWindowThreadProcessId(window, &pid); window 283 chrome/installer/setup/uninstall.cc if (SendMessageTimeout(window, WM_CLOSE, 0, 0, SMTO_BLOCK, kWaitMs, NULL) && window 40 chrome/installer/util/html_dialog.h virtual void OnBeforeDisplay(void* window) = 0; window 92 chrome/installer/util/html_dialog.h virtual void OnBeforeDisplay(void* window); window 165 chrome/installer/util/html_dialog_impl.cc void EulaHTMLDialog::Customizer::OnBeforeDisplay(void* window) { window 166 chrome/installer/util/html_dialog_impl.cc if (!window) window 168 chrome/installer/util/html_dialog_impl.cc HWND top_window = static_cast<HWND>(window); window 109 chrome/renderer/extensions/app_window_custom_bindings.cc v8::Local<v8::Value> window = frame->mainWorldScriptContext()->Global(); window 110 chrome/renderer/extensions/app_window_custom_bindings.cc args.GetReturnValue().Set(window); window 174 chrome/renderer/extensions/runtime_custom_bindings.cc v8::Local<v8::Value> window = context->Global(); window 175 chrome/renderer/extensions/runtime_custom_bindings.cc DCHECK(!window.IsEmpty()); window 176 chrome/renderer/extensions/runtime_custom_bindings.cc v8_views->Set(v8::Integer::New(args.GetIsolate(), v8_index++), window); window 230 chrome/test/base/browser_with_test_window_test.cc params.window = browser_window; window 97 chrome/test/base/browser_with_test_window_test.h BrowserWindow* window() const { return window_.get(); } window 342 chrome/test/base/in_process_browser_test.cc browser->window()->Show(); window 385 chrome/test/base/in_process_browser_test.cc if (browser_->window()->IsMaximized()) window 386 chrome/test/base/in_process_browser_test.cc browser_->window()->Restore(); window 15 chrome/test/base/interactive_test_utils.cc BrowserWindow* window = browser->window(); window 16 chrome/test/base/interactive_test_utils.cc if (!window) window 19 chrome/test/base/interactive_test_utils.cc *native_window = window->GetNativeWindow(); window 26 chrome/test/base/interactive_test_utils.cc gfx::NativeWindow window = NULL; window 27 chrome/test/base/interactive_test_utils.cc if (!GetNativeWindow(browser, &window)) window 30 chrome/test/base/interactive_test_utils.cc return ui_test_utils::ShowAndFocusNativeWindow(window); window 39 chrome/test/base/interactive_test_utils.cc gfx::NativeWindow window = NULL; window 40 chrome/test/base/interactive_test_utils.cc if (!GetNativeWindow(browser, &window)) window 42 chrome/test/base/interactive_test_utils.cc return SendKeyPressToWindowSync(window, key, control, shift, alt, command); window 45 chrome/test/base/interactive_test_utils.cc bool SendKeyPressToWindowSync(const gfx::NativeWindow window, window 55 chrome/test/base/interactive_test_utils.cc window, key, control, shift, alt, command, runner->QuitClosure()); window 57 chrome/test/base/interactive_test_utils.cc if (!result && ui_test_utils::ShowAndFocusNativeWindow(window)) { window 59 chrome/test/base/interactive_test_utils.cc window, key, control, shift, alt, command, runner->QuitClosure()); window 37 chrome/test/base/interactive_test_utils.h void HideNativeWindow(gfx::NativeWindow window); window 40 chrome/test/base/interactive_test_utils.h bool ShowAndFocusNativeWindow(gfx::NativeWindow window) WARN_UNUSED_RESULT; window 55 chrome/test/base/interactive_test_utils.h bool SendKeyPressToWindowSync(const gfx::NativeWindow window, window 13 chrome/test/base/interactive_test_utils_aura.cc void HideNativeWindow(gfx::NativeWindow window) { window 14 chrome/test/base/interactive_test_utils_aura.cc HideNativeWindowAura(window); window 17 chrome/test/base/interactive_test_utils_aura.cc bool ShowAndFocusNativeWindow(gfx::NativeWindow window) { window 18 chrome/test/base/interactive_test_utils_aura.cc return ShowAndFocusNativeWindowAura(window); window 22 chrome/test/base/interactive_test_utils_aura.cc void HideNativeWindowAura(gfx::NativeWindow window) { window 23 chrome/test/base/interactive_test_utils_aura.cc window->Hide(); window 26 chrome/test/base/interactive_test_utils_aura.cc bool ShowAndFocusNativeWindowAura(gfx::NativeWindow window) { window 27 chrome/test/base/interactive_test_utils_aura.cc window->Show(); window 16 chrome/test/base/interactive_test_utils_aura.h void HideNativeWindowAura(gfx::NativeWindow window); window 17 chrome/test/base/interactive_test_utils_aura.h bool ShowAndFocusNativeWindowAura(gfx::NativeWindow window); window 40 chrome/test/base/interactive_test_utils_gtk.cc BrowserWindow* browser_window = browser->window(); window 42 chrome/test/base/interactive_test_utils_gtk.cc gfx::NativeWindow window = browser_window->GetNativeWindow(); window 43 chrome/test/base/interactive_test_utils_gtk.cc DCHECK(window); window 44 chrome/test/base/interactive_test_utils_gtk.cc GtkWidget* widget = ViewIDUtil::GetWidget(GTK_WIDGET(window), vid); window 46 chrome/test/base/interactive_test_utils_gtk.cc return IsWidgetInFocusChain(GTK_WIDGET(window), widget); window 50 chrome/test/base/interactive_test_utils_gtk.cc BrowserWindow* browser_window = browser->window(); window 52 chrome/test/base/interactive_test_utils_gtk.cc gfx::NativeWindow window = browser_window->GetNativeWindow(); window 53 chrome/test/base/interactive_test_utils_gtk.cc DCHECK(window); window 54 chrome/test/base/interactive_test_utils_gtk.cc GtkWidget* view = ViewIDUtil::GetWidget(GTK_WIDGET(window), vid); window 63 chrome/test/base/interactive_test_utils_gtk.cc void HideNativeWindow(gfx::NativeWindow window) { window 64 chrome/test/base/interactive_test_utils_gtk.cc gtk_widget_hide(GTK_WIDGET(window)); window 67 chrome/test/base/interactive_test_utils_gtk.cc bool ShowAndFocusNativeWindow(gfx::NativeWindow window) { window 68 chrome/test/base/interactive_test_utils_gtk.cc if (!gtk_window_has_toplevel_focus(GTK_WINDOW(window))) window 69 chrome/test/base/interactive_test_utils_gtk.cc gtk_window_present(GTK_WINDOW(window)); window 19 chrome/test/base/interactive_test_utils_views.cc BrowserWindow* browser_window = browser->window(); window 21 chrome/test/base/interactive_test_utils_views.cc gfx::NativeWindow window = browser_window->GetNativeWindow(); window 22 chrome/test/base/interactive_test_utils_views.cc DCHECK(window); window 24 chrome/test/base/interactive_test_utils_views.cc views::Widget::GetTopLevelWidgetForNativeView(window); window 52 chrome/test/base/interactive_test_utils_views.cc aura::Window* window = view->GetWidget()->GetNativeView(); window 53 chrome/test/base/interactive_test_utils_views.cc if (window && window->layer()) { window 54 chrome/test/base/interactive_test_utils_views.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 24 chrome/test/base/interactive_test_utils_win.cc void HideNativeWindow(gfx::NativeWindow window) { window 26 chrome/test/base/interactive_test_utils_win.cc if (chrome::GetHostDesktopTypeForNativeWindow(window) == window 28 chrome/test/base/interactive_test_utils_win.cc HideNativeWindowAura(window); window 31 chrome/test/base/interactive_test_utils_win.cc HWND hwnd = window->GetHost()->GetAcceleratedWidget(); window 33 chrome/test/base/interactive_test_utils_win.cc HWND hwnd = window; window 38 chrome/test/base/interactive_test_utils_win.cc bool ShowAndFocusNativeWindow(gfx::NativeWindow window) { window 40 chrome/test/base/interactive_test_utils_win.cc if (chrome::GetHostDesktopTypeForNativeWindow(window) == window 42 chrome/test/base/interactive_test_utils_win.cc ShowAndFocusNativeWindowAura(window); window 43 chrome/test/base/interactive_test_utils_win.cc window->Show(); window 45 chrome/test/base/interactive_test_utils_win.cc HWND hwnd = window->GetHost()->GetAcceleratedWidget(); window 47 chrome/test/base/interactive_test_utils_win.cc HWND hwnd = window; window 22 chrome/test/base/test_browser_window.cc explicit TestBrowserWindowOwner(TestBrowserWindow* window) : window_(window) { window 32 chrome/test/base/test_browser_window.cc if (browser->window() == window_.get()) window 44 chrome/test/base/test_browser_window.cc TestBrowserWindow* window = new TestBrowserWindow; window 45 chrome/test/base/test_browser_window.cc new TestBrowserWindowOwner(window); window 46 chrome/test/base/test_browser_window.cc params->window = window; window 273 chrome/test/base/ui_test_utils.cc void WaitUntilDevToolsWindowLoaded(DevToolsWindow* window) { window 276 chrome/test/base/ui_test_utils.cc window->SetLoadCompletedCallback(runner->QuitClosure()); window 115 chrome/test/base/ui_test_utils.h void WaitUntilDevToolsWindowLoaded(DevToolsWindow* window); window 176 chrome/test/chromedriver/commands.cc session->window) == web_view_ids.end()) { window 62 chrome/test/chromedriver/session.cc Status status = chrome->GetWebViewById(window, web_view); window 59 chrome/test/chromedriver/session.h std::string window; window 150 chrome/test/chromedriver/session_commands.cc session->window = web_view_ids.front(); window 346 chrome/test/chromedriver/session_commands.cc session->window = web_view_id; window 46 chrome/test/chromedriver/session_unittest.cc session.window = "2"; window 54 chrome/test/chromedriver/session_unittest.cc session.window = "1"; window 46 chrome/test/data/webui/certificate_viewer_ui_test-inl.h ASSERT_TRUE(browser()->window()); window 51 chrome/test/data/webui/certificate_viewer_ui_test-inl.h browser()->window()->GetNativeWindow()); window 68 chrome/test/data/webui/certificate_viewer_ui_test-inl.h ASSERT_TRUE(browser()->window()); window 73 chrome/test/data/webui/certificate_viewer_ui_test-inl.h browser()->window()->GetNativeWindow()); window 148 chrome/test/gpu/gpu_feature_browsertest.cc browser()->window()->SetBounds(new_bounds); window 504 chrome/test/gpu/gpu_feature_browsertest.cc gfx::Rect bounds = browser()->window()->GetBounds(); window 87 chrome/test/perf/mach_ports_performancetest.cc browser()->window()->Show(); window 237 cloud_print/service/win/cloud_print_service_config.cc HWND window = reinterpret_cast<HWND>(lparam); window 238 cloud_print/service/win/cloud_print_service_config.cc if (GetDlgItem(IDC_LOGO).m_hWnd == window) { window 100 components/breakpad/tools/crash_service.cc HWND window = CreateWindowExW(0, wcx.lpszClassName, L"crash service", style, window 103 components/breakpad/tools/crash_service.cc if (!window) window 106 components/breakpad/tools/crash_service.cc ::UpdateWindow(window); window 107 components/breakpad/tools/crash_service.cc VLOG(1) << "window handle is " << window; window 108 components/breakpad/tools/crash_service.cc g_top_window = window; window 151 content/app/content_main_runner.cc HWND window = ::CreateWindowExW(0, L"Static", L"", WS_POPUP | WS_DISABLED, window 154 content/app/content_main_runner.cc if (!window) { window 157 content/app/content_main_runner.cc ::DestroyWindow(window); window 158 content/app/content_main_runner.cc window = NULL; window 712 content/browser/accessibility/accessibility_win_browsertest.cc HWND browser_hwnd = shell()->window(); window 108 content/browser/accessibility/browser_accessibility_cocoa.h @property(nonatomic, readonly) id window; window 24 content/browser/accessibility/browser_accessibility_delegate_mac.h - (NSWindow*)window; window 195 content/browser/cross_site_transfer_browsertest.cc void NavigateToURLContentInitiated(Shell* window, window 205 content/browser/cross_site_transfer_browsertest.cc bool result = ExecuteScript(window->web_contents(), script); window 249 content/browser/gpu/browser_gpu_channel_host_factory.cc gfx::PluginWindowHandle window, window 259 content/browser/gpu/browser_gpu_channel_host_factory.cc window, window 282 content/browser/gpu/browser_gpu_channel_host_factory.cc gfx::PluginWindowHandle window, window 289 content/browser/gpu/browser_gpu_channel_host_factory.cc window, window 36 content/browser/gpu/browser_gpu_channel_host_factory.h gfx::PluginWindowHandle window, window 115 content/browser/gpu/browser_gpu_channel_host_factory.h gfx::PluginWindowHandle window, window 739 content/browser/gpu/gpu_process_host.cc void GpuProcessHost::CreateImage(gfx::PluginWindowHandle window, window 747 content/browser/gpu/gpu_process_host.cc if (Send(new GpuMsg_CreateImage(window, client_id, image_id))) { window 119 content/browser/gpu/gpu_process_host.h gfx::PluginWindowHandle window, window 103 content/browser/media/capture/desktop_capture_device_aura.cc virtual void OnWindowBoundsChanged(aura::Window* window, window 106 content/browser/media/capture/desktop_capture_device_aura.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 397 content/browser/media/capture/desktop_capture_device_aura.cc aura::Window* window, window 400 content/browser/media/capture/desktop_capture_device_aura.cc DCHECK(desktop_window_ && window == desktop_window_); window 407 content/browser/media/capture/desktop_capture_device_aura.cc void DesktopVideoCaptureMachine::OnWindowDestroyed(aura::Window* window) { window 87 content/browser/plugin_browsertest.cc static void LoadAndWaitInWindow(Shell* window, const GURL& url) { window 89 content/browser/plugin_browsertest.cc TitleWatcher title_watcher(window->web_contents(), expected_title); window 92 content/browser/plugin_browsertest.cc NavigateToURL(window, url); window 409 content/browser/plugin_browsertest.cc SetWindowBounds(shell()->window(), bounds); window 65 content/browser/plugin_process_host.cc void PluginProcessHost::OnPluginWindowDestroyed(HWND window, HWND parent) { window 77 content/browser/plugin_process_host.cc void PluginProcessHost::AddWindow(HWND window) { window 78 content/browser/plugin_process_host.cc plugin_parent_windows_set_.insert(window); window 120 content/browser/plugin_process_host.h void AddWindow(HWND window); window 133 content/browser/plugin_process_host.h void OnPluginWindowDestroyed(HWND window, HWND parent); window 822 content/browser/plugin_service_impl.cc HWND window, const wchar_t* plugin_atom_property, window 825 content/browser/plugin_service_impl.cc GetPropW(window, plugin_atom_property)); window 838 content/browser/plugin_service_impl.cc HWND window, window 841 content/browser/plugin_service_impl.cc if (!IsPluginWindow(window)) window 845 content/browser/plugin_service_impl.cc window, kPluginNameAtomProperty, plugin_name); window 847 content/browser/plugin_service_impl.cc window, kPluginVersionAtomProperty, plugin_version); window 851 content/browser/plugin_service_impl.cc bool PluginServiceImpl::IsPluginWindow(HWND window) { window 852 content/browser/plugin_service_impl.cc return gfx::GetClassName(window) == base::string16(kNativeWindowClassName); window 111 content/browser/plugin_service_impl.h virtual bool GetPluginInfoFromWindow(HWND window, window 116 content/browser/plugin_service_impl.h bool IsPluginWindow(HWND window); window 327 content/browser/renderer_host/compositor_impl_android.cc void CompositorImpl::SetWindowSurface(ANativeWindow* window) { window 338 content/browser/renderer_host/compositor_impl_android.cc if (window) { window 339 content/browser/renderer_host/compositor_impl_android.cc window_ = window; window 340 content/browser/renderer_host/compositor_impl_android.cc ANativeWindow_acquire(window); window 341 content/browser/renderer_host/compositor_impl_android.cc surface_id_ = tracker->AddSurfaceForNativeWidget(window); window 363 content/browser/renderer_host/compositor_impl_android.cc ANativeWindow* window = NULL; window 365 content/browser/renderer_host/compositor_impl_android.cc window = ANativeWindow_fromSurface(env, surface); window 366 content/browser/renderer_host/compositor_impl_android.cc if (window) { window 367 content/browser/renderer_host/compositor_impl_android.cc SetWindowSurface(window); window 368 content/browser/renderer_host/compositor_impl_android.cc ANativeWindow_release(window); window 67 content/browser/renderer_host/compositor_impl_android.h virtual void SetWindowSurface(ANativeWindow* window) OVERRIDE; window 61 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.window = NULL; window 64 content/browser/renderer_host/gtk_plugin_container_manager.cc GtkWidget *widget = MapIDToWidget(move.window); window 25 content/browser/renderer_host/gtk_window_utils.cc gfx::Rect GetWorkArea(Window window) { window 28 content/browser/renderer_host/gtk_window_utils.cc if (!ui::GetIntProperty(window, "_NET_WM_DESKTOP", &desktop)) { window 34 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc aura::Window* window = GetWindow(); window 35 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc aura::WindowTreeHost* host = window->GetHost(); window 38 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc (*iter)->ConvertLocationToTarget(window, host->window()); window 55 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc aura::Window* window = GetWindow(); window 56 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc wheel_event.ConvertLocationToTarget(window, window->GetRootWindow()); window 58 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc window->GetHost()->event_processor()->OnEventFromSource(&wheel_event); window 122 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc aura::Window* window = GetWindow(); window 123 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc mouse_event.ConvertLocationToTarget(window, window->GetRootWindow()); window 125 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc window->GetHost()->event_processor()->OnEventFromSource(&mouse_event); window 148 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc aura::Window* window = render_widget_host()->GetView()->GetNativeView(); window 149 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc DCHECK(window); window 150 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc return window; window 31 content/browser/renderer_host/input/web_input_event_builders_gtk.cc bool ShouldForgetPreviousClick(GdkWindow* window, gint time, gint x, gint y) { window 34 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (window != last_click_event_window) window 457 content/browser/renderer_host/input/web_input_event_builders_gtk.cc event->window, event->time, event->x, event->y); window 464 content/browser/renderer_host/input/web_input_event_builders_gtk.cc last_click_event_window = event->window; window 504 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (ShouldForgetPreviousClick(event->window, event->time, event->x, event->y)) window 542 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (ShouldForgetPreviousClick(event->window, event->time, event->x, event->y)) window 25 content/browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc first_click.window = static_cast<GdkWindow*>(GINT_TO_POINTER(1)); window 86 content/browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc second_click.window = static_cast<GdkWindow*>(GINT_TO_POINTER(2)); window 95 content/browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc mouse_down.window = static_cast<GdkWindow*>(GINT_TO_POINTER(1)); window 131 content/browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc mouse_move.window = mouse_down.window; window 132 content/browser/renderer_host/render_widget_host_view_aura.cc BOOL CALLBACK WindowDestroyingCallback(HWND window, LPARAM param) { window 135 content/browser/renderer_host/render_widget_host_view_aura.cc if (GetProp(window, kWidgetOwnerProperty) == widget) { window 137 content/browser/renderer_host/render_widget_host_view_aura.cc RemoveProp(window, kWidgetOwnerProperty); window 138 content/browser/renderer_host/render_widget_host_view_aura.cc RenderWidgetHostViewBase::DetachPluginWindowsCallback(window); window 143 content/browser/renderer_host/render_widget_host_view_aura.cc BOOL CALLBACK HideWindowsCallback(HWND window, LPARAM param) { window 146 content/browser/renderer_host/render_widget_host_view_aura.cc if (GetProp(window, kWidgetOwnerProperty) == widget) window 147 content/browser/renderer_host/render_widget_host_view_aura.cc SetParent(window, ui::GetHiddenWindow()); window 151 content/browser/renderer_host/render_widget_host_view_aura.cc BOOL CALLBACK ShowWindowsCallback(HWND window, LPARAM param) { window 155 content/browser/renderer_host/render_widget_host_view_aura.cc if (GetProp(window, kWidgetOwnerProperty) == widget && window 158 content/browser/renderer_host/render_widget_host_view_aura.cc SetParent(window, parent); window 173 content/browser/renderer_host/render_widget_host_view_aura.cc BOOL CALLBACK SetCutoutRectsCallback(HWND window, LPARAM param) { window 176 content/browser/renderer_host/render_widget_host_view_aura.cc if (GetProp(window, kWidgetOwnerProperty) == params->widget) { window 183 content/browser/renderer_host/render_widget_host_view_aura.cc MapWindowPoints(window, parent, &offset, 1); window 189 content/browser/renderer_host/render_widget_host_view_aura.cc i->second.window != window && window 190 content/browser/renderer_host/render_widget_host_view_aura.cc GetParent(i->second.window) != window) { window 215 content/browser/renderer_host/render_widget_host_view_aura.cc SetWindowRgn(window, hrgn, TRUE); window 222 content/browser/renderer_host/render_widget_host_view_aura.cc BOOL CALLBACK DismissOwnedPopups(HWND window, LPARAM arg) { window 225 content/browser/renderer_host/render_widget_host_view_aura.cc if (::IsWindowVisible(window)) { window 226 content/browser/renderer_host/render_widget_host_view_aura.cc const HWND owner = ::GetWindow(window, GW_OWNER); window 228 content/browser/renderer_host/render_widget_host_view_aura.cc ::PostMessage(window, WM_CANCELMODE, 0, 0); window 304 content/browser/renderer_host/render_widget_host_view_aura.cc void GetScreenInfoForWindow(WebScreenInfo* results, aura::Window* window) { window 305 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Display display = window ? window 306 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen::GetScreenFor(window)->GetDisplayNearestWindow(window) : window 307 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen::GetScreenFor(window)->GetPrimaryDisplay(); window 450 content/browser/renderer_host/render_widget_host_view_aura.cc virtual void OnWindowAddedToRootWindow(aura::Window* window) OVERRIDE { window 451 content/browser/renderer_host/render_widget_host_view_aura.cc if (window == view_->window_) window 455 content/browser/renderer_host/render_widget_host_view_aura.cc virtual void OnWindowRemovingFromRootWindow(aura::Window* window, window 457 content/browser/renderer_host/render_widget_host_view_aura.cc if (window == view_->window_) window 845 content/browser/renderer_host/render_widget_host_view_aura.cc plugin_window_moves_[moves[i].window] = moves[i]; window 861 content/browser/renderer_host/render_widget_host_view_aura.cc HWND window = moves[i].window; window 862 content/browser/renderer_host/render_widget_host_view_aura.cc if (GetParent(window) != parent) { window 863 content/browser/renderer_host/render_widget_host_view_aura.cc window = GetParent(window); window 865 content/browser/renderer_host/render_widget_host_view_aura.cc if (!GetProp(window, kWidgetOwnerProperty)) window 866 content/browser/renderer_host/render_widget_host_view_aura.cc SetProp(window, kWidgetOwnerProperty, this); window 2585 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnWindowDestroying(aura::Window* window) { window 2607 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnWindowDestroyed(aura::Window* window) { window 2646 content/browser/renderer_host/render_widget_host_view_aura.cc aura::Window* window = window_; window 2647 content/browser/renderer_host/render_widget_host_view_aura.cc tracker.Add(window); window 2649 content/browser/renderer_host/render_widget_host_view_aura.cc if (!tracker.Contains(window)) { window 300 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 301 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 367 content/browser/renderer_host/render_widget_host_view_aura.h aura::Window* window() { return window_; } window 64 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc virtual void ConvertPointToScreen(const aura::Window* window, window 69 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc virtual void ConvertPointFromScreen(const aura::Window* window, window 74 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc virtual void ConvertHostPointToScreen(aura::Window* window, window 76 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ConvertPointToScreen(window, point); window 79 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc virtual void SetBounds(aura::Window* window, window 106 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { window 107 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc CHECK_EQ(window, window_); window 158 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size desired_size = window()->bounds().size(); window 164 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size desired_size = window()->bounds().size(); window 178 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gl_helper->ResizeTexture(texture, window()->bounds().size()); window 184 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc OnCompositingDidCommit(window()->GetHost()->compositor()); window 337 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Window* window = view_->GetNativeView(); window 338 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(window != NULL); window 340 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc window->GetProperty(aura::client::kShowStateKey)); window 343 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_TRUE(window->HasFocus()); window 355 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Window* window = parent_view_->GetNativeView(); window 356 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Window* root = window->GetRootWindow(); window 380 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point original_origin = window->bounds().origin(); window 382 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point new_origin = window->bounds().origin(); window 391 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Window* window = view_->GetNativeView(); window 392 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(window != NULL); window 393 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(window->HasFocus()); window 397 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc TestWindowObserver observer(window); window 402 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc window->parent()->AddChild(sibling.get()); window 420 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Window* window = view_->GetNativeView(); window 421 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(window != NULL); window 424 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_FALSE(window->GetBoundsInRootWindow().Contains(click_point)); window 428 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc TestWindowObserver observer(window); window 429 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), click_point); window 447 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Window* window = view_->GetNativeView(); window 448 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(window != NULL); window 451 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_FALSE(window->GetBoundsInRootWindow().Contains(tap_point)); window 455 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc TestWindowObserver observer(window); window 456 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::test::EventGenerator generator(window->GetRootWindow(), tap_point); window 64 content/browser/renderer_host/render_widget_host_view_base.cc void NotifyPluginProcessHostHelper(HWND window, HWND parent, int tries) { window 70 content/browser/renderer_host/render_widget_host_view_base.cc GetWindowThreadProcessId(window, &plugin_process_id); window 89 content/browser/renderer_host/render_widget_host_view_base.cc base::Bind(&NotifyPluginProcessHostHelper, window, parent, tries - 1), window 104 content/browser/renderer_host/render_widget_host_view_base.cc LRESULT CALLBACK PluginWrapperWindowProc(HWND window, unsigned int message, window 111 content/browser/renderer_host/render_widget_host_view_base.cc ::SendMessage(GetParent(window), message, wparam, lparam); window 117 content/browser/renderer_host/render_widget_host_view_base.cc return ::DefWindowProc(window, message, wparam, lparam); window 120 content/browser/renderer_host/render_widget_host_view_base.cc bool IsPluginWrapperWindow(HWND window) { window 121 content/browser/renderer_host/render_widget_host_view_base.cc return gfx::GetClassNameW(window) == window 126 content/browser/renderer_host/render_widget_host_view_base.cc HWND ReparentWindow(HWND window, HWND parent) { window 155 content/browser/renderer_host/render_widget_host_view_base.cc ::SetParent(window, new_parent); window 162 content/browser/renderer_host/render_widget_host_view_base.cc base::Bind(&NotifyPluginProcessHostHelper, window, new_parent, window 186 content/browser/renderer_host/render_widget_host_view_base.cc BOOL CALLBACK DetachPluginWindowsCallbackInternal(HWND window, LPARAM param) { window 187 content/browser/renderer_host/render_widget_host_view_base.cc RenderWidgetHostViewBase::DetachPluginWindowsCallback(window); window 194 content/browser/renderer_host/render_widget_host_view_base.cc void RenderWidgetHostViewBase::DetachPluginWindowsCallback(HWND window) { window 195 content/browser/renderer_host/render_widget_host_view_base.cc if (PluginServiceImpl::GetInstance()->IsPluginWindow(window) && window 196 content/browser/renderer_host/render_widget_host_view_base.cc !IsHungAppWindow(window)) { window 197 content/browser/renderer_host/render_widget_host_view_base.cc ::ShowWindow(window, SW_HIDE); window 198 content/browser/renderer_host/render_widget_host_view_base.cc SetParent(window, NULL); window 227 content/browser/renderer_host/render_widget_host_view_base.cc HWND window = move.window; window 235 content/browser/renderer_host/render_widget_host_view_base.cc HWND cur_parent = ::GetParent(window); window 236 content/browser/renderer_host/render_widget_host_view_base.cc if (!::IsWindow(window)) window 239 content/browser/renderer_host/render_widget_host_view_base.cc if (!PluginServiceImpl::GetInstance()->IsPluginWindow(window)) { window 252 content/browser/renderer_host/render_widget_host_view_base.cc cur_parent = ReparentWindow(window, parent); window 253 content/browser/renderer_host/render_widget_host_view_base.cc ::ShowWindow(window, SW_SHOW); // Window was created hidden. window 260 content/browser/renderer_host/render_widget_host_view_base.cc window = cur_parent; window 263 content/browser/renderer_host/render_widget_host_view_base.cc SetParent(window, parent); window 295 content/browser/renderer_host/render_widget_host_view_base.cc ::SetWindowRgn(window, hrgn, window 305 content/browser/renderer_host/render_widget_host_view_base.cc GetClientRect(window, &r); window 306 content/browser/renderer_host/render_widget_host_view_base.cc MapWindowPoints(window, parent, reinterpret_cast<POINT*>(&r), 2); window 318 content/browser/renderer_host/render_widget_host_view_base.cc window, NULL, window 338 content/browser/renderer_host/render_widget_host_view_base.cc GetWindowRect(move.window, &r); window 340 content/browser/renderer_host/render_widget_host_view_base.cc PaintEnumChildProc(move.window, reinterpret_cast<LPARAM>(&gr)); window 109 content/browser/renderer_host/render_widget_host_view_base.h static void DetachPluginWindowsCallback(HWND window); window 601 content/browser/renderer_host/render_widget_host_view_gtk.cc GtkWindow* window = GTK_WINDOW(gtk_window_new(GTK_WINDOW_POPUP)); window 602 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_container_add(GTK_CONTAINER(window), view_.get()); window 603 content/browser/renderer_host/render_widget_host_view_gtk.cc DoPopupOrFullscreenInit(window, pos); window 618 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_get_group(GTK_WINDOW(toplevel)), window); window 657 content/browser/renderer_host/render_widget_host_view_gtk.cc GtkWindow* window = GTK_WINDOW(gtk_window_new(GTK_WINDOW_TOPLEVEL)); window 658 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_set_decorated(window, FALSE); window 659 content/browser/renderer_host/render_widget_host_view_gtk.cc destroy_handler_id_ = g_signal_connect(GTK_WIDGET(window), window 663 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_container_add(GTK_CONTAINER(window), view_.get()); window 667 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkScreen* screen = gtk_window_get_screen(window); window 682 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_move(window, bounds.x(), bounds.y()); window 683 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_resize(window, bounds.width(), bounds.height()); window 684 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_fullscreen(window); window 685 content/browser/renderer_host/render_widget_host_view_gtk.cc DoPopupOrFullscreenInit(window, bounds); window 775 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::ActiveWindowChanged(GdkWindow* window) { window 778 content/browser/renderer_host/render_widget_host_view_gtk.cc if (our_window == window) window 783 content/browser/renderer_host/render_widget_host_view_gtk.cc if (is_fullscreen_ && our_window != window && made_active_) window 907 content/browser/renderer_host/render_widget_host_view_gtk.cc GtkWidget* window = gtk_widget_get_parent(view_.get()); window 913 content/browser/renderer_host/render_widget_host_view_gtk.cc g_signal_handler_disconnect(window, destroy_handler_id_); window 915 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_widget_destroy(window); window 1012 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::DoPopupOrFullscreenInit(GtkWindow* window, window 1029 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_set_resizable(window, FALSE); window 1030 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_set_default_size(window, -1, -1); window 1031 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_move(window, bounds.x(), bounds.y()); window 1034 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_widget_show_all(GTK_WIDGET(window)); window 1181 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkWindow* window = gtk_widget_get_window(view_.get()); window 1202 content/browser/renderer_host/render_widget_host_view_gtk.cc if (window) { window 1232 content/browser/renderer_host/render_widget_host_view_gtk.cc if (window) window 1233 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_window_clear(window); window 1315 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkWindow* window = gtk_widget_get_window(widget); window 1316 content/browser/renderer_host/render_widget_host_view_gtk.cc if (window) { window 1317 content/browser/renderer_host/render_widget_host_view_gtk.cc Display* display = GDK_WINDOW_XDISPLAY(window); window 1318 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_window_resize(window, size.width(), size.height()); window 1338 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkWindow* window = gtk_widget_get_window(widget); window 1342 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_pointer_grab(window, window 1348 content/browser/renderer_host/render_widget_host_view_gtk.cc window, // confine_to window 1461 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkWindow* window = gtk_widget_get_window(view_.get()); window 1464 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_window_get_origin(window, &window_x, &window_y); window 1465 content/browser/renderer_host/render_widget_host_view_gtk.cc gint window_w = gdk_window_get_width(window); window 1466 content/browser/renderer_host/render_widget_host_view_gtk.cc gint window_h = gdk_window_get_height(window); window 210 content/browser/renderer_host/render_widget_host_view_gtk.h void DoPopupOrFullscreenInit(GtkWindow* window, const gfx::Rect& bounds); window 172 content/browser/site_per_process_browsertest.cc bool NavigateIframeToURL(Shell* window, window 188 content/browser/site_per_process_browsertest.cc &window->web_contents()->GetController())); window 189 content/browser/site_per_process_browsertest.cc bool result = ExecuteScript(window->web_contents(), script); window 202 content/browser/web_contents/aura/gesture_nav_simple.cc aura::Window* window = web_contents_->GetView()->GetNativeView(); window 203 content/browser/web_contents/aura/gesture_nav_simple.cc const gfx::Rect& window_bounds = window->bounds(); window 222 content/browser/web_contents/aura/gesture_nav_simple.cc clip_layer_->SetBounds(window->layer()->bounds()); window 226 content/browser/web_contents/aura/gesture_nav_simple.cc ui::Layer* parent = window->layer()->parent(); window 80 content/browser/web_contents/aura/image_window_delegate.cc void ImageWindowDelegate::OnWindowDestroying(aura::Window* window) { window 83 content/browser/web_contents/aura/image_window_delegate.cc void ImageWindowDelegate::OnWindowDestroyed(aura::Window* window) { window 41 content/browser/web_contents/aura/image_window_delegate.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 42 content/browser/web_contents/aura/image_window_delegate.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 137 content/browser/web_contents/aura/overscroll_navigation_overlay.cc scoped_ptr<aura::Window> window, window 139 content/browser/web_contents/aura/overscroll_navigation_overlay.cc window_ = window.Pass(); window 46 content/browser/web_contents/aura/overscroll_navigation_overlay.h void SetOverlayWindow(scoped_ptr<aura::Window> window, window 295 content/browser/web_contents/aura/window_slider.cc void WindowSlider::OnWindowRemovingFromRootWindow(aura::Window* window, window 297 content/browser/web_contents/aura/window_slider.cc if (window == event_window_) { window 298 content/browser/web_contents/aura/window_slider.cc window->RemoveObserver(this); window 299 content/browser/web_contents/aura/window_slider.cc window->RemovePreTargetHandler(this); window 301 content/browser/web_contents/aura/window_slider.cc } else if (window == owner_) { window 302 content/browser/web_contents/aura/window_slider.cc window->RemoveObserver(this); window 113 content/browser/web_contents/aura/window_slider.h virtual void OnWindowRemovingFromRootWindow(aura::Window* window, window 34 content/browser/web_contents/aura/window_slider_unittest.cc void ChangeSliderOwnerDuringScrollCallback(scoped_ptr<aura::Window>* window, window 44 content/browser/web_contents/aura/window_slider_unittest.cc (*window)->parent()->AddChild(new_window); window 45 content/browser/web_contents/aura/window_slider_unittest.cc window->reset(new_window); window 213 content/browser/web_contents/aura/window_slider_unittest.cc scoped_ptr<aura::Window> window(CreateNormalWindow(0, root_window(), NULL)); window 214 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); window 221 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, root_window(), window.get()); window 236 content/browser/web_contents/aura/window_slider_unittest.cc window->SetTransform(gfx::Transform()); window 287 content/browser/web_contents/aura/window_slider_unittest.cc window.reset(); window 294 content/browser/web_contents/aura/window_slider_unittest.cc scoped_ptr<aura::Window> window(CreateNormalWindow(0, root_window(), NULL)); window 295 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); window 310 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, root_window(), window.get()); window 330 content/browser/web_contents/aura/window_slider_unittest.cc window.reset(); window 337 content/browser/web_contents/aura/window_slider_unittest.cc scoped_ptr<aura::Window> window(CreateNormalWindow(0, root_window(), NULL)); window 338 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); window 343 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 349 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, root_window(), window.get()); window 436 content/browser/web_contents/aura/window_slider_unittest.cc window.reset(); window 447 content/browser/web_contents/aura/window_slider_unittest.cc scoped_ptr<aura::Window> window(CreateNormalWindow(1, parent.get(), window 452 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, parent.get(), window.get())); window 457 content/browser/web_contents/aura/window_slider_unittest.cc aura::Window* old_window = window.get(); window 464 content/browser/web_contents/aura/window_slider_unittest.cc base::Unretained(&window), window 466 content/browser/web_contents/aura/window_slider_unittest.cc aura::Window* new_window = window.get(); window 481 content/browser/web_contents/aura/window_slider_unittest.cc scoped_ptr<aura::Window> window(CreateNormalWindow(0, root_window(), NULL)); window 482 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); window 486 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, root_window(), window.get()); window 505 content/browser/web_contents/aura/window_slider_unittest.cc window->SetTransform(gfx::Transform()); window 521 content/browser/web_contents/aura/window_slider_unittest.cc window.reset(); window 529 content/browser/web_contents/aura/window_slider_unittest.cc aura::Window* window = CreateNormalWindow(0, root_window(), NULL); window 530 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); window 533 content/browser/web_contents/aura/window_slider_unittest.cc WindowSliderDeleteOwnerOnDestroy slider_delegate(window); window 538 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, root_window(), window)); window 560 content/browser/web_contents/aura/window_slider_unittest.cc aura::Window* window = CreateNormalWindow(0, root_window(), NULL); window 561 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); window 564 content/browser/web_contents/aura/window_slider_unittest.cc WindowSliderDeleteOwnerOnComplete slider_delegate(window); window 568 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, root_window(), window); window 591 content/browser/web_contents/aura/window_slider_unittest.cc scoped_ptr<aura::Window> window(CreateNormalWindow(0, root_window(), NULL)); window 592 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); window 594 content/browser/web_contents/aura/window_slider_unittest.cc new WindowSlider(&slider_delegate, root_window(), window.get()); window 598 content/browser/web_contents/aura/window_slider_unittest.cc ui::LayerAnimator* animator = window->layer()->GetAnimator(); window 648 content/browser/web_contents/aura/window_slider_unittest.cc window.reset(); window 266 content/browser/web_contents/touch_editable_impl_aura.cc aura::Window* window = rwhva_->GetNativeView(); window 268 content/browser/web_contents/touch_editable_impl_aura.cc aura::client::GetScreenPositionClient(window->GetRootWindow()); window 270 content/browser/web_contents/touch_editable_impl_aura.cc screen_position_client->ConvertPointToScreen(window, point); window 276 content/browser/web_contents/touch_editable_impl_aura.cc aura::Window* window = rwhva_->GetNativeView(); window 278 content/browser/web_contents/touch_editable_impl_aura.cc aura::client::GetScreenPositionClient(window->GetRootWindow()); window 280 content/browser/web_contents/touch_editable_impl_aura.cc screen_position_client->ConvertPointFromScreen(window, point); window 179 content/browser/web_contents/web_contents_view_aura.cc WebDragSourceAura(aura::Window* window, WebContentsImpl* contents) window 180 content/browser/web_contents/web_contents_view_aura.cc : window_(window), window 468 content/browser/web_contents/web_contents_view_aura.cc virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE { window 469 content/browser/web_contents/web_contents_view_aura.cc if (window == view_->window_) window 472 content/browser/web_contents/web_contents_view_aura.cc window->RemoveObserver(this); window 473 content/browser/web_contents/web_contents_view_aura.cc UpdateConstrainedWindows(window); window 476 content/browser/web_contents/web_contents_view_aura.cc virtual void OnWindowVisibilityChanged(aura::Window* window, window 478 content/browser/web_contents/web_contents_view_aura.cc if (window == view_->window_ || window 479 content/browser/web_contents/web_contents_view_aura.cc window->parent() == parent_ || window 480 content/browser/web_contents/web_contents_view_aura.cc window->parent() == view_->window_->GetRootWindow()) { window 486 content/browser/web_contents/web_contents_view_aura.cc virtual void OnWindowParentChanged(aura::Window* window, window 488 content/browser/web_contents/web_contents_view_aura.cc if (window != view_->window_) window 508 content/browser/web_contents/web_contents_view_aura.cc if (parent && parent == window->GetRootWindow()) window 514 content/browser/web_contents/web_contents_view_aura.cc if (window->GetRootWindow() && window 515 content/browser/web_contents/web_contents_view_aura.cc parent != window->GetRootWindow() && window 516 content/browser/web_contents/web_contents_view_aura.cc !window->GetRootWindow()->HasObserver(this)) { window 517 content/browser/web_contents/web_contents_view_aura.cc window->GetRootWindow()->AddObserver(this); window 525 content/browser/web_contents/web_contents_view_aura.cc if (parent != window->GetRootWindow()) { window 536 content/browser/web_contents/web_contents_view_aura.cc virtual void OnWindowBoundsChanged(aura::Window* window, window 539 content/browser/web_contents/web_contents_view_aura.cc if (window == parent_ || window == view_->window_) { window 550 content/browser/web_contents/web_contents_view_aura.cc virtual void OnWindowAddedToRootWindow(aura::Window* window) OVERRIDE { window 551 content/browser/web_contents/web_contents_view_aura.cc if (window == view_->window_) { window 552 content/browser/web_contents/web_contents_view_aura.cc window->GetHost()->AddObserver(this); window 554 content/browser/web_contents/web_contents_view_aura.cc if (!window->GetRootWindow()->HasObserver(this)) window 555 content/browser/web_contents/web_contents_view_aura.cc window->GetRootWindow()->AddObserver(this); window 560 content/browser/web_contents/web_contents_view_aura.cc virtual void OnWindowRemovingFromRootWindow(aura::Window* window, window 562 content/browser/web_contents/web_contents_view_aura.cc if (window == view_->window_) { window 563 content/browser/web_contents/web_contents_view_aura.cc window->GetHost()->RemoveObserver(this); window 565 content/browser/web_contents/web_contents_view_aura.cc window->GetRootWindow()->RemoveObserver(this); window 568 content/browser/web_contents/web_contents_view_aura.cc window->GetRootWindow()->children(); window 695 content/browser/web_contents/web_contents_view_aura.cc aura::Window* window = rvh->GetView()->GetNativeView(); window 696 content/browser/web_contents/web_contents_view_aura.cc aura::Window::ConvertPointToTarget(root_window, window, &client_loc); window 887 content/browser/web_contents/web_contents_view_aura.cc aura::Window* window = GetWindowToAnimateForOverscroll(); window 888 content/browser/web_contents/web_contents_view_aura.cc window->layer()->SetLayerBrightness(brightness); window 1162 content/browser/web_contents/web_contents_view_aura.cc if (!drag_source->window()) { window 1363 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnWindowDestroying(aura::Window* window) { window 1373 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnWindowDestroyed(aura::Window* window) { window 166 content/browser/web_contents/web_contents_view_aura.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 167 content/browser/web_contents/web_contents_view_aura.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 577 content/browser/web_contents/web_contents_view_aura_browsertest.cc scoped_ptr<aura::Window> window(new aura::Window(NULL)); window 578 content/browser/web_contents/web_contents_view_aura_browsertest.cc window->Init(aura::WINDOW_LAYER_NOT_DRAWN); window 594 content/browser/web_contents/web_contents_view_aura_browsertest.cc window->AddChild(shell()->web_contents()->GetView()->GetContentNativeView()); window 126 content/browser/web_contents/web_contents_view_gtk.cc GtkWidget* window = gtk_widget_get_ancestor(GetNativeView(), GTK_TYPE_WINDOW); window 127 content/browser/web_contents/web_contents_view_gtk.cc return window ? GTK_WINDOW(window) : NULL; window 185 content/browser/web_contents/web_contents_view_gtk.cc GdkWindow* window = gtk_widget_get_window(GetNativeView()); window 186 content/browser/web_contents/web_contents_view_gtk.cc if (!window) { window 191 content/browser/web_contents/web_contents_view_gtk.cc gdk_window_get_geometry(window, &x, &y, &w, &h, NULL); window 377 content/browser/web_contents/web_drag_source_gtk.cc cairo_t* cr = gdk_cairo_create(event->window); window 41 content/browser/worker_host/test/worker_browsertest.cc void RunTest(Shell* window, window 46 content/browser/worker_host/test/worker_browsertest.cc TitleWatcher title_watcher(window->web_contents(), expected_title); window 47 content/browser/worker_host/test/worker_browsertest.cc NavigateToURL(window, url); window 277 content/browser/worker_host/test/worker_browsertest.cc Shell* window = shell(); window 279 content/browser/worker_host/test/worker_browsertest.cc TitleWatcher title_watcher(window->web_contents(), expected_title); window 280 content/browser/worker_host/test/worker_browsertest.cc NavigateToURL(window, url); window 256 content/child/npapi/plugin_instance.cc NPError PluginInstance::NPP_SetWindow(NPWindow* window) { window 261 content/child/npapi/plugin_instance.cc return npp_functions_->setwindow(npp_, window); window 41 content/child/npapi/webplugin.h virtual void SetWindow(gfx::PluginWindowHandle window) = 0; window 48 content/child/npapi/webplugin.h virtual void WillDestroyWindow(gfx::PluginWindowHandle window) = 0; window 111 content/child/npapi/webplugin_delegate_impl.cc window_.window = NULL; window 257 content/child/npapi/webplugin_delegate_impl.h static void ClearThrottleQueueForWindow(HWND window); window 377 content/child/npapi/webplugin_delegate_impl.h int y, int reserved, HWND window, window 402 content/child/npapi/webplugin_delegate_impl.h static void HandleCaptureForMessage(HWND window, UINT message); window 138 content/child/npapi/webplugin_delegate_impl_gtk.cc window_.window = reinterpret_cast<void*>(windowed_handle_); window 493 content/child/npapi/webplugin_delegate_impl_gtk.cc DCHECK_EQ(window_.window, static_cast<void*>(NULL)); window 104 content/child/npapi/webplugin_delegate_impl_win.cc explicit DrawableContextEnforcer(NPWindow* window) window 105 content/child/npapi/webplugin_delegate_impl_win.cc : window_(window), window 106 content/child/npapi/webplugin_delegate_impl_win.cc disposable_dc_(window && !window->window) { window 110 content/child/npapi/webplugin_delegate_impl_win.cc window_->window = CreateCompatibleDC(NULL); window 117 content/child/npapi/webplugin_delegate_impl_win.cc DeleteDC(static_cast<HDC>(window_->window)); window 118 content/child/npapi/webplugin_delegate_impl_win.cc window_->window = NULL; window 562 content/child/npapi/webplugin_delegate_impl_win.cc void WebPluginDelegateImpl::ClearThrottleQueueForWindow(HWND window) { window 567 content/child/npapi/webplugin_delegate_impl_win.cc if (it->hwnd == window) { window 717 content/child/npapi/webplugin_delegate_impl_win.cc BOOL CALLBACK EnumFlashWindows(HWND window, LPARAM arg) { window 720 content/child/npapi/webplugin_delegate_impl_win.cc if (!RealGetWindowClass(window, class_name, window 730 content/child/npapi/webplugin_delegate_impl_win.cc GetWindowLongPtr(window, GWLP_WNDPROC)); window 733 content/child/npapi/webplugin_delegate_impl_win.cc window, GWLP_WNDPROC, window 736 content/child/npapi/webplugin_delegate_impl_win.cc g_window_handle_proc_map.Get()[window] = old_flash_proc; window 848 content/child/npapi/webplugin_delegate_impl_win.cc window_.window = windowed_handle_; window 1085 content/child/npapi/webplugin_delegate_impl_win.cc void* old_dc = window_.window; window 1086 content/child/npapi/webplugin_delegate_impl_win.cc window_.window = hdc; window 1096 content/child/npapi/webplugin_delegate_impl_win.cc window_.window = old_dc; window 1397 content/child/npapi/webplugin_delegate_impl_win.cc HWND window, const RECT* rect) { window 1402 content/child/npapi/webplugin_delegate_impl_win.cc GetWindowThreadProcessId(window, &window_process_id); window 1410 content/child/npapi/webplugin_delegate_impl_win.cc window = g_current_plugin_instance->dummy_window_for_activation_; window 1417 content/child/npapi/webplugin_delegate_impl_win.cc BOOL result = TrackPopupMenu(menu, flags, x, y, reserved, window, rect); window 1491 content/child/npapi/webplugin_delegate_impl_win.cc HWND window = WindowFromPoint(point); window 1492 content/child/npapi/webplugin_delegate_impl_win.cc if (::ScreenToClient(window, &point)) { window 1493 content/child/npapi/webplugin_delegate_impl_win.cc HWND child = ChildWindowFromPoint(window, point); window 1498 content/child/npapi/webplugin_delegate_impl_win.cc return window; window 1501 content/child/npapi/webplugin_delegate_impl_win.cc void WebPluginDelegateImpl::HandleCaptureForMessage(HWND window, window 1503 content/child/npapi/webplugin_delegate_impl_win.cc if (gfx::GetClassName(window) != base::string16(kNativeWindowClassName)) window 1510 content/child/npapi/webplugin_delegate_impl_win.cc ::SetCapture(window); window 1516 content/child/npapi/webplugin_delegate_impl_win.cc ::SendMessage(::GetParent(window), WM_PARENTNOTIFY, message, 0); window 196 content/child/npapi/webplugin_ime_win.cc BOOL WINAPI WebPluginIMEWin::ImmAssociateContextEx(HWND window, window 201 content/child/npapi/webplugin_ime_win.cc return ::ImmAssociateContextEx(window, context, flags); window 265 content/child/npapi/webplugin_ime_win.cc HIMC WINAPI WebPluginIMEWin::ImmGetContext(HWND window) { window 272 content/child/npapi/webplugin_ime_win.cc if (IsWindow(window)) { window 274 content/child/npapi/webplugin_ime_win.cc GetClassName(window, &name[0], arraysize(name)); window 276 content/child/npapi/webplugin_ime_win.cc return ::ImmGetContext(window); window 286 content/child/npapi/webplugin_ime_win.cc BOOL WINAPI WebPluginIMEWin::ImmReleaseContext(HWND window, HIMC context) { window 288 content/child/npapi/webplugin_ime_win.cc return ::ImmReleaseContext(window, context); window 126 content/child/npapi/webplugin_ime_win.h static BOOL WINAPI ImmAssociateContextEx(HWND window, window 133 content/child/npapi/webplugin_ime_win.h static HIMC WINAPI ImmGetContext(HWND window); window 134 content/child/npapi/webplugin_ime_win.h static BOOL WINAPI ImmReleaseContext(HWND window, HIMC context); window 74 content/common/gpu/client/gpu_channel_host.h gfx::PluginWindowHandle window, window 558 content/common/gpu/gpu_channel.cc const gfx::GLSurfaceHandle& window, window 583 content/common/gpu/gpu_channel.cc window, window 607 content/common/gpu/gpu_channel.cc gfx::PluginWindowHandle window, window 622 content/common/gpu/gpu_channel.cc scoped_refptr<gfx::GLImage> image = gfx::GLImage::CreateGLImage(window); window 108 content/common/gpu/gpu_channel.h const gfx::GLSurfaceHandle& window, window 114 content/common/gpu/gpu_channel.h gfx::PluginWindowHandle window, window 170 content/common/gpu/gpu_channel_manager.cc const gfx::GLSurfaceHandle& window, window 180 content/common/gpu/gpu_channel_manager.cc window, surface_id, init_params, &route_id); window 187 content/common/gpu/gpu_channel_manager.cc gfx::PluginWindowHandle window, int32 client_id, int32 image_id) { window 192 content/common/gpu/gpu_channel_manager.cc iter->second->CreateImage(window, image_id, &size); window 199 content/common/gpu/gpu_channel_manager.cc gfx::PluginWindowHandle window, int32 client_id, int32 image_id) { window 203 content/common/gpu/gpu_channel_manager.cc CreateImage(window, client_id, image_id); window 208 content/common/gpu/gpu_channel_manager.cc window, window 117 content/common/gpu/gpu_channel_manager.h const gfx::GLSurfaceHandle& window, window 122 content/common/gpu/gpu_channel_manager.h gfx::PluginWindowHandle window, int32 client_id, int32 image_id); window 124 content/common/gpu/gpu_channel_manager.h gfx::PluginWindowHandle window, int32 client_id, int32 image_id); window 179 content/common/gpu/image_transport_surface_android.cc ANativeWindow* window = window 183 content/common/gpu/image_transport_surface_android.cc new gfx::NativeViewGLSurfaceEGL(window); window 185 content/common/gpu/image_transport_surface_android.cc if (window) window 186 content/common/gpu/image_transport_surface_android.cc ANativeWindow_release(window); window 193 content/common/gpu/media/rendering_helper.cc NativeWindowType window = window 198 content/common/gpu/media/rendering_helper.cc CHECK(window != NULL); window 199 content/common/gpu/media/rendering_helper.cc windows_.push_back(window); window 212 content/common/gpu/media/rendering_helper.cc NativeWindowType window = XCreateWindow( window 218 content/common/gpu/media/rendering_helper.cc XStoreName(x_display_, window, "VideoDecodeAcceleratorTest"); window 219 content/common/gpu/media/rendering_helper.cc XSelectInput(x_display_, window, ExposureMask); window 220 content/common/gpu/media/rendering_helper.cc XMapWindow(x_display_, window); window 221 content/common/gpu/media/rendering_helper.cc x_windows_.push_back(window); window 226 content/common/gpu/media/rendering_helper.cc eglCreateWindowSurface(gl_display_, egl_config, window, NULL); window 230 content/common/view_messages.h IPC_STRUCT_TRAITS_MEMBER(window) window 10 content/common/webplugin_geometry.cc : window(gfx::kNullPluginWindow), window 19 content/common/webplugin_geometry.cc return window == rhs.window && window 35 content/common/webplugin_geometry.h gfx::PluginWindowHandle window; window 15 content/plugin/plugin_carbon_interpose_mac.cc static bool IsModalWindow(WindowRef window) { window 18 content/plugin/plugin_carbon_interpose_mac.cc OSStatus status = GetWindowModality(window, &modality, &modal_target); window 22 content/plugin/plugin_carbon_interpose_mac.cc static CGRect CGRectForWindow(WindowRef window) { window 24 content/plugin/plugin_carbon_interpose_mac.cc HIWindowGetBounds(window, kWindowContentRgn, kHICoordSpace72DPIGlobal, window 32 content/plugin/plugin_carbon_interpose_mac.cc WindowInfo(WindowRef window) { window 33 content/plugin/plugin_carbon_interpose_mac.cc window_id = HIWindowGetCGWindowID(window); window 34 content/plugin/plugin_carbon_interpose_mac.cc bounds = CGRectForWindow(window); window 43 content/plugin/plugin_carbon_interpose_mac.cc static void OnPluginWindowShown(WindowRef window) { window 45 content/plugin/plugin_carbon_interpose_mac.cc HIWindowGetCGWindowID(window), CGRectForWindow(window), window 46 content/plugin/plugin_carbon_interpose_mac.cc IsModalWindow(window)); window 49 content/plugin/plugin_carbon_interpose_mac.cc static void OnPluginWindowSelected(WindowRef window) { window 51 content/plugin/plugin_carbon_interpose_mac.cc HIWindowGetCGWindowID(window), CGRectForWindow(window), window 52 content/plugin/plugin_carbon_interpose_mac.cc IsModalWindow(window)); window 57 content/plugin/plugin_carbon_interpose_mac.cc static void ChromePluginSelectWindow(WindowRef window) { window 59 content/plugin/plugin_carbon_interpose_mac.cc SelectWindow(window); window 60 content/plugin/plugin_carbon_interpose_mac.cc OnPluginWindowSelected(window); window 63 content/plugin/plugin_carbon_interpose_mac.cc static void ChromePluginShowWindow(WindowRef window) { window 65 content/plugin/plugin_carbon_interpose_mac.cc ShowWindow(window); window 66 content/plugin/plugin_carbon_interpose_mac.cc OnPluginWindowShown(window); window 69 content/plugin/plugin_carbon_interpose_mac.cc static void ChromePluginDisposeWindow(WindowRef window) { window 70 content/plugin/plugin_carbon_interpose_mac.cc WindowInfo window_info(window); window 71 content/plugin/plugin_carbon_interpose_mac.cc DisposeWindow(window); window 75 content/plugin/plugin_carbon_interpose_mac.cc static void ChromePluginHideWindow(WindowRef window) { window 76 content/plugin/plugin_carbon_interpose_mac.cc WindowInfo window_info(window); window 77 content/plugin/plugin_carbon_interpose_mac.cc HideWindow(window); window 81 content/plugin/plugin_carbon_interpose_mac.cc static void ChromePluginShowHide(WindowRef window, Boolean show) { window 84 content/plugin/plugin_carbon_interpose_mac.cc ShowHide(window, show); window 85 content/plugin/plugin_carbon_interpose_mac.cc OnPluginWindowShown(window); window 87 content/plugin/plugin_carbon_interpose_mac.cc WindowInfo window_info(window); window 88 content/plugin/plugin_carbon_interpose_mac.cc ShowHide(window, show); window 93 content/plugin/plugin_carbon_interpose_mac.cc static void ChromePluginReleaseWindow(WindowRef window) { window 94 content/plugin/plugin_carbon_interpose_mac.cc WindowInfo window_info(window); window 95 content/plugin/plugin_carbon_interpose_mac.cc ReleaseWindow(window); window 100 content/plugin/plugin_carbon_interpose_mac.cc WindowRef window = GetDialogWindow(dialog); window 101 content/plugin/plugin_carbon_interpose_mac.cc WindowInfo window_info(window); window 116 content/plugin/webplugin_proxy.cc void WebPluginProxy::SetWindow(gfx::PluginWindowHandle window) { window 117 content/plugin/webplugin_proxy.cc Send(new PluginHostMsg_SetWindow(route_id_, window)); window 124 content/plugin/webplugin_proxy.cc void WebPluginProxy::WillDestroyWindow(gfx::PluginWindowHandle window) { window 128 content/plugin/webplugin_proxy.cc window, ::GetParent(window))); window 58 content/plugin/webplugin_proxy.h virtual void SetWindow(gfx::PluginWindowHandle window) OVERRIDE; window 60 content/plugin/webplugin_proxy.h virtual void WillDestroyWindow(gfx::PluginWindowHandle window) OVERRIDE; window 59 content/public/browser/android/compositor.h virtual void SetWindowSurface(ANativeWindow* window) = 0; window 27 content/public/browser/desktop_media_id.cc int RegisterWindow(aura::Window* window) { window 29 content/public/browser/desktop_media_id.cc std::map<aura::Window*, int>::iterator it = window_to_id_map_.find(window); window 36 content/public/browser/desktop_media_id.cc window_to_id_map_[window] = id; window 37 content/public/browser/desktop_media_id.cc id_to_window_map_[id] = window; window 38 content/public/browser/desktop_media_id.cc window->AddObserver(this); window 56 content/public/browser/desktop_media_id.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 57 content/public/browser/desktop_media_id.cc std::map<aura::Window*, int>::iterator it = window_to_id_map_.find(window); window 83 content/public/browser/desktop_media_id.cc DesktopMediaID DesktopMediaID::RegisterAuraWindow(aura::Window* window) { window 86 content/public/browser/desktop_media_id.cc AuraWindowRegistry::GetInstance()->RegisterWindow(window)); window 36 content/public/browser/desktop_media_id.h static DesktopMediaID RegisterAuraWindow(aura::Window* window); window 158 content/public/browser/plugin_service.h virtual bool GetPluginInfoFromWindow(HWND window, window 35 content/public/test/content_browser_test_utils.cc void NavigateToURLBlockUntilNavigationsComplete(Shell* window, window 38 content/public/test/content_browser_test_utils.cc WaitForLoadStop(window->web_contents()); window 39 content/public/test/content_browser_test_utils.cc TestNavigationObserver same_tab_observer(window->web_contents(), window 42 content/public/test/content_browser_test_utils.cc window->LoadURL(url); window 46 content/public/test/content_browser_test_utils.cc void NavigateToURL(Shell* window, const GURL& url) { window 47 content/public/test/content_browser_test_utils.cc NavigateToURLBlockUntilNavigationsComplete(window, url, 1); window 50 content/public/test/content_browser_test_utils.cc void WaitForAppModalDialog(Shell* window) { window 53 content/public/test/content_browser_test_utils.cc window->GetJavaScriptDialogManager()); window 44 content/public/test/content_browser_test_utils.h void NavigateToURL(Shell* window, const GURL& url); window 48 content/public/test/content_browser_test_utils.h void NavigateToURLBlockUntilNavigationsComplete(Shell* window, window 53 content/public/test/content_browser_test_utils.h void WaitForAppModalDialog(Shell* window); window 76 content/public/test/content_browser_test_utils.h void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds); window 884 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::OnSetWindow(gfx::PluginWindowHandle window) { window 886 content/renderer/npapi/webplugin_delegate_proxy.cc uses_shared_bitmaps_ = !window && !uses_compositor_; window 888 content/renderer/npapi/webplugin_delegate_proxy.cc uses_shared_bitmaps_ = !window; window 890 content/renderer/npapi/webplugin_delegate_proxy.cc window_ = window; window 892 content/renderer/npapi/webplugin_delegate_proxy.cc plugin_->SetWindow(window); window 161 content/renderer/npapi/webplugin_delegate_proxy.h void OnSetWindow(gfx::PluginWindowHandle window); window 320 content/renderer/npapi/webplugin_impl.cc new_geometry.window = window_; window 393 content/renderer/npapi/webplugin_impl.cc move.window = window_; window 565 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::SetWindow(gfx::PluginWindowHandle window) { window 566 content/renderer/npapi/webplugin_impl.cc if (window) { window 568 content/renderer/npapi/webplugin_impl.cc window_ = window; window 585 content/renderer/npapi/webplugin_impl.cc render_frame_->GetRenderWidget()->routing_id(), window)); window 600 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::WillDestroyWindow(gfx::PluginWindowHandle window) { window 601 content/renderer/npapi/webplugin_impl.cc DCHECK_EQ(window, window_); window 606 content/renderer/npapi/webplugin_impl.cc render_frame_->GetRenderWidget()->routing_id(), window)); window 608 content/renderer/npapi/webplugin_impl.cc render_frame_->GetRenderWidget()->CleanupWindowInPluginMoves(window); window 100 content/renderer/npapi/webplugin_impl.h virtual void SetWindow(gfx::PluginWindowHandle window) OVERRIDE; window 102 content/renderer/npapi/webplugin_impl.h virtual void WillDestroyWindow(gfx::PluginWindowHandle window) OVERRIDE; window 137 content/renderer/npapi/webplugin_impl.h void ReparentPluginWindow(HWND window, HWND parent) { } window 1165 content/renderer/render_thread_impl.cc gfx::PluginWindowHandle window, window 394 content/renderer/render_thread_impl.h gfx::PluginWindowHandle window, window 2726 content/renderer/render_widget.cc if (plugin_window_moves_[i].window == move.window) { window 2740 content/renderer/render_widget.cc void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { window 2743 content/renderer/render_widget.cc if (i->window == window) { window 168 content/renderer/render_widget.h void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window); window 93 content/shell/android/java/src/org/chromium/content_shell/Shell.java public void initialize(long nativeShell, WindowAndroid window, ContentViewClient client) { window 95 content/shell/android/java/src/org/chromium/content_shell/Shell.java mWindow = window; window 78 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java public void setWindow(WindowAndroid window) { window 79 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java assert window != null; window 80 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java mWindow = window; window 81 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java mContentViewRenderView = new ContentViewRenderView(getContext(), window) { window 102 content/shell/browser/shell.h gfx::NativeWindow window() { return window_; } window 54 content/shell/browser/shell_aura.cc aura::Window* parent = platform_->host()->window(); window 300 content/shell/browser/shell_gtk.cc gboolean Shell::OnWindowDestroyed(GtkWidget* window) { window 71 content/shell/browser/shell_platform_data_aura.cc host_->window()->AddPreTargetHandler(this); window 72 content/shell/browser/shell_platform_data_aura.cc host_->window()->SetProperty(aura::client::kRootWindowInputMethodKey, window 77 content/shell/browser/shell_platform_data_aura.cc host_->window()->RemovePreTargetHandler(this); window 78 content/shell/browser/shell_platform_data_aura.cc host_->window()->SetProperty(aura::client::kRootWindowInputMethodKey, window 119 content/shell/browser/shell_platform_data_aura.cc host_->window()->SetLayoutManager(new FillLayout(host_->window())); window 122 content/shell/browser/shell_platform_data_aura.cc aura::client::SetFocusClient(host_->window(), focus_client_.get()); window 125 content/shell/browser/shell_platform_data_aura.cc new aura::client::DefaultActivationClient(host_->window())); window 127 content/shell/browser/shell_platform_data_aura.cc new aura::client::DefaultCaptureClient(host_->window())); window 129 content/shell/browser/shell_platform_data_aura.cc new aura::test::TestWindowTreeClient(host_->window())); window 516 content/shell/browser/shell_views.cc aura::Window* parent = platform_->host()->window(); window 605 content/shell/browser/webkit_test_controller.cc for (std::vector<Shell*>::iterator window = Shell::windows().begin(); window 606 content/shell/browser/webkit_test_controller.cc window != Shell::windows().end(); window 607 content/shell/browser/webkit_test_controller.cc ++window) { window 608 content/shell/browser/webkit_test_controller.cc WebContents* web_contents = (*window)->web_contents(); window 24 content/shell/tools/plugin/Tests/LeakWindowScriptableObject.cpp NPObject* window; window 25 content/shell/tools/plugin/Tests/LeakWindowScriptableObject.cpp if (NPN_GetValue(NPNVWindowNPObject, &window) != NPERR_NO_ERROR) { window 33 content/shell/tools/plugin/Tests/LeakWindowScriptableObject.cpp if (!NPN_GetProperty(window, self_name, &window_self_variant)) { window 49 content/shell/tools/plugin/Tests/LogNPPSetWindow.cpp NPError LogNPPSetWindow::NPP_SetWindow(NPWindow* window) window 53 content/shell/tools/plugin/Tests/LogNPPSetWindow.cpp window->window ? "non-NULL" : "NULL", window->x, window->y, window->width, window->height, window 54 content/shell/tools/plugin/Tests/LogNPPSetWindow.cpp window->clipRect.left, window->clipRect.top, window->clipRect.right, window->clipRect.bottom, window 55 content/shell/tools/plugin/Tests/LogNPPSetWindow.cpp window->type); window 79 content/shell/tools/plugin/Tests/NPPSetWindowCalledDuringDestruction.cpp NPError NPPSetWindowCalledDuringDestruction::NPP_SetWindow(NPWindow* window) window 88 content/shell/tools/plugin/Tests/NPPSetWindowCalledDuringDestruction.cpp if (window->window) window 48 content/shell/tools/plugin/Tests/PassDifferentNPPStruct.cpp virtual NPError NPP_SetWindow(NPWindow* window) OVERRIDE window 367 content/shell/tools/plugin/main.cpp NPError NPP_SetWindow(NPP instance, NPWindow *window) window 372 content/shell/tools/plugin/main.cpp obj->lastWindow = *window; window 375 content/shell/tools/plugin/main.cpp pluginLog(instance, "NPP_SetWindow: %d %d", (int)window->width, (int)window->height); window 394 content/shell/tools/plugin/main.cpp return obj->pluginTest->NPP_SetWindow(window); window 19 content/test/plugin/plugin_create_instance_in_paint.cc if (pNPWindow->window == NULL) window 43 content/test/plugin/plugin_create_instance_in_paint.cc HWND parent = reinterpret_cast<HWND>(pNPWindow->window); window 62 content/test/plugin/plugin_create_instance_in_paint.cc HWND window, UINT message, WPARAM wparam, LPARAM lparam) { window 66 content/test/plugin/plugin_create_instance_in_paint.cc (::GetProp(window, L"Plugin_Instance")); window 68 content/test/plugin/plugin_create_instance_in_paint.cc ::RemoveProp(window, L"Plugin_Instance"); window 76 content/test/plugin/plugin_create_instance_in_paint.cc return DefWindowProc(window, message, wparam, lparam); window 25 content/test/plugin/plugin_create_instance_in_paint.h HWND window, UINT message, WPARAM wparam, LPARAM lparam); window 74 content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc if (pNPWindow->window == NULL) window 99 content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc NPObject* window = NULL; window 100 content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc HostFunctions()->getvalue(id(), NPNVWindowNPObject, &window); window 107 content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc HostFunctions()->getproperty(id(), window, set_test_object_id, &func_var); window 21 content/test/plugin/plugin_delete_plugin_in_stream_test.cc if (pNPWindow->window == NULL) window 27 content/test/plugin/plugin_get_javascript_url2_test.cc if (pNPWindow->window == NULL) window 37 content/test/plugin/plugin_get_javascript_url_test.cc if (pNPWindow->window == NULL) window 48 content/test/plugin/plugin_get_javascript_url_test.cc HWND window_handle = reinterpret_cast<HWND>(pNPWindow->window); window 67 content/test/plugin/plugin_get_javascript_url_test.cc HWND window, UINT message, UINT_PTR timer_id, DWORD elapsed_time) { window 70 content/test/plugin/plugin_get_javascript_url_test.cc (::GetProp(window, L"Plugin_Instance")); window 73 content/test/plugin/plugin_get_javascript_url_test.cc ::RemoveProp(window, L"Plugin_Instance"); window 35 content/test/plugin/plugin_get_javascript_url_test.h static void CALLBACK TimerProc(HWND window, UINT message, UINT_PTR timer_id, window 98 content/test/plugin/plugin_geturl_test.cc if (pNPWindow->window == NULL) window 25 content/test/plugin/plugin_javascript_open_popup.cc NPWindow* window) { window 27 content/test/plugin/plugin_javascript_open_popup.cc if (window->window == NULL) window 48 content/test/plugin/plugin_javascript_open_popup.cc NPWindow* window) { window 50 content/test/plugin/plugin_javascript_open_popup.cc if (window->window == NULL) window 55 content/test/plugin/plugin_javascript_open_popup.cc if (CheckWindow(window)) { window 60 content/test/plugin/plugin_javascript_open_popup.cc return PluginTest::SetWindow(window); window 65 content/test/plugin/plugin_javascript_open_popup.cc NPWindow* window) { window 66 content/test/plugin/plugin_javascript_open_popup.cc HWND window_handle = reinterpret_cast<HWND>(window->window); window 83 content/test/plugin/plugin_javascript_open_popup.cc NPWindow* window) { window 84 content/test/plugin/plugin_javascript_open_popup.cc Window xwindow = reinterpret_cast<Window>(window->window); window 87 content/test/plugin/plugin_javascript_open_popup.cc static_cast<NPSetWindowCallbackStruct*>(window->ws_info); window 107 content/test/plugin/plugin_javascript_open_popup.cc NPWindow* window) { window 22 content/test/plugin/plugin_javascript_open_popup.h virtual NPError SetWindow(NPWindow* window) OVERRIDE; window 35 content/test/plugin/plugin_javascript_open_popup.h virtual NPError SetWindow(NPWindow* window) OVERRIDE; window 41 content/test/plugin/plugin_javascript_open_popup.h bool CheckWindow(NPWindow* window); window 54 content/test/plugin/plugin_npobject_identity_test.cc if (pNPWindow->window == NULL) window 62 content/test/plugin/plugin_npobject_identity_test.cc NPObject* window; window 63 content/test/plugin/plugin_npobject_identity_test.cc HostFunctions()->getvalue(id(), NPNVWindowNPObject, &window); window 65 content/test/plugin/plugin_npobject_identity_test.cc HostFunctions()->getproperty(id(), window, are_these_the_same_id, &func_var); window 25 content/test/plugin/plugin_npobject_lifetime_test.cc if (pNPWindow->window == NULL) window 28 content/test/plugin/plugin_npobject_lifetime_test.cc HWND window_handle = reinterpret_cast<HWND>(pNPWindow->window); window 42 content/test/plugin/plugin_npobject_lifetime_test.cc HWND window, UINT message, UINT_PTR timer_id, window 47 content/test/plugin/plugin_npobject_lifetime_test.cc (::GetProp(window, L"Plugin_Instance")); window 48 content/test/plugin/plugin_npobject_lifetime_test.cc KillTimer(window, this_instance->timer_id_); window 49 content/test/plugin/plugin_npobject_lifetime_test.cc ::RemoveProp(window, L"Plugin_Instance"); window 95 content/test/plugin/plugin_npobject_lifetime_test.cc if (pNPWindow->window == NULL) window 127 content/test/plugin/plugin_npobject_lifetime_test.cc if (np_window->window == NULL) window 130 content/test/plugin/plugin_npobject_lifetime_test.cc HWND window_handle = reinterpret_cast<HWND>(np_window->window); window 144 content/test/plugin/plugin_npobject_lifetime_test.cc HWND window, UINT message, UINT_PTR timer_id, window 147 content/test/plugin/plugin_npobject_lifetime_test.cc KillTimer(window, g_npn_evaluate_test_instance_->timer_id_); window 34 content/test/plugin/plugin_npobject_lifetime_test.h static void CALLBACK TimerProc(HWND window, UINT message, UINT_PTR timer_id, window 72 content/test/plugin/plugin_npobject_lifetime_test.h static void CALLBACK TimerProc(HWND window, UINT message, UINT_PTR timer_id, window 18 content/test/plugin/plugin_npobject_proxy_test.cc if (pNPWindow->window == NULL) window 27 content/test/plugin/plugin_request_read_test.cc NPError PluginRequestReadTest::SetWindow(NPWindow* window) { window 36 content/test/plugin/plugin_request_read_test.cc return PluginTest::SetWindow(window); window 28 content/test/plugin/plugin_request_read_test.h virtual NPError SetWindow(NPWindow* window) OVERRIDE; window 16 content/test/plugin/plugin_window_size_test.cc if (pNPWindow->window == NULL) window 19 content/test/plugin/plugin_window_size_test.cc HWND window = reinterpret_cast<HWND>(pNPWindow->window); window 20 content/test/plugin/plugin_window_size_test.cc if (!::IsWindow(window)) { window 33 content/test/plugin/plugin_window_size_test.cc ::GetClientRect(window, &client_rect); window 42 content/test/plugin/plugin_window_size_test.cc ::GetWindowRect(window, &window_rect_from_os); window 45 content/test/plugin/plugin_window_size_test.cc ::ScreenToClient(GetParent(window), &origin_from_os); window 23 content/test/plugin/plugin_windowed_test.cc if (pNPWindow->window == NULL) window 34 content/test/plugin/plugin_windowed_test.cc HWND parent = reinterpret_cast<HWND>(pNPWindow->window); window 124 content/test/plugin/plugin_windowed_test.cc HWND window, UINT message, WPARAM wparam, LPARAM lparam) { window 127 content/test/plugin/plugin_windowed_test.cc (::GetProp(window, L"Plugin_Instance")); window 131 content/test/plugin/plugin_windowed_test.cc HDC hdc = BeginPaint(window, &ps); window 135 content/test/plugin/plugin_windowed_test.cc GetClientRect(window, &r); window 138 content/test/plugin/plugin_windowed_test.cc EndPaint(window, &ps); window 164 content/test/plugin/plugin_windowed_test.cc ::RemoveProp(window, L"Plugin_Instance"); window 168 content/test/plugin/plugin_windowed_test.cc return DefWindowProc(window, message, wparam, lparam); window 21 content/test/plugin/plugin_windowed_test.h HWND window, UINT message, WPARAM wparam, LPARAM lparam); window 59 gpu/command_buffer/client/gl_in_process_context.cc gfx::AcceleratedWidget window, window 127 gpu/command_buffer/client/gl_in_process_context.cc gfx::AcceleratedWidget window, window 229 gpu/command_buffer/client/gl_in_process_context.cc window, window 318 gpu/command_buffer/client/gl_in_process_context.cc gfx::AcceleratedWidget window, window 330 gpu/command_buffer/client/gl_in_process_context.cc window, window 57 gpu/command_buffer/client/gl_in_process_context.h gfx::AcceleratedWidget window, window 263 gpu/command_buffer/service/in_process_command_buffer.cc gfx::AcceleratedWidget window, window 281 gpu/command_buffer/service/in_process_command_buffer.cc window, window 359 gpu/command_buffer/service/in_process_command_buffer.cc surface_ = gfx::GLSurface::CreateViewGLSurface(params.window); window 75 gpu/command_buffer/service/in_process_command_buffer.h gfx::AcceleratedWidget window, window 145 gpu/command_buffer/service/in_process_command_buffer.h gfx::AcceleratedWidget window; window 153 gpu/command_buffer/service/in_process_command_buffer.h gfx::AcceleratedWidget window, window 160 gpu/command_buffer/service/in_process_command_buffer.h window(window), window 43 gpu/command_buffer/tests/gl_unittests_android.cc gfx::AcceleratedWidget window = surface_texture->CreateSurface(); window 44 gpu/command_buffer/tests/gl_unittests_android.cc EXPECT_TRUE(window != NULL); window 47 gpu/command_buffer/tests/gl_unittests_android.cc gfx::GLSurface::CreateViewGLSurface(window); window 60 gpu/command_buffer/tests/gl_unittests_android.cc ANativeWindow_release(window); window 19 gpu/gles2_conform_support/egl/surface.h EGLNativeWindowType window() { return window_; } window 32 gpu/gles2_conform_support/native/egl_native_gtk.cc GdkWindow* window = gdk_window_lookup(nativeWindow); window 34 gpu/gles2_conform_support/native/egl_native_gtk.cc gdk_window_get_user_data(window, &widget); window 58 gpu/gles2_conform_support/native/egl_native_gtk.cc *pNativeWindow = GDK_WINDOW_XWINDOW(hwnd->window); window 215 media/base/sinc_resampler.cc const float window = window 217 media/base/sinc_resampler.cc kernel_window_storage_[idx] = window; window 222 media/base/sinc_resampler.cc kernel_storage_[idx] = sinc_scale_factor * window; window 225 media/base/sinc_resampler.cc window * sin(sinc_scale_factor * pre_sinc) / pre_sinc; window 245 media/base/sinc_resampler.cc const float window = kernel_window_storage_[idx]; window 249 media/base/sinc_resampler.cc kernel_storage_[idx] = sinc_scale_factor * window; window 252 media/base/sinc_resampler.cc window * sin(sinc_scale_factor * pre_sinc) / pre_sinc; window 261 media/filters/wsola_internals.cc void GetSymmetricHanningWindow(int window_length, float* window) { window 264 media/filters/wsola_internals.cc window[n] = 0.5f * (1.0f - cosf(n * scale)); window 81 media/filters/wsola_internals.h MEDIA_EXPORT void GetSymmetricHanningWindow(int window_length, float* window); window 18 media/tools/player_x11/gl_video_renderer.cc static GLXContext InitGLContext(Display* display, Window window) { window 29 media/tools/player_x11/gl_video_renderer.cc XGetWindowAttributes(display, window, &attributes); window 47 media/tools/player_x11/gl_video_renderer.cc if (!glXMakeCurrent(display, window, context)) { window 103 media/tools/player_x11/gl_video_renderer.cc GlVideoRenderer::GlVideoRenderer(Display* display, Window window) window 105 media/tools/player_x11/gl_video_renderer.cc window_(window), window 20 media/tools/player_x11/gl_video_renderer.h GlVideoRenderer(Display* display, Window window); window 196 media/tools/player_x11/player_x11.cc Window window; window 201 media/tools/player_x11/player_x11.cc &window, window 71 media/tools/player_x11/x11_video_renderer.cc X11VideoRenderer::X11VideoRenderer(Display* display, Window window) window 73 media/tools/player_x11/x11_video_renderer.cc window_(window), window 21 media/tools/player_x11/x11_video_renderer.h X11VideoRenderer(Display* display, Window window); window 73 mojo/examples/aura_demo/aura_demo.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} window 74 mojo/examples/aura_demo/aura_demo.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {} window 87 mojo/examples/aura_demo/aura_demo.cc explicit DemoWindowTreeClient(aura::Window* window) : window_(window) { window 97 mojo/examples/aura_demo/aura_demo.cc aura::Window* window, window 136 mojo/examples/aura_demo/aura_demo.cc new DemoWindowTreeClient(window_tree_host_->window())); window 143 mojo/examples/aura_demo/aura_demo.cc window_tree_host_->window()->AddChild(window1_); window 150 mojo/examples/aura_demo/aura_demo.cc window_tree_host_->window()->AddChild(window2_); window 49 mojo/examples/aura_demo/demo_screen.cc gfx::NativeWindow window) const { window 65 mojo/examples/aura_demo/window_tree_host_mojo.cc window()->Show(); window 71 mojo/examples/aura_demo/window_tree_host_mojo.cc window()->Hide(); window 161 mojo/examples/aura_demo/window_tree_host_mojo.cc window()->SetBounds(gfx::Rect(bounds_.size())); window 113 mojo/examples/launcher/launcher.cc explicit LauncherWindowTreeClient(aura::Window* window) : window_(window) { window 123 mojo/examples/launcher/launcher.cc aura::Window* window, window 242 mojo/examples/launcher/launcher.cc window_tree_host_->window()->SetBounds(gfx::Rect(450, 60)); window 245 mojo/examples/launcher/launcher.cc aura::client::SetFocusClient(window_tree_host_->window(), window 248 mojo/examples/launcher/launcher.cc new aura::client::DefaultActivationClient(window_tree_host_->window())); window 250 mojo/examples/launcher/launcher.cc new aura::client::DefaultCaptureClient(window_tree_host_->window())); window 251 mojo/examples/launcher/launcher.cc ime_filter_.reset(new MinimalInputEventFilter(window_tree_host_->window())); window 254 mojo/examples/launcher/launcher.cc new LauncherWindowTreeClient(window_tree_host_->window())); window 256 mojo/examples/launcher/launcher.cc launcher_controller_.InitInWindow(window_tree_host_->window()); window 247 net/quic/crypto/strike_register_test.cc uint32 current_time = 10000, window = 200; window 249 net/quic/crypto/strike_register_test.cc new StrikeRegister(max_entries, current_time, window, kOrbit, window 252 net/quic/crypto/strike_register_test.cc new SlowStrikeRegister(max_entries, current_time, window, kOrbit)); window 264 net/quic/crypto/strike_register_test.cc window = rand() % 500; window 265 net/quic/crypto/strike_register_test.cc s1.reset(new StrikeRegister(max_entries, current_time, window, kOrbit, window 268 net/quic/crypto/strike_register_test.cc new SlowStrikeRegister(max_entries, current_time, window, kOrbit)); window 271 net/quic/crypto/strike_register_test.cc int32 time_delta = rand() % (window * 4); window 272 net/quic/crypto/strike_register_test.cc time_delta -= window * 2; window 396 net/quic/quic_config.cc void QuicConfig::set_peer_initial_flow_control_window_bytes(uint32 window) { window 397 net/quic/quic_config.cc peer_initial_flow_control_window_bytes_.set_value(window); window 235 net/quic/quic_config.h void set_peer_initial_flow_control_window_bytes(uint32 window); window 201 net/tools/quic/end_to_end_test.cc void set_client_initial_flow_control_receive_window(uint32 window) { window 203 net/tools/quic/end_to_end_test.cc DVLOG(1) << "Setting client initial flow control window: " << window; window 204 net/tools/quic/end_to_end_test.cc client_initial_flow_control_receive_window_ = window; window 207 net/tools/quic/end_to_end_test.cc void set_server_initial_flow_control_receive_window(uint32 window) { window 209 net/tools/quic/end_to_end_test.cc DVLOG(1) << "Setting server initial flow control window: " << window; window 210 net/tools/quic/end_to_end_test.cc server_initial_flow_control_receive_window_ = window; window 125 ppapi/tests/test_url_util.cc pp::VarPrivate window = instance_->GetWindowObject(); window 126 ppapi/tests/test_url_util.cc pp::Var href = window.GetProperty("location").GetProperty("href"); window 144 ppapi/tests/test_url_util.cc pp::VarPrivate window = instance_->GetWindowObject(); window 145 ppapi/tests/test_url_util.cc pp::Var href = window.GetProperty("location").GetProperty("href"); window 296 ppapi/tests/test_var_deprecated.cc pp::VarPrivate window = instance_->GetWindowObject(); window 297 ppapi/tests/test_var_deprecated.cc ASSERT_TRUE(window.is_object()); window 301 ppapi/tests/test_var_deprecated.cc ASSERT_TRUE(window.HasProperty("scrollX", &exception)); window 303 ppapi/tests/test_var_deprecated.cc ASSERT_FALSE(window.HasMethod("scrollX", &exception)); window 307 ppapi/tests/test_var_deprecated.cc ASSERT_TRUE(window.HasProperty("find", &exception)); window 309 ppapi/tests/test_var_deprecated.cc ASSERT_TRUE(window.HasMethod("find", &exception)); window 313 ppapi/tests/test_var_deprecated.cc ASSERT_FALSE(window.HasProperty("superEvilBit", &exception)); window 315 ppapi/tests/test_var_deprecated.cc ASSERT_FALSE(window.HasMethod("superEvilBit", &exception)); window 319 ppapi/tests/test_var_deprecated.cc ASSERT_FALSE(window.HasProperty(3.14159, &exception)); window 324 ppapi/tests/test_var_deprecated.cc ASSERT_FALSE(window.HasMethod(3.14159, &exception)); window 356 ppapi/tests/test_var_deprecated.cc ASSERT_FALSE(window.HasProperty("find", &exception)); window 358 ppapi/tests/test_var_deprecated.cc ASSERT_FALSE(window.HasMethod("find", &exception)); window 41 printing/printing_context_win.cc HWND window = NULL; window 44 printing/printing_context_win.cc window = view->GetHost()->GetAcceleratedWidget(); window 47 printing/printing_context_win.cc window = GetAncestor(view, GA_ROOTOWNER); window 50 printing/printing_context_win.cc if (!window) { window 54 printing/printing_context_win.cc return window; window 198 printing/printing_context_win.cc HWND window = GetRootWindow(view); window 199 printing/printing_context_win.cc DCHECK(window); window 211 printing/printing_context_win.cc dialog_options.hwndOwner = window; window 76 remoting/host/desktop_resizer_linux.cc bool Refresh(Display* display, Window window) { window 78 remoting/host/desktop_resizer_linux.cc resources_ = XRRGetScreenResources(display, window); window 37 remoting/host/desktop_shape_tracker_win.cc static BOOL CALLBACK EnumWindowsCallback(HWND window, LPARAM lparam); window 94 remoting/host/desktop_shape_tracker_win.cc BOOL DesktopShapeTrackerWin::EnumWindowsCallback(HWND window, LPARAM lparam) { window 100 remoting/host/desktop_shape_tracker_win.cc if (!IsWindow(window) || !IsWindowVisible(window) || IsIconic(window)) window 105 remoting/host/desktop_shape_tracker_win.cc if (!GetWindowRect(window, &window_rect)) window 110 remoting/host/desktop_shape_tracker_win.cc if (GetWindowRgn(window, window_region) != ERROR) { window 94 remoting/host/disconnect_window_linux.cc GtkWindow* window = GTK_WINDOW(disconnect_window_); window 98 remoting/host/disconnect_window_linux.cc gtk_window_set_title(window, window 100 remoting/host/disconnect_window_linux.cc gtk_window_set_resizable(window, FALSE); window 103 remoting/host/disconnect_window_linux.cc gtk_window_stick(window); window 104 remoting/host/disconnect_window_linux.cc gtk_window_set_keep_above(window, TRUE); window 107 remoting/host/disconnect_window_linux.cc gtk_window_set_decorated(window, FALSE); window 111 remoting/host/disconnect_window_linux.cc gtk_window_set_type_hint(window, GDK_WINDOW_TYPE_HINT_UTILITY); window 112 remoting/host/disconnect_window_linux.cc gtk_window_set_deletable(window, FALSE); window 137 remoting/host/disconnect_window_linux.cc gtk_container_add(GTK_CONTAINER(window), align); window 168 remoting/host/disconnect_window_linux.cc gtk_window_present(window); window 178 remoting/host/disconnect_window_linux.cc gboolean DisconnectWindowGtk::OnDelete(GtkWidget* window, window 220 remoting/host/disconnect_window_linux.cc gdk_window_shape_combine_mask(widget->window, shape_mask, 0, 0); window 268 remoting/host/disconnect_window_linux.cc gdk_window_set_back_pixmap(widget->window, background, FALSE); window 270 remoting/host/disconnect_window_linux.cc gdk_window_invalidate_rect(widget->window, NULL, TRUE); window 111 remoting/host/linux/x_server_clipboard.cc event->xany.window != clipboard_window_) { window 930 remoting/host/plugin/host_script_object.cc daemon_controller_->SetWindow(np_window->window); window 208 remoting/host/sas_injector_win.cc HWND window = FindWindow(kSasWindowClassName, kSasWindowTitle); window 209 remoting/host/sas_injector_win.cc if (!window) { window 215 remoting/host/sas_injector_win.cc if (PostMessage(window, window 389 remoting/host/setup/daemon_installer_win.cc HWND GetTopLevelWindow(HWND window) { window 390 remoting/host/setup/daemon_installer_win.cc if (window == NULL) { window 395 remoting/host/setup/daemon_installer_win.cc LONG style = GetWindowLong(window, GWL_STYLE); window 398 remoting/host/setup/daemon_installer_win.cc return window; window 401 remoting/host/setup/daemon_installer_win.cc HWND parent = GetAncestor(window, GA_PARENT); window 403 remoting/host/setup/daemon_installer_win.cc return window; window 406 remoting/host/setup/daemon_installer_win.cc window = parent; window 48 remoting/host/setup/daemon_installer_win.h HWND GetTopLevelWindow(HWND window); window 326 remoting/host/win/host_service.cc base::win::MessageWindow window; window 327 remoting/host/win/host_service.cc if (!window.Create(base::Bind(&HostService::HandleMessage, window 335 remoting/host/win/host_service.cc if (WTSRegisterSessionNotification(window.hwnd(), window 347 remoting/host/win/host_service.cc WTSUnRegisterSessionNotification(window.hwnd()); window 523 remoting/host/win/rdp_client_window.cc HWND window = reinterpret_cast<HWND>(wparam); window 524 remoting/host/win/rdp_client_window.cc LOG(WARNING) << "RDP: closing a window: " << std::hex << window << std::dec; window 525 remoting/host/win/rdp_client_window.cc ::PostMessage(window, WM_CLOSE, 0, 0); window 84 sandbox/win/sandbox_poc/main_ui_window.cc HWND window = ::CreateWindowW(window_class.lpszClassName, window 96 sandbox/win/sandbox_poc/main_ui_window.cc if (NULL == window) window 99 sandbox/win/sandbox_poc/main_ui_window.cc ::SetWindowLongPtr(window, window 103 sandbox/win/sandbox_poc/main_ui_window.cc ::SetWindowText(window, L"Sandbox Proof of Concept"); window 105 sandbox/win/sandbox_poc/main_ui_window.cc ::ShowWindow(window, show_command); window 118 sandbox/win/sandbox_poc/main_ui_window.cc LRESULT CALLBACK MainUIWindow::WndProc(HWND window, window 122 sandbox/win/sandbox_poc/main_ui_window.cc MainUIWindow* host = FromWindow(window); window 130 sandbox/win/sandbox_poc/main_ui_window.cc return HANDLE_WM_CREATE(window, wparam, lparam, OnCreate); window 132 sandbox/win/sandbox_poc/main_ui_window.cc return HANDLE_WM_DESTROY(window, wparam, lparam, host->OnDestroy); window 134 sandbox/win/sandbox_poc/main_ui_window.cc return HANDLE_WM_SIZE(window, wparam, lparam, host->OnSize); window 143 sandbox/win/sandbox_poc/main_ui_window.cc host->OnCommandsLaunch(window); window 158 sandbox/win/sandbox_poc/main_ui_window.cc return DefWindowProc(window, message_id, wparam, lparam); window 274 sandbox/win/sandbox_poc/main_ui_window.cc void MainUIWindow::OnDestroy(HWND window) { window 275 sandbox/win/sandbox_poc/main_ui_window.cc UNREFERENCED_PARAMETER(window); window 282 sandbox/win/sandbox_poc/main_ui_window.cc void MainUIWindow::OnSize(HWND window, UINT state, int cx, int cy) { window 283 sandbox/win/sandbox_poc/main_ui_window.cc UNREFERENCED_PARAMETER(window); window 298 sandbox/win/sandbox_poc/main_ui_window.cc void MainUIWindow::OnPaint(HWND window) { window 300 sandbox/win/sandbox_poc/main_ui_window.cc ::BeginPaint(window, &paintstruct); window 302 sandbox/win/sandbox_poc/main_ui_window.cc ::EndPaint(window, &paintstruct); window 309 sandbox/win/sandbox_poc/main_ui_window.cc void MainUIWindow::OnCommandsLaunch(HWND window) { window 313 sandbox/win/sandbox_poc/main_ui_window.cc window, window 73 sandbox/win/sandbox_poc/main_ui_window.h static LRESULT CALLBACK WndProc(HWND window, window 95 sandbox/win/sandbox_poc/main_ui_window.h void OnDestroy(HWND window); window 98 sandbox/win/sandbox_poc/main_ui_window.h void OnSize(HWND window, UINT state, int cx, int cy); window 101 sandbox/win/sandbox_poc/main_ui_window.h void OnPaint(HWND window); window 107 sandbox/win/sandbox_poc/main_ui_window.h void OnCommandsLaunch(HWND window); window 86 sandbox/win/sandbox_poc/sandbox.cc MainUIWindow window; window 87 sandbox/win/sandbox_poc/sandbox.cc window.CreateMainWindowAndLoop(instance, window 79 sandbox/win/tests/validation_tests/commands.cc HWND window = reinterpret_cast<HWND>(static_cast<ULONG_PTR>(_wtoi(argv[0]))); window 81 sandbox/win/tests/validation_tests/commands.cc return TestValidWindow(window); window 84 sandbox/win/tests/validation_tests/commands.cc int TestValidWindow(HWND window) { window 85 sandbox/win/tests/validation_tests/commands.cc if (::IsWindow(window)) window 15 sandbox/win/tests/validation_tests/commands.h int TestValidWindow(HWND window); window 153 sync/protocol/proto_value_conversions.cc SET_REP(window, SessionWindowToValue); window 484 third_party/khronos/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV( EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType* window); window 488 third_party/khronos/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC)(EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); window 54 third_party/libva/va/x11/va_dri2.h VA_DRI2Connect(Display *display, XID window, window 57 third_party/libva/va/x11/va_dri2.h VA_DRI2Authenticate(Display *display, XID window, drm_magic_t magic); window 93 third_party/libva/va/x11/va_dri2str.h CARD32 window B32; window 116 third_party/libva/va/x11/va_dri2str.h CARD32 window B32; window 490 third_party/npapi/bindings/npapi.h void* window; /* Platform specific window handle */ window 530 third_party/npapi/bindings/npapi.h NPWindow window; window 629 third_party/npapi/bindings/npapi.h void *window; /* A WindowRef under the Carbon event model. */ window 641 third_party/npapi/bindings/npapi.h NPNSWindow *window; window 643 third_party/npapi/bindings/npapi.h void *window; /* Can be either an NSWindow or a WindowRef depending on the event model */ window 831 third_party/npapi/bindings/npapi.h NPError NP_LOADDS NPP_SetWindow(NPP instance, NPWindow* window); window 53 third_party/npapi/bindings/npfunctions.h typedef NPError (* NP_LOADDS NPP_SetWindowProcPtr)(NPP instance, NPWindow* window); window 74 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_GetURLNotifyProcPtr)(NPP instance, const char* url, const char* window, void* notifyData); window 75 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_PostURLNotifyProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file, void* notifyData); window 76 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_GetURLProcPtr)(NPP instance, const char* url, const char* window); window 77 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_PostURLProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file); window 79 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char* window, NPStream** stream); window 281 third_party/npapi/npspy/common/epmanager.cpp NPError NPPEntryPointManager::callNPP_SetWindow(NPP instance, NPWindow* window) window 287 third_party/npapi/npspy/common/epmanager.cpp return CallNPP_SetWindowProc(nppfuncs->setwindow, instance, window); window 1012 third_party/npapi/npspy/common/format.cpp ((NPWindow*)plis->arg2.pData)->window, window 95 third_party/npapi/npspy/common/npn_gate.cpp NPError NPN_PostURLNotify(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData) window 102 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_post_url_notify, (DWORD)instance, (DWORD)url, (DWORD)window, (DWORD)len, (DWORD)buf, (DWORD)file, (DWORD)notifyData); window 105 third_party/npapi/npspy/common/npn_gate.cpp rv = NPNFuncs.posturlnotify(instance, url, window, len, buf, file, notifyData); window 115 third_party/npapi/npspy/common/npn_gate.cpp NPError NPN_PostURL(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file) window 118 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_post_url, (DWORD)instance, (DWORD)url, (DWORD)window, (DWORD)len, (DWORD)buf, (DWORD)file); window 120 third_party/npapi/npspy/common/npn_gate.cpp NPError rv = NPNFuncs.posturl(instance, url, window, len, buf, file); window 470 third_party/npapi/npspy/extern/plugin/npapi.h void* window; /* Platform specific window handle */ window 495 third_party/npapi/npspy/extern/plugin/npapi.h NPWindow window; window 560 third_party/npapi/npspy/extern/plugin/npapi.h WindowRef window; window 688 third_party/npapi/npspy/extern/plugin/npapi.h NPError NP_LOADDS NPP_SetWindow(NPP instance, NPWindow* window); window 103 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPP_SetWindowUPP)(NPP instance, NPWindow* window); window 199 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_GetURLNotifyUPP)(NPP instance, const char* url, const char* window, void* notifyData); window 206 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_PostURLNotifyUPP)(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData); window 213 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_GetURLUPP)(NPP instance, const char* url, const char* window); window 220 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_PostURLUPP)(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file); window 234 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_NewStreamUPP)(NPP instance, NPMIMEType type, const char* window, NPStream** stream); window 237 third_party/npapi/npspy/extern/plugin/npupp.h #define CallNPN_NewStreamProc(FUNC, npp, type, window, stream) \ window 238 third_party/npapi/npspy/extern/plugin/npupp.h (*(FUNC))((npp), (type), (window), (stream)) window 92 third_party/npapi/npspy/include/epmanager.h NPError callNPP_SetWindow(NPP instance, NPWindow* window); window 180 third_party/zlib/deflate.c (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ window 185 third_party/zlib/deflate.c (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ window 282 third_party/zlib/deflate.c s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); window 297 third_party/zlib/deflate.c if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL || window 339 third_party/zlib/deflate.c zmemcpy(s->window, dictionary, length); window 347 third_party/zlib/deflate.c s->ins_h = s->window[0]; window 348 third_party/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[1]); window 940 third_party/zlib/deflate.c TRY_FREE(strm, strm->state->window); window 980 third_party/zlib/deflate.c ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); window 986 third_party/zlib/deflate.c if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL || window 992 third_party/zlib/deflate.c zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte)); window 1144 third_party/zlib/deflate.c register Bytef *scan = s->window + s->strstart; /* current string */ window 1161 third_party/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1; window 1165 third_party/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH; window 1188 third_party/zlib/deflate.c match = s->window + cur_match; window 1228 third_party/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); window 1266 third_party/zlib/deflate.c class_at(s, match - s->window) == clas && window 1270 third_party/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); window 1308 third_party/zlib/deflate.c Bytef *str = s->window + start; window 1327 third_party/zlib/deflate.c if (s->window[start+i] != s->window[cookie_location+i] || window 1335 third_party/zlib/deflate.c if (s->window[cookie_location+len-1] != ';' && window 1357 third_party/zlib/deflate.c register Bytef *scan = s->window + s->strstart; /* current string */ window 1360 third_party/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH; window 1373 third_party/zlib/deflate.c match = s->window + cur_match; window 1398 third_party/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); window 1420 third_party/zlib/deflate.c if (zmemcmp(s->window + match, window 1421 third_party/zlib/deflate.c s->window + start, length) != EQUAL) { window 1425 third_party/zlib/deflate.c fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); window 1431 third_party/zlib/deflate.c do { putc(s->window[start++], stderr); } while (--length != 0); window 1477 third_party/zlib/deflate.c zmemcpy(s->window, s->window+wsize, (unsigned)wsize); window 1538 third_party/zlib/deflate.c n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); window 1546 third_party/zlib/deflate.c s->ins_h = s->window[s->strstart]; window 1547 third_party/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); window 1576 third_party/zlib/deflate.c zmemzero(s->window + curr, (unsigned)init); window 1587 third_party/zlib/deflate.c zmemzero(s->window + s->high_water, (unsigned)init); window 1599 third_party/zlib/deflate.c (charf *)&s->window[(unsigned)s->block_start] : \ window 1756 third_party/zlib/deflate.c s->ins_h = s->window[s->strstart]; window 1757 third_party/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); window 1767 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); window 1768 third_party/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); window 1875 third_party/zlib/deflate.c *(s->window + s->prev_match-1) == ';')))) { window 1907 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart-1])); window 1908 third_party/zlib/deflate.c _tr_tally_lit(s, s->window[s->strstart-1], bflush); window 1926 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart-1])); window 1927 third_party/zlib/deflate.c _tr_tally_lit(s, s->window[s->strstart-1], bflush); window 1964 third_party/zlib/deflate.c scan = s->window + s->strstart - 1; window 1967 third_party/zlib/deflate.c strend = s->window + s->strstart + MAX_MATCH; window 1991 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); window 1992 third_party/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); window 2025 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); window 2026 third_party/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); window 116 third_party/zlib/deflate.h Bytef *window; window 28 third_party/zlib/infback.c int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size) window 31 third_party/zlib/infback.c unsigned char FAR *window; window 40 third_party/zlib/infback.c if (strm == Z_NULL || window == Z_NULL || window 57 third_party/zlib/infback.c state->window = window; window 204 third_party/zlib/infback.c put = state->window; \ window 277 third_party/zlib/infback.c put = state->window; window 602 third_party/zlib/infback.c if (out(out_desc, state->window, state->wsize - left)) window 83 third_party/zlib/inffast.c unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */ window 110 third_party/zlib/inffast.c window = state->window; window 216 third_party/zlib/inffast.c from = window - OFF; window 235 third_party/zlib/inffast.c from = window - OFF; window 157 third_party/zlib/inflate.c if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { window 158 third_party/zlib/inflate.c ZFREE(strm, state->window); window 159 third_party/zlib/inflate.c state->window = Z_NULL; window 192 third_party/zlib/inflate.c state->window = Z_NULL; window 368 third_party/zlib/inflate.c if (state->window == Z_NULL) { window 369 third_party/zlib/inflate.c state->window = (unsigned char FAR *) window 372 third_party/zlib/inflate.c if (state->window == Z_NULL) return 1; window 385 third_party/zlib/inflate.c zmemcpy(state->window, strm->next_out - state->wsize, state->wsize); window 392 third_party/zlib/inflate.c zmemcpy(state->window + state->wnext, strm->next_out - copy, dist); window 395 third_party/zlib/inflate.c zmemcpy(state->window, strm->next_out - copy, copy); window 1135 third_party/zlib/inflate.c from = state->window + (state->wsize - copy); window 1138 third_party/zlib/inflate.c from = state->window + (state->wnext - copy); window 1245 third_party/zlib/inflate.c if (state->window != Z_NULL) ZFREE(strm, state->window); window 1280 third_party/zlib/inflate.c zmemcpy(state->window, dictionary + dictLength - state->wsize, window 1285 third_party/zlib/inflate.c zmemcpy(state->window + state->wsize - dictLength, dictionary, window 1412 third_party/zlib/inflate.c unsigned char FAR *window; window 1425 third_party/zlib/inflate.c window = Z_NULL; window 1426 third_party/zlib/inflate.c if (state->window != Z_NULL) { window 1427 third_party/zlib/inflate.c window = (unsigned char FAR *) window 1429 third_party/zlib/inflate.c if (window == Z_NULL) { window 1444 third_party/zlib/inflate.c if (window != Z_NULL) { window 1446 third_party/zlib/inflate.c zmemcpy(window, state->window, wsize); window 1448 third_party/zlib/inflate.c copy->window = window; window 96 third_party/zlib/inflate.h unsigned char FAR *window; /* allocated sliding window, if needed */ window 1548 third_party/zlib/zlib.h unsigned char FAR *window, window 1560 third_party/zlib/zlib.h #define inflateBackInit(strm, windowBits, window) \ window 1561 third_party/zlib/zlib.h inflateBackInit_((strm), (windowBits), (window), \ window 56 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java private void selectFile(String[] fileTypes, boolean capture, WindowAndroid window) { window 72 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java if (window.showIntent(camera, this, R.string.low_memory_error)) return; window 74 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java if (window.showIntent(camcorder, this, R.string.low_memory_error)) return; window 76 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java if (window.showIntent(soundRecorder, this, R.string.low_memory_error)) return; window 111 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java if (!window.showIntent(chooser, this, R.string.low_memory_error)) { window 166 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java public void onIntentCompleted(WindowAndroid window, int resultCode, window 181 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java window.sendBroadcast(new Intent( window 201 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java window.showError(R.string.opening_file_error); window 229 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java public void onIntentCompleted(WindowAndroid window, int resultCode, window 256 ui/app_list/views/app_list_view.cc gfx::NativeWindow window = window 258 ui/app_list/views/app_list_view.cc return window->GetHost()->GetAcceleratedWidget(); window 315 ui/app_list/views/app_list_view.cc aura::Window* window = GetWidget()->GetNativeWindow(); window 316 ui/app_list/views/app_list_view.cc window->layer()->SetMasksToBounds(true); window 321 ui/app_list/views/app_list_view.cc window->SetEventTargeter(scoped_ptr<ui::EventTargeter>( window 317 ui/aura/bench/bench_main.cc host->window(), window 318 ui/aura/bench/bench_main.cc new aura::client::DefaultCaptureClient(host->window())); window 322 ui/aura/bench/bench_main.cc aura::client::SetFocusClient(host->window(), focus_client.get()); window 326 ui/aura/bench/bench_main.cc background.SetBounds(host->window()->bounds()); window 327 ui/aura/bench/bench_main.cc host->window()->layer()->Add(&background); window 329 ui/aura/bench/bench_main.cc ColoredLayer window(SK_ColorBLUE); window 330 ui/aura/bench/bench_main.cc window.SetBounds(gfx::Rect(background.bounds().size())); window 331 ui/aura/bench/bench_main.cc background.Add(&window); window 338 ui/aura/bench/bench_main.cc gfx::Rect bounds(window.bounds().size()); window 341 ui/aura/bench/bench_main.cc window.Add(&content_layer); window 361 ui/aura/bench/bench_main.cc ui::PrintLayerHierarchy(host->window()->layer(), gfx::Point(100, 100)); window 27 ui/aura/client/capture_client.cc Window* GetCaptureWindow(Window* window) { window 28 ui/aura/client/capture_client.cc Window* root_window = window->GetRootWindow(); window 19 ui/aura/client/capture_client.h virtual void SetCapture(Window* window) = 0; window 22 ui/aura/client/capture_client.h virtual void ReleaseCapture(Window* window) = 0; window 45 ui/aura/client/capture_client.h AURA_EXPORT Window* GetCaptureWindow(Window* window); window 19 ui/aura/client/cursor_client.cc void SetCursorClient(Window* window, CursorClient* client) { window 20 ui/aura/client/cursor_client.cc window->SetProperty(kCursorClientKey, client); window 23 ui/aura/client/cursor_client.cc CursorClient* GetCursorClient(Window* window) { window 24 ui/aura/client/cursor_client.cc return window->GetProperty(kCursorClientKey); window 88 ui/aura/client/cursor_client.h AURA_EXPORT void SetCursorClient(Window* window, window 90 ui/aura/client/cursor_client.h AURA_EXPORT CursorClient* GetCursorClient(Window* window); window 41 ui/aura/client/default_activation_client.cc void DefaultActivationClient::ActivateWindow(Window* window) { window 43 ui/aura/client/default_activation_client.cc if (last_active == window) window 47 ui/aura/client/default_activation_client.cc RemoveActiveWindow(window); window 48 ui/aura/client/default_activation_client.cc active_windows_.push_back(window); window 49 ui/aura/client/default_activation_client.cc window->parent()->StackChildAtTop(window); window 50 ui/aura/client/default_activation_client.cc window->AddObserver(this); window 54 ui/aura/client/default_activation_client.cc OnWindowActivated(window, last_active)); window 59 ui/aura/client/default_activation_client.cc observer->OnWindowActivated(window, last_active); window 60 ui/aura/client/default_activation_client.cc observer = aura::client::GetActivationChangeObserver(window); window 62 ui/aura/client/default_activation_client.cc observer->OnWindowActivated(window, last_active); window 65 ui/aura/client/default_activation_client.cc void DefaultActivationClient::DeactivateWindow(Window* window) { window 67 ui/aura/client/default_activation_client.cc aura::client::GetActivationChangeObserver(window); window 69 ui/aura/client/default_activation_client.cc observer->OnWindowActivated(NULL, window); window 80 ui/aura/client/default_activation_client.cc Window* DefaultActivationClient::GetActivatableWindow(Window* window) { window 84 ui/aura/client/default_activation_client.cc Window* DefaultActivationClient::GetToplevelWindow(Window* window) { window 88 ui/aura/client/default_activation_client.cc bool DefaultActivationClient::OnWillFocusWindow(Window* window, window 93 ui/aura/client/default_activation_client.cc bool DefaultActivationClient::CanActivateWindow(Window* window) const { window 100 ui/aura/client/default_activation_client.cc void DefaultActivationClient::OnWindowDestroyed(Window* window) { window 101 ui/aura/client/default_activation_client.cc if (window == last_active_) window 104 ui/aura/client/default_activation_client.cc if (window == GetActiveWindow()) { window 114 ui/aura/client/default_activation_client.cc RemoveActiveWindow(window); window 117 ui/aura/client/default_activation_client.cc void DefaultActivationClient::RemoveActiveWindow(Window* window) { window 119 ui/aura/client/default_activation_client.cc if (active_windows_[i] == window) { window 121 ui/aura/client/default_activation_client.cc window->RemoveObserver(this); window 37 ui/aura/client/default_activation_client.h virtual void ActivateWindow(Window* window) OVERRIDE; window 38 ui/aura/client/default_activation_client.h virtual void DeactivateWindow(Window* window) OVERRIDE; window 40 ui/aura/client/default_activation_client.h virtual Window* GetActivatableWindow(Window* window) OVERRIDE; window 41 ui/aura/client/default_activation_client.h virtual Window* GetToplevelWindow(Window* window) OVERRIDE; window 42 ui/aura/client/default_activation_client.h virtual bool OnWillFocusWindow(Window* window, window 44 ui/aura/client/default_activation_client.h virtual bool CanActivateWindow(Window* window) const OVERRIDE; window 47 ui/aura/client/default_activation_client.h virtual void OnWindowDestroyed(Window* window) OVERRIDE; window 50 ui/aura/client/default_activation_client.h void RemoveActiveWindow(Window* window); window 24 ui/aura/client/default_capture_client.cc void DefaultCaptureClient::SetCapture(Window* window) { window 25 ui/aura/client/default_capture_client.cc if (capture_window_ == window) window 27 ui/aura/client/default_capture_client.cc if (window) { window 29 ui/aura/client/default_capture_client.cc capture_window_, window); window 33 ui/aura/client/default_capture_client.cc capture_window_ = window; window 44 ui/aura/client/default_capture_client.cc void DefaultCaptureClient::ReleaseCapture(Window* window) { window 45 ui/aura/client/default_capture_client.cc if (capture_window_ != window) window 23 ui/aura/client/default_capture_client.h virtual void SetCapture(Window* window) OVERRIDE; window 24 ui/aura/client/default_capture_client.h virtual void ReleaseCapture(Window* window) OVERRIDE; window 22 ui/aura/client/event_client.h virtual bool CanProcessEventsWithinSubtree(const Window* window) const = 0; window 18 ui/aura/client/focus_change_observer.cc FocusChangeObserver* GetFocusChangeObserver(Window* window) { window 19 ui/aura/client/focus_change_observer.cc return window ? window->GetProperty(kFocusChangeObserverKey) : NULL; window 22 ui/aura/client/focus_change_observer.cc void SetFocusChangeObserver(Window* window, window 24 ui/aura/client/focus_change_observer.cc window->SetProperty(kFocusChangeObserverKey, focus_change_observer); window 24 ui/aura/client/focus_change_observer.h AURA_EXPORT FocusChangeObserver* GetFocusChangeObserver(Window* window); window 26 ui/aura/client/focus_change_observer.h Window* window, window 23 ui/aura/client/focus_client.cc FocusClient* GetFocusClient(Window* window) { window 24 ui/aura/client/focus_client.cc return GetFocusClient(static_cast<const Window*>(window)); window 27 ui/aura/client/focus_client.cc FocusClient* GetFocusClient(const Window* window) { window 28 ui/aura/client/focus_client.cc const Window* root_window = window->GetRootWindow(); window 28 ui/aura/client/focus_client.h virtual void FocusWindow(Window* window) = 0; window 32 ui/aura/client/focus_client.h virtual void ResetFocusWithinActiveWindow(Window* window) = 0; window 40 ui/aura/client/focus_client.h AURA_EXPORT FocusClient* GetFocusClient(Window* window); window 41 ui/aura/client/focus_client.h AURA_EXPORT FocusClient* GetFocusClient(const Window* window); window 28 ui/aura/client/screen_position_client.h virtual void ConvertPointToScreen(const Window* window, window 30 ui/aura/client/screen_position_client.h virtual void ConvertPointFromScreen(const Window* window, window 41 ui/aura/client/screen_position_client.h virtual void SetBounds(Window* window, window 20 ui/aura/client/visibility_client.cc void SetVisibilityClient(Window* window, VisibilityClient* client) { window 21 ui/aura/client/visibility_client.cc window->SetProperty(kWindowVisibilityClientKey, client); window 24 ui/aura/client/visibility_client.cc VisibilityClient* GetVisibilityClient(Window* window) { window 26 ui/aura/client/visibility_client.cc aura::Window* current = window; window 21 ui/aura/client/visibility_client.h virtual void UpdateLayerVisibility(Window* window, bool visible) = 0; window 28 ui/aura/client/visibility_client.h AURA_EXPORT void SetVisibilityClient(Window* window, VisibilityClient* client); window 32 ui/aura/client/visibility_client.h AURA_EXPORT VisibilityClient* GetVisibilityClient(Window* window); window 19 ui/aura/client/window_tree_client.cc void SetWindowTreeClient(Window* window, WindowTreeClient* window_tree_client) { window 20 ui/aura/client/window_tree_client.cc DCHECK(window); window 22 ui/aura/client/window_tree_client.cc Window* root_window = window->GetRootWindow(); window 27 ui/aura/client/window_tree_client.cc WindowTreeClient* GetWindowTreeClient(Window* window) { window 28 ui/aura/client/window_tree_client.cc DCHECK(window); window 29 ui/aura/client/window_tree_client.cc Window* root_window = window->GetRootWindow(); window 37 ui/aura/client/window_tree_client.cc void ParentWindowWithContext(Window* window, window 46 ui/aura/client/window_tree_client.cc client->GetDefaultParent(context, window, screen_bounds); window 47 ui/aura/client/window_tree_client.cc default_parent->AddChild(window); window 35 ui/aura/client/window_tree_client.h Window* window, window 41 ui/aura/client/window_tree_client.h AURA_EXPORT void SetWindowTreeClient(Window* window, window 43 ui/aura/client/window_tree_client.h WindowTreeClient* GetWindowTreeClient(Window* window); window 49 ui/aura/client/window_tree_client.h AURA_EXPORT void ParentWindowWithContext(Window* window, window 69 ui/aura/demo/demo_main.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} window 70 ui/aura/demo/demo_main.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {} window 83 ui/aura/demo/demo_main.cc explicit DemoWindowTreeClient(aura::Window* window) : window_(window) { window 93 ui/aura/demo/demo_main.cc aura::Window* window, window 133 ui/aura/demo/demo_main.cc new DemoWindowTreeClient(host->window())); window 135 ui/aura/demo/demo_main.cc aura::client::SetFocusClient(host->window(), &focus_client); window 144 ui/aura/demo/demo_main.cc aura::client::ParentWindowWithContext(&window1, host->window(), gfx::Rect()); window 152 ui/aura/demo/demo_main.cc aura::client::ParentWindowWithContext(&window2, host->window(), gfx::Rect()); window 92 ui/aura/env.cc void Env::NotifyWindowInitialized(Window* window) { window 93 ui/aura/env.cc FOR_EACH_OBSERVER(EnvObserver, observers_, OnWindowInitialized(window)); window 69 ui/aura/env.h void NotifyWindowInitialized(Window* window); window 18 ui/aura/env_observer.h virtual void OnWindowInitialized(Window* window) = 0; window 508 ui/aura/gestures/gesture_recognizer_unittest.cc ui::GestureSequence* GetGestureSequenceForTesting(Window* window) { window 509 ui/aura/gestures/gesture_recognizer_unittest.cc return GetGestureSequenceForConsumer(window); window 719 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 770 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1015 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1088 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1171 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1224 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1275 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1326 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1363 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1408 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1417 ui/aura/gestures/gesture_recognizer_unittest.cc gesture_recognizer->GetGestureSequenceForTesting(window.get())); window 1454 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1501 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1508 ui/aura/gestures/gesture_recognizer_unittest.cc gesture_recognizer->GetGestureSequenceForTesting(window.get())); window 1554 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1608 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1667 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1825 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1980 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2065 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2122 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2291 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window( window 2323 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithBounds( window 2327 ui/aura/gestures/gesture_recognizer_unittest.cc gesture_recognizer->GetGestureSequenceForTesting(window.get()); window 2352 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2354 ui/aura/gestures/gesture_recognizer_unittest.cc delegate->set_window(window.get()); window 2380 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2382 ui/aura/gestures/gesture_recognizer_unittest.cc delegate->set_window(window.get()); window 2469 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2471 ui/aura/gestures/gesture_recognizer_unittest.cc EventGenerator generator(root_window(), window.get()); window 2475 ui/aura/gestures/gesture_recognizer_unittest.cc window->bounds().origin().OffsetFromOrigin(); window 2492 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2496 ui/aura/gestures/gesture_recognizer_unittest.cc generator.MoveMouseRelativeTo(window.get(), gfx::Point(10, 10)); window 2575 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2604 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2692 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2737 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2768 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2807 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2841 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2853 ui/aura/gestures/gesture_recognizer_unittest.cc aura::test::EventGenerator generator(root_window(), window.get()); window 2886 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2918 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 2956 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3009 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window( window 3021 ui/aura/gestures/gesture_recognizer_unittest.cc window->Hide(); window 3033 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3035 ui/aura/gestures/gesture_recognizer_unittest.cc delegate->set_window(window.get()); window 3042 ui/aura/gestures/gesture_recognizer_unittest.cc gesture_recognizer->GetGestureSequenceForTesting(window.get())); window 3095 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3150 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3254 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3348 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3389 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3444 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3486 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3529 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3586 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3639 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3673 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3677 ui/aura/gestures/gesture_recognizer_unittest.cc window->AddPreTargetHandler(handler.get()); window 3696 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(window.get(), window 3698 ui/aura/gestures/gesture_recognizer_unittest.cc gesture_recognizer->TransferEventsTo(window.get(), NULL); window 3715 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3759 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3771 ui/aura/gestures/gesture_recognizer_unittest.cc gesture_recognizer->GetGestureSequenceForTesting(window.get())); window 3806 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3836 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3867 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3923 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3953 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 3988 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 4045 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 372 ui/aura/remote_window_tree_host_win.cc return window(); window 424 ui/aura/remote_window_tree_host_win.cc aura::client::GetCursorClient(window()); window 12 ui/aura/scoped_window_targeter.cc Window* window, window 14 ui/aura/scoped_window_targeter.cc : window_(window), window 15 ui/aura/scoped_window_targeter.cc old_targeter_(window->SetEventTargeter(new_targeter.Pass())) { window 23 ui/aura/scoped_window_targeter.cc void ScopedWindowTargeter::OnWindowDestroyed(Window* window) { window 24 ui/aura/scoped_window_targeter.cc CHECK_EQ(window_, window); window 25 ui/aura/scoped_window_targeter.h ScopedWindowTargeter(Window* window, window 32 ui/aura/scoped_window_targeter.h virtual void OnWindowDestroyed(Window* window) OVERRIDE; window 96 ui/aura/test/aura_test_base.cc Window* window = new Window( window 99 ui/aura/test/aura_test_base.cc window->set_id(id); window 100 ui/aura/test/aura_test_base.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 101 ui/aura/test/aura_test_base.cc parent->AddChild(window); window 102 ui/aura/test/aura_test_base.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); window 103 ui/aura/test/aura_test_base.cc window->Show(); window 104 ui/aura/test/aura_test_base.cc return window; window 111 ui/aura/test/aura_test_base.cc void AuraTestBase::ParentWindow(Window* window) { window 112 ui/aura/test/aura_test_base.cc client::ParentWindowWithContext(window, root_window(), gfx::Rect()); window 37 ui/aura/test/aura_test_base.h void ParentWindow(Window* window); window 50 ui/aura/test/aura_test_helper.h Window* root_window() { return host_->window(); } window 47 ui/aura/test/event_generator.cc const aura::Window* window) const OVERRIDE { window 100 ui/aura/test/event_generator.cc EventGenerator::EventGenerator(Window* root_window, Window* window) window 102 ui/aura/test/event_generator.cc current_location_(CenterOfWindow(window)), window 154 ui/aura/test/event_generator.cc ConvertPointToTarget(current_host_->window(), &exit_location); window 183 ui/aura/test/event_generator.cc ConvertPointToTarget(current_host_->window(), &move_point); window 190 ui/aura/test/event_generator.cc void EventGenerator::MoveMouseRelativeTo(const Window* window, window 193 ui/aura/test/event_generator.cc ConvertPointFromTarget(window, &point); window 203 ui/aura/test/event_generator.cc void EventGenerator::MoveMouseToCenterOf(Window* window) { window 204 ui/aura/test/event_generator.cc MoveMouseTo(CenterOfWindow(window)); window 247 ui/aura/test/event_generator.cc void EventGenerator::PressMoveAndReleaseTouchToCenterOf(Window* window) { window 248 ui/aura/test/event_generator.cc PressMoveAndReleaseTouchTo(CenterOfWindow(window)); window 576 ui/aura/test/event_generator.cc ConvertPointToTarget(current_host_->window(), &p); window 580 ui/aura/test/event_generator.cc gfx::Point EventGenerator::CenterOfWindow(const Window* window) const { window 581 ui/aura/test/event_generator.cc gfx::Point center = gfx::Rect(window->bounds().size()).CenterPoint(); window 582 ui/aura/test/event_generator.cc ConvertPointFromTarget(window, ¢er); window 57 ui/aura/test/event_generator.h const aura::Window* window) const = 0; window 98 ui/aura/test/event_generator.h EventGenerator(Window* root_window, Window* window); window 156 ui/aura/test/event_generator.h void MoveMouseRelativeTo(const Window* window, const gfx::Point& point); window 157 ui/aura/test/event_generator.h void MoveMouseRelativeTo(const Window* window, int x, int y) { window 158 ui/aura/test/event_generator.h MoveMouseRelativeTo(window, gfx::Point(x, y)); window 177 ui/aura/test/event_generator.h void MoveMouseToCenterOf(Window* window); window 211 ui/aura/test/event_generator.h void PressMoveAndReleaseTouchToCenterOf(Window* window); window 333 ui/aura/test/event_generator.h gfx::Point CenterOfWindow(const Window* window) const; window 33 ui/aura/test/test_focus_client.cc void TestFocusClient::FocusWindow(Window* window) { window 34 ui/aura/test/test_focus_client.cc if (window && !window->CanFocus()) window 39 ui/aura/test/test_focus_client.cc focused_window_ = window; window 52 ui/aura/test/test_focus_client.cc void TestFocusClient::ResetFocusWithinActiveWindow(Window* window) { window 53 ui/aura/test/test_focus_client.cc if (!window->Contains(focused_window_)) window 54 ui/aura/test/test_focus_client.cc FocusWindow(window); window 64 ui/aura/test/test_focus_client.cc void TestFocusClient::OnWindowDestroying(Window* window) { window 65 ui/aura/test/test_focus_client.cc DCHECK_EQ(window, focused_window_); window 27 ui/aura/test/test_focus_client.h virtual void FocusWindow(Window* window) OVERRIDE; window 28 ui/aura/test/test_focus_client.h virtual void ResetFocusWithinActiveWindow(Window* window) OVERRIDE; window 32 ui/aura/test/test_focus_client.h virtual void OnWindowDestroying(Window* window) OVERRIDE; window 37 ui/aura/test/test_screen.cc host_->window()->AddObserver(this); window 98 ui/aura/test/test_screen.cc Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) { window 99 ui/aura/test/test_screen.cc DCHECK_EQ(host_->window(), window); window 104 ui/aura/test/test_screen.cc void TestScreen::OnWindowDestroying(Window* window) { window 105 ui/aura/test/test_screen.cc if (host_->window() == window) window 118 ui/aura/test/test_screen.cc return host_->window()->GetTopWindowContainingPoint(point); window 130 ui/aura/test/test_screen.cc gfx::NativeWindow window) const { window 42 ui/aura/test/test_screen.h virtual void OnWindowBoundsChanged(Window* window, window 45 ui/aura/test/test_screen.h virtual void OnWindowDestroying(Window* window) OVERRIDE; window 81 ui/aura/test/test_window_delegate.cc void TestWindowDelegate::OnWindowDestroying(Window* window) { window 84 ui/aura/test/test_window_delegate.cc void TestWindowDelegate::OnWindowDestroyed(Window* window) { window 115 ui/aura/test/test_window_delegate.cc void ColorTestWindowDelegate::OnWindowDestroyed(Window* window) { window 58 ui/aura/test/test_window_delegate.h virtual void OnWindowDestroying(Window* window) OVERRIDE; window 59 ui/aura/test/test_window_delegate.h virtual void OnWindowDestroyed(Window* window) OVERRIDE; window 85 ui/aura/test/test_window_delegate.h virtual void OnWindowDestroyed(Window* window) OVERRIDE; window 22 ui/aura/test/test_window_tree_client.cc Window* window, window 23 ui/aura/test/test_window_tree_client.h Window* window, window 45 ui/aura/test/test_windows.cc Window* window = new Window(delegate); window 46 ui/aura/test/test_windows.cc window->set_id(id); window 47 ui/aura/test/test_windows.cc window->SetType(type); window 48 ui/aura/test/test_windows.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 49 ui/aura/test/test_windows.cc window->SetBounds(bounds); window 50 ui/aura/test/test_windows.cc window->Show(); window 52 ui/aura/test/test_windows.cc parent->AddChild(window); window 53 ui/aura/test/test_windows.cc window->SetProperty(aura::client::kCanMaximizeKey, true); window 54 ui/aura/test/test_windows.cc return window; window 40 ui/aura/test/ui_controls_factory_aurawin.cc HWND window = window 43 ui/aura/test/ui_controls_factory_aurawin.cc window, key, control, shift, alt, base::Closure()); window 53 ui/aura/test/ui_controls_factory_aurawin.cc HWND window = window 55 ui/aura/test/ui_controls_factory_aurawin.cc return SendKeyPressImpl(window, key, control, shift, alt, task); window 86 ui/aura/test/ui_controls_factory_aurax11.cc virtual bool SendKeyPress(gfx::NativeWindow window, window 94 ui/aura/test/ui_controls_factory_aurax11.cc window, key, control, shift, alt, command, base::Closure()); window 97 ui/aura/test/ui_controls_factory_aurax11.cc gfx::NativeWindow window, window 141 ui/aura/test/ui_controls_factory_aurax11.cc aura::client::GetScreenPositionClient(host_->window()); window 143 ui/aura/test/ui_controls_factory_aurax11.cc screen_position_client->ConvertPointFromScreen(host_->window(), window 153 ui/aura/test/ui_controls_factory_aurax11.cc host_->window()->MoveCursorTo(root_location); window 179 ui/aura/test/ui_controls_factory_aurax11.cc aura::client::GetScreenPositionClient(host_->window()); window 181 ui/aura/test/ui_controls_factory_aurax11.cc screen_position_client->ConvertPointFromScreen(host_->window(), window 227 ui/aura/test/ui_controls_factory_aurax11.cc marker_event->xclient.window = None; window 12 ui/aura/test/window_test_api.cc WindowTestApi::WindowTestApi(Window* window) : window_(window) { window 18 ui/aura/test/window_test_api.h explicit WindowTestApi(Window* window); window 60 ui/aura/window.cc T IteratorForDirectionBegin(aura::Window* window); window 64 ui/aura/window.cc aura::Window* window) { window 65 ui/aura/window.cc return window->children().begin(); window 70 ui/aura/window.cc aura::Window* window) { window 71 ui/aura/window.cc return window->children().rbegin(); window 75 ui/aura/window.cc T IteratorForDirectionEnd(aura::Window* window); window 78 ui/aura/window.cc Window::Windows::const_iterator IteratorForDirectionEnd(aura::Window* window) { window 79 ui/aura/window.cc return window->children().end(); window 84 ui/aura/window.cc aura::Window* window) { window 85 ui/aura/window.cc return window->children().rend(); window 162 ui/aura/window.cc explicit ScopedCursorHider(Window* window) window 163 ui/aura/window.cc : window_(window), window 358 ui/aura/window.cc for (const Window* window = this; window; window = window->parent()) { window 359 ui/aura/window.cc if (!window->visible_) window 361 ui/aura/window.cc if (window->layer()) window 362 ui/aura/window.cc return window->layer()->IsDrawn(); window 681 ui/aura/window.cc for (aura::Window* window = this; window != NULL; window = window->parent()) { window 682 ui/aura/window.cc if (window->delegate()) window 683 ui/aura/window.cc topmost_window_with_delegate = window; window 1240 ui/aura/window.cc for (Window* window = this; window; window = window->parent()) window 1241 ui/aura/window.cc window->NotifyWindowHierarchyChangeAtReceiver(params); window 1309 ui/aura/window.cc for (Window* window = this; window; window = window->parent()) { window 1310 ui/aura/window.cc bool ret = window->NotifyWindowVisibilityChangedAtReceiver(target, visible); window 1434 ui/aura/window.cc for (const aura::Window* window = this; window; window = window->parent()) { window 1435 ui/aura/window.cc if (window->layer()) window 1436 ui/aura/window.cc return window; window 1438 ui/aura/window.cc *offset += window->bounds().OffsetFromOrigin(); window 78 ui/aura/window_delegate.h virtual void OnWindowDestroying(Window* window) = 0; window 86 ui/aura/window_delegate.h virtual void OnWindowDestroyed(Window* window) = 0; window 108 ui/aura/window_event_dispatcher.cc window())); window 130 ui/aura/window_event_dispatcher.cc Window* focused_window = client::GetFocusClient(window())->GetFocusedWindow(); window 131 ui/aura/window_event_dispatcher.cc if (focused_window && !window()->Contains(focused_window)) window 134 ui/aura/window_event_dispatcher.cc DispatchEvent(focused_window ? focused_window : window(), &event); window 146 ui/aura/window_event_dispatcher.cc event->ConvertLocationToTarget(window(), target); window 163 ui/aura/window_event_dispatcher.cc Window* window, window 167 ui/aura/window_event_dispatcher.cc ProcessTouchEventForGesture(*event, result, window)); window 200 ui/aura/window_event_dispatcher.cc client::GetScreenPositionClient(window()); window 202 ui/aura/window_event_dispatcher.cc client->ConvertPointFromScreen(window(), &location); window 213 ui/aura/window_event_dispatcher.cc SetLastMouseLocation(window(), root_location); window 217 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnPostNotifiedWindowDestroying(Window* window) { window 218 ui/aura/window_event_dispatcher.cc OnWindowHidden(window, WINDOW_DESTROYED); window 225 ui/aura/window_event_dispatcher.cc return host_->window(); window 229 ui/aura/window_event_dispatcher.cc return host_->window(); window 237 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::DispatchMouseExitToHidingWindow(Window* window) { window 244 ui/aura/window_event_dispatcher.cc if (window->Contains(mouse_moved_handler_) && window 245 ui/aura/window_event_dispatcher.cc window->ContainsPointInRoot(last_mouse_location)) window 254 ui/aura/window_event_dispatcher.cc SetLastMouseLocation(window(), event.root_location()); window 258 ui/aura/window_event_dispatcher.cc !window()->Contains(mouse_moved_handler_)) window 268 ui/aura/window_event_dispatcher.cc target = window(); window 286 ui/aura/window_event_dispatcher.cc event->ConvertLocationToTarget(window(), target); window 321 ui/aura/window_event_dispatcher.cc client::GetCaptureClient(host_->window()); window 331 ui/aura/window_event_dispatcher.cc if (invisible->Contains(capture_window) && invisible != window()) window 341 ui/aura/window_event_dispatcher.cc target = client::GetCaptureWindow(window()); window 359 ui/aura/window_event_dispatcher.cc if (mouse_moved_handler_ && !window()->Contains(mouse_moved_handler_)) window 362 ui/aura/window_event_dispatcher.cc if (old_capture && old_capture->GetRootWindow() == window() && window 405 ui/aura/window_event_dispatcher.cc return window(); window 434 ui/aura/window_event_dispatcher.cc CHECK(window()->Contains(target_window)); window 469 ui/aura/window_event_dispatcher.cc DCHECK(!event_dispatch_target_ || window()->Contains(event_dispatch_target_)); window 476 ui/aura/window_event_dispatcher.cc static_cast<Window*>(event.target()), window()); window 495 ui/aura/window_event_dispatcher.cc return (consumer_window && consumer_window->GetRootWindow() == window()); window 512 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowDestroying(Window* window) { window 513 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(window)) window 516 ui/aura/window_event_dispatcher.cc DispatchMouseExitToHidingWindow(window); window 517 ui/aura/window_event_dispatcher.cc SynthesizeMouseMoveAfterChangeToWindow(window); window 520 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowDestroyed(Window* window) { window 523 ui/aura/window_event_dispatcher.cc observer_manager_.Remove(window); window 530 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(attached)) window 538 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(detached)) window 541 ui/aura/window_event_dispatcher.cc DCHECK(client::GetCaptureWindow(window()) != window()); window 551 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowVisibilityChanging(Window* window, window 553 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(window)) window 556 ui/aura/window_event_dispatcher.cc DispatchMouseExitToHidingWindow(window); window 559 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowVisibilityChanged(Window* window, window 561 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(window)) window 564 ui/aura/window_event_dispatcher.cc if (window->ContainsPointInRoot(GetLastMouseLocationInRoot())) window 570 ui/aura/window_event_dispatcher.cc OnWindowHidden(window, WINDOW_HIDDEN); window 573 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowBoundsChanged(Window* window, window 576 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(window)) window 579 ui/aura/window_event_dispatcher.cc if (window == host_->window()) { window 591 ui/aura/window_event_dispatcher.cc host_->window(), window 592 ui/aura/window_event_dispatcher.cc ui::ConvertPointToDIP(host_->window()->layer(), point)); window 597 ui/aura/window_event_dispatcher.cc if (window->IsVisible()) { window 599 ui/aura/window_event_dispatcher.cc Window::ConvertRectToTarget(window->parent(), host_->window(), window 601 ui/aura/window_event_dispatcher.cc Window::ConvertRectToTarget(window->parent(), host_->window(), window 611 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowTransforming(Window* window) { window 612 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(window)) window 615 ui/aura/window_event_dispatcher.cc SynthesizeMouseMoveAfterChangeToWindow(window); window 618 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowTransformed(Window* window) { window 619 ui/aura/window_event_dispatcher.cc if (!host_->window()->Contains(window)) window 622 ui/aura/window_event_dispatcher.cc SynthesizeMouseMoveAfterChangeToWindow(window); window 628 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::OnWindowInitialized(Window* window) { window 629 ui/aura/window_event_dispatcher.cc observer_manager_.Add(window); window 684 ui/aura/window_event_dispatcher.cc Window* window) { window 685 ui/aura/window_event_dispatcher.cc if (window->IsVisible() && window 686 ui/aura/window_event_dispatcher.cc window->ContainsPointInRoot(GetLastMouseLocationInRoot())) { window 697 ui/aura/window_event_dispatcher.cc if (!window()->bounds().Contains(root_mouse_location)) window 720 ui/aura/window_event_dispatcher.cc SetLastMouseLocation(window(), event->root_location()); window 727 ui/aura/window_event_dispatcher.cc client::CursorClient* cursor_client = client::GetCursorClient(window()); window 743 ui/aura/window_event_dispatcher.cc SetLastMouseLocation(window(), event->root_location()); window 745 ui/aura/window_event_dispatcher.cc held_move_event_.reset(new ui::MouseEvent(*event, target, window())); window 761 ui/aura/window_event_dispatcher.cc if (!target || target == window()) { window 849 ui/aura/window_event_dispatcher.cc held_move_event_.reset(new ui::TouchEvent(*event, target, window())); window 93 ui/aura/window_event_dispatcher.h Window* window, window 120 ui/aura/window_event_dispatcher.h void OnPostNotifiedWindowDestroying(Window* window); window 137 ui/aura/window_event_dispatcher.h Window* window(); window 138 ui/aura/window_event_dispatcher.h const Window* window() const; window 148 ui/aura/window_event_dispatcher.h void DispatchMouseExitToHidingWindow(Window* window); window 191 ui/aura/window_event_dispatcher.h virtual void OnWindowDestroying(Window* window) OVERRIDE; window 192 ui/aura/window_event_dispatcher.h virtual void OnWindowDestroyed(Window* window) OVERRIDE; window 193 ui/aura/window_event_dispatcher.h virtual void OnWindowAddedToRootWindow(Window* window) OVERRIDE; window 194 ui/aura/window_event_dispatcher.h virtual void OnWindowRemovingFromRootWindow(Window* window, window 196 ui/aura/window_event_dispatcher.h virtual void OnWindowVisibilityChanging(Window* window, window 198 ui/aura/window_event_dispatcher.h virtual void OnWindowVisibilityChanged(Window* window, bool visible) OVERRIDE; window 199 ui/aura/window_event_dispatcher.h virtual void OnWindowBoundsChanged(Window* window, window 202 ui/aura/window_event_dispatcher.h virtual void OnWindowTransforming(Window* window) OVERRIDE; window 203 ui/aura/window_event_dispatcher.h virtual void OnWindowTransformed(Window* window) OVERRIDE; window 206 ui/aura/window_event_dispatcher.h virtual void OnWindowInitialized(Window* window) OVERRIDE; window 227 ui/aura/window_event_dispatcher.h void SynthesizeMouseMoveAfterChangeToWindow(Window* window); window 94 ui/aura/window_event_dispatcher_unittest.cc bool IsFocusedWindow(aura::Window* window) { window 95 ui/aura/window_event_dispatcher_unittest.cc return client::GetFocusClient(window)->GetFocusedWindow() == window; window 270 ui/aura/window_event_dispatcher_unittest.cc const Window* window) const OVERRIDE { window 272 ui/aura/window_event_dispatcher_unittest.cc window->Contains(GetLockWindow()) || GetLockWindow()->Contains(window) : window 588 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<Window> window(CreateNormalWindow(1, root_window(), NULL)); window 589 ui/aura/window_event_dispatcher_unittest.cc window->SetBounds(gfx::Rect(20, 20, 40, 30)); window 591 ui/aura/window_event_dispatcher_unittest.cc window->SetEventFilter(recorder); // Takes ownership. window 592 ui/aura/window_event_dispatcher_unittest.cc window->SetCapture(); window 608 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 684 ui/aura/window_event_dispatcher_unittest.cc window->SetBounds(gfx::Rect(15, 15, 80, 80)); window 700 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 784 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 786 ui/aura/window_event_dispatcher_unittest.cc window->AddPreTargetHandler(&handler); window 815 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 817 ui/aura/window_event_dispatcher_unittest.cc window->Show(); window 818 ui/aura/window_event_dispatcher_unittest.cc window->SetCapture(); window 850 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 853 ui/aura/window_event_dispatcher_unittest.cc window->Show(); window 886 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 889 ui/aura/window_event_dispatcher_unittest.cc window->Show(); window 956 ui/aura/window_event_dispatcher_unittest.cc void Reset(Window* window, bool delete_during_handle) { window 957 ui/aura/window_event_dispatcher_unittest.cc window_ = window; window 1131 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1341 ui/aura/window_event_dispatcher_unittest.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 1343 ui/aura/window_event_dispatcher_unittest.cc *has_valid_root_ = (window->GetRootWindow() != NULL); window 1366 ui/aura/window_event_dispatcher_unittest.cc Window* w1 = CreateNormalWindow(1, host->window(), NULL); window 1453 ui/aura/window_event_dispatcher_unittest.cc virtual void OnWindowDestroyed(Window* window) OVERRIDE { window 1475 ui/aura/window_event_dispatcher_unittest.cc Window* w1 = CreateNormalWindow(1, h2->window(), &delegate); window 1492 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1502 ui/aura/window_event_dispatcher_unittest.cc window->Hide(); window 1513 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1532 ui/aura/window_event_dispatcher_unittest.cc window->Hide(); window 1595 ui/aura/window_event_dispatcher_unittest.cc virtual void OnWindowDestroyed(Window* window) OVERRIDE { window 1596 ui/aura/window_event_dispatcher_unittest.cc TestWindowDelegate::OnWindowDestroyed(window); window 1770 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1772 ui/aura/window_event_dispatcher_unittest.cc window->AddPreTargetHandler(&handler); window 1803 ui/aura/window_event_dispatcher_unittest.cc void set_window(scoped_ptr<aura::Window> window) { window 1804 ui/aura/window_event_dispatcher_unittest.cc window_ = window.Pass(); window 1833 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate( window 1835 ui/aura/window_event_dispatcher_unittest.cc delegate.set_window(window.Pass()); window 1854 ui/aura/window_event_dispatcher_unittest.cc virtual void FocusWindow(Window* window) OVERRIDE {} window 1855 ui/aura/window_event_dispatcher_unittest.cc virtual void ResetFocusWithinActiveWindow(Window* window) OVERRIDE {} window 1914 ui/aura/window_event_dispatcher_unittest.cc MoveWindowHandler(Window* window, Window* root_window) window 1915 ui/aura/window_event_dispatcher_unittest.cc : window_to_move_(window), window 1941 ui/aura/window_event_dispatcher_unittest.cc Window* second_root = second_host->window(); window 1995 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<Window> window(CreateTestWindowWithDelegate(&delegate, 123, window 1997 ui/aura/window_event_dispatcher_unittest.cc window->Show(); window 2009 ui/aura/window_event_dispatcher_unittest.cc window->SetCapture(); window 2013 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(window.get(), host()->dispatcher()->mouse_moved_handler()); window 2023 ui/aura/window_event_dispatcher_unittest.cc second_capture_delegate->UpdateCapture(NULL, window.get()); window 2024 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(window.get(), second_dispatcher->mouse_moved_handler()); window 51 ui/aura/window_observer.h virtual void OnWillRemoveWindow(Window* window) {} window 54 ui/aura/window_observer.h virtual void OnWindowParentChanged(Window* window, Window* parent) {} window 62 ui/aura/window_observer.h virtual void OnWindowPropertyChanged(Window* window, window 69 ui/aura/window_observer.h virtual void OnWindowVisibilityChanging(Window* window, bool visible) {} window 70 ui/aura/window_observer.h virtual void OnWindowVisibilityChanged(Window* window, bool visible) {} window 74 ui/aura/window_observer.h virtual void OnWindowBoundsChanged(Window* window, window 79 ui/aura/window_observer.h virtual void OnWindowTransforming(Window* window) {} window 80 ui/aura/window_observer.h virtual void OnWindowTransformed(Window* window) {} window 84 ui/aura/window_observer.h virtual void OnWindowStackingChanged(Window* window) {} window 87 ui/aura/window_observer.h virtual void OnWindowPaintScheduled(Window* window, window 92 ui/aura/window_observer.h virtual void OnWindowDestroying(Window* window) {} window 102 ui/aura/window_observer.h virtual void OnWindowDestroyed(Window* window) {} window 105 ui/aura/window_observer.h virtual void OnWindowAddedToRootWindow(Window* window) {} window 110 ui/aura/window_observer.h virtual void OnWindowRemovingFromRootWindow(Window* window, window 21 ui/aura/window_targeter.cc bool WindowTargeter::WindowCanAcceptEvent(aura::Window* window, window 23 ui/aura/window_targeter.cc if (!window->IsVisible()) window 25 ui/aura/window_targeter.cc if (window->ignore_events()) window 27 ui/aura/window_targeter.cc client::EventClient* client = client::GetEventClient(window->GetRootWindow()); window 28 ui/aura/window_targeter.cc if (client && !client->CanProcessEventsWithinSubtree(window)) window 31 ui/aura/window_targeter.cc Window* parent = window->parent(); window 33 ui/aura/window_targeter.cc ShouldDescendIntoChildForEventHandling(window, event.location())) { window 40 ui/aura/window_targeter.cc aura::Window* window, const ui::LocatedEvent& event) const { window 42 ui/aura/window_targeter.cc if (window->parent()) window 43 ui/aura/window_targeter.cc aura::Window::ConvertPointToTarget(window->parent(), window, &point); window 44 ui/aura/window_targeter.cc return gfx::Rect(window->bounds().size()).Contains(point); window 49 ui/aura/window_targeter.cc Window* window = static_cast<Window*>(root); window 51 ui/aura/window_targeter.cc FindTargetForKeyEvent(window, *static_cast<ui::KeyEvent*>(event)) : window 53 ui/aura/window_targeter.cc if (target && !window->parent()) { window 55 ui/aura/window_targeter.cc if (!window->Contains(target)) { window 70 ui/aura/window_targeter.cc Window* window = static_cast<Window*>(root); window 71 ui/aura/window_targeter.cc if (!WindowCanAcceptEvent(window, event)) window 74 ui/aura/window_targeter.cc return EventLocationInsideBounds(window, event); window 80 ui/aura/window_targeter.cc Window* window = static_cast<Window*>(root); window 81 ui/aura/window_targeter.cc if (!window->parent()) { window 82 ui/aura/window_targeter.cc Window* target = FindTargetInRootWindow(window, *event); window 84 ui/aura/window_targeter.cc window->ConvertEventToTarget(target, event); window 91 ui/aura/window_targeter.cc Window* WindowTargeter::FindTargetForKeyEvent(Window* window, window 93 ui/aura/window_targeter.cc Window* root_window = window->GetRootWindow(); window 99 ui/aura/window_targeter.cc return window; window 107 ui/aura/window_targeter.cc return focused_window ? focused_window : window; window 21 ui/aura/window_targeter.h bool WindowCanAcceptEvent(aura::Window* window, window 27 ui/aura/window_targeter.h virtual bool EventLocationInsideBounds(aura::Window* window, window 18 ui/aura/window_targeter_unittest.cc explicit StaticWindowTargeter(aura::Window* window) window 19 ui/aura/window_targeter_unittest.cc : window_(window) {} window 43 ui/aura/window_targeter_unittest.cc gfx::RectF GetEffectiveVisibleBoundsInRootWindow(Window* window) { window 44 ui/aura/window_targeter_unittest.cc gfx::RectF bounds = gfx::Rect(window->bounds().size()); window 45 ui/aura/window_targeter_unittest.cc Window* root = window->GetRootWindow(); window 46 ui/aura/window_targeter_unittest.cc CHECK(window->layer()); window 49 ui/aura/window_targeter_unittest.cc if (!window->layer()->GetTargetTransformRelativeTo(root->layer(), &transform)) window 57 ui/aura/window_targeter_unittest.cc scoped_ptr<Window> window(CreateNormalWindow(1, root_window(), &delegate)); window 58 ui/aura/window_targeter_unittest.cc Window* one = CreateNormalWindow(2, window.get(), &delegate); window 59 ui/aura/window_targeter_unittest.cc Window* two = CreateNormalWindow(3, window.get(), &delegate); window 61 ui/aura/window_targeter_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); window 87 ui/aura/window_targeter_unittest.cc scoped_ptr<Window> window(CreateNormalWindow(1, root_window(), &delegate)); window 88 ui/aura/window_targeter_unittest.cc Window* child = CreateNormalWindow(2, window.get(), &delegate); window 90 ui/aura/window_targeter_unittest.cc window->SetBounds(gfx::Rect(30, 30, 100, 100)); window 106 ui/aura/window_targeter_unittest.cc new ScopedWindowTargeter(window.get(), scoped_ptr<ui::EventTargeter>( window 107 ui/aura/window_targeter_unittest.cc new StaticWindowTargeter(window.get())))); window 111 ui/aura/window_targeter_unittest.cc EXPECT_EQ(window.get(), targeter->FindTargetForEvent(root, &mouse)); window 125 ui/aura/window_targeter_unittest.cc scoped_ptr<Window> window(CreateNormalWindow(2, root_window(), &delegate)); window 128 ui/aura/window_targeter_unittest.cc window->SetBounds(window_bounds); window 136 ui/aura/window_targeter_unittest.cc EXPECT_EQ(window.get(), targeter->FindTargetForEvent(root_target, &mouse)); window 143 ui/aura/window_targeter_unittest.cc window->SetTransform(transform); window 145 ui/aura/window_targeter_unittest.cc GetEffectiveVisibleBoundsInRootWindow(window.get()).ToString()); window 155 ui/aura/window_targeter_unittest.cc window->SetTransform(transform); window 157 ui/aura/window_targeter_unittest.cc GetEffectiveVisibleBoundsInRootWindow(window.get()).ToString()); window 161 ui/aura/window_targeter_unittest.cc EXPECT_EQ(window.get(), targeter->FindTargetForEvent(root_target, &mouse)); window 19 ui/aura/window_tracker.cc void WindowTracker::Add(Window* window) { window 20 ui/aura/window_tracker.cc if (windows_.count(window)) window 23 ui/aura/window_tracker.cc window->AddObserver(this); window 24 ui/aura/window_tracker.cc windows_.insert(window); window 27 ui/aura/window_tracker.cc void WindowTracker::Remove(Window* window) { window 28 ui/aura/window_tracker.cc if (windows_.count(window)) { window 29 ui/aura/window_tracker.cc windows_.erase(window); window 30 ui/aura/window_tracker.cc window->RemoveObserver(this); window 34 ui/aura/window_tracker.cc bool WindowTracker::Contains(Window* window) { window 35 ui/aura/window_tracker.cc return windows_.count(window) > 0; window 38 ui/aura/window_tracker.cc void WindowTracker::OnWindowDestroying(Window* window) { window 39 ui/aura/window_tracker.cc DCHECK_GT(windows_.count(window), 0u); window 40 ui/aura/window_tracker.cc Remove(window); window 30 ui/aura/window_tracker.h void Add(Window* window); window 33 ui/aura/window_tracker.h void Remove(Window* window); window 37 ui/aura/window_tracker.h bool Contains(Window* window); window 40 ui/aura/window_tracker.h virtual void OnWindowDestroying(Window* window) OVERRIDE; window 32 ui/aura/window_tree_host.cc float GetDeviceScaleFactorFromDisplay(Window* window) { window 33 ui/aura/window_tree_host.cc gfx::Display display = gfx::Screen::GetScreenFor(window)-> window 34 ui/aura/window_tree_host.cc GetDisplayNearestWindow(window); window 109 ui/aura/window_tree_host.cc window()->Show(); window 113 ui/aura/window_tree_host.cc compositor_->SetScaleAndSize(GetDeviceScaleFactorFromDisplay(window()), window 115 ui/aura/window_tree_host.cc compositor_->SetRootLayer(window()->layer()); window 117 ui/aura/window_tree_host.cc new SimpleRootWindowTransformer(window(), gfx::Transform())); window 136 ui/aura/window_tree_host.cc window()->SetTransform(transformer_->GetTransform()); window 139 ui/aura/window_tree_host.cc if (!window()->layer()->GetAnimator()->is_animating()) window 144 ui/aura/window_tree_host.cc float scale = ui::GetDeviceScaleFactor(window()->layer()); window 153 ui/aura/window_tree_host.cc new SimpleRootWindowTransformer(window(), transform)); window 158 ui/aura/window_tree_host.cc float scale = ui::GetDeviceScaleFactor(window()->layer()); window 165 ui/aura/window_tree_host.cc window()->SetBounds(transformer_->GetRootWindowBounds(host_size)); window 259 ui/aura/window_tree_host.cc window()->Init(WINDOW_LAYER_NOT_DRAWN); window 260 ui/aura/window_tree_host.cc window()->set_host(this); window 261 ui/aura/window_tree_host.cc window()->SetName("RootWindow"); window 262 ui/aura/window_tree_host.cc window()->SetEventTargeter( window 282 ui/aura/window_tree_host.cc compositor_->SetScaleAndSize(GetDeviceScaleFactorFromDisplay(window()), window 302 ui/aura/window_tree_host.cc Window* capture_window = client::GetCaptureWindow(window()); window 303 ui/aura/window_tree_host.cc if (capture_window && capture_window->GetRootWindow() == window()) window 313 ui/aura/window_tree_host.cc client::CursorClient* cursor_client = client::GetCursorClient(window()); window 316 ui/aura/window_tree_host.cc gfx::Screen::GetScreenFor(window())->GetDisplayNearestWindow(window()); window 56 ui/aura/window_tree_host.h Window* window() { return window_; } window 57 ui/aura/window_tree_host.h const Window* window() const { return window_; } window 138 ui/aura/window_tree_host_win.cc float new_scale = gfx::Screen::GetScreenFor(window())-> window 139 ui/aura/window_tree_host_win.cc GetDisplayNearestWindow(window()).device_scale_factor(); window 173 ui/aura/window_tree_host_win.cc client::CursorClient* cursor_client = client::GetCursorClient(window()); window 69 ui/aura/window_tree_host_x11.cc ::Window target = xev->xany.window; window 340 ui/aura/window_tree_host_x11.cc aura::Window* root_window = window(); window 404 ui/aura/window_tree_host_x11.cc DCHECK_EQ(xwindow_, xev->xconfigure.window); window 436 ui/aura/window_tree_host_x11.cc reply_event.xclient.window = x_root_window_; window 439 ui/aura/window_tree_host_x11.cc reply_event.xclient.window, window 469 ui/aura/window_tree_host_x11.cc next_event.xmotion.window == xev->xmotion.window && window 533 ui/aura/window_tree_host_x11.cc float new_scale = gfx::Screen::GetScreenFor(window())-> window 534 ui/aura/window_tree_host_x11.cc GetDisplayNearestWindow(window()).device_scale_factor(); window 566 ui/aura/window_tree_host_x11.cc window()->SchedulePaintInRect(window()->bounds()); window 596 ui/aura/window_tree_host_x11.cc client::GetCursorClient(window()); window 672 ui/aura/window_tree_host_x11.cc xevent.xany.window = xwindow_; window 720 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::OnWindowInitialized(Window* window) { window 848 ui/aura/window_tree_host_x11.cc Window* root_window = window(); window 869 ui/aura/window_tree_host_x11.cc Window* root_window = window(); window 69 ui/aura/window_tree_host_x11.h virtual void OnWindowInitialized(Window* window) OVERRIDE; window 74 ui/aura/window_tree_host_x11_unittest.cc window_tree_host->window()->AddPreTargetHandler(handler.get()); window 139 ui/aura/window_tree_host_x11_unittest.cc window_tree_host1->window()->AddPreTargetHandler(handler1.get()); window 146 ui/aura/window_tree_host_x11_unittest.cc window_tree_host2->window()->AddPreTargetHandler(handler2.get()); window 95 ui/aura/window_unittest.cc virtual void OnWindowDestroying(Window* window) OVERRIDE { window 101 ui/aura/window_unittest.cc virtual void OnWindowDestroyed(Window* window) OVERRIDE { window 124 ui/aura/window_unittest.cc virtual void OnWindowDestroying(Window* window) OVERRIDE { window 126 ui/aura/window_unittest.cc DestroyTrackingDelegateImpl::OnWindowDestroying(window); window 142 ui/aura/window_unittest.cc void set_window(Window* window) { window_ = window; } window 144 ui/aura/window_unittest.cc virtual void OnWindowDestroyed(Window* window) OVERRIDE { window 246 ui/aura/window_unittest.cc virtual void OnWindowDestroyed(Window* window) OVERRIDE { window 591 ui/aura/window_unittest.cc virtual void OnWindowAddedToRootWindow(Window* window) OVERRIDE { window 775 ui/aura/window_unittest.cc scoped_ptr<Window> window(CreateTestWindowWithDelegate( window 777 ui/aura/window_unittest.cc EXPECT_FALSE(window->HasCapture()); window 782 ui/aura/window_unittest.cc window->SetCapture(); window 783 ui/aura/window_unittest.cc EXPECT_TRUE(window->HasCapture()); window 800 ui/aura/window_unittest.cc window->ReleaseCapture(); window 801 ui/aura/window_unittest.cc EXPECT_FALSE(window->HasCapture()); window 817 ui/aura/window_unittest.cc window->SetCapture(); window 818 ui/aura/window_unittest.cc EXPECT_EQ(window.get(), aura::client::GetCaptureWindow(root_window())); window 819 ui/aura/window_unittest.cc window->parent()->RemoveChild(window.get()); window 820 ui/aura/window_unittest.cc EXPECT_FALSE(window->HasCapture()); window 881 ui/aura/window_unittest.cc scoped_ptr<Window> window(CreateTestWindowWithDelegate( window 893 ui/aura/window_unittest.cc window->SetCapture(); window 907 ui/aura/window_unittest.cc window->ReleaseCapture(); window 1020 ui/aura/window_unittest.cc scoped_ptr<Window> window(CreateTestWindowWithDelegate( window 1030 ui/aura/window_unittest.cc EXPECT_FALSE(window->HasCapture()); window 1034 ui/aura/window_unittest.cc window->SetCapture(); window 1035 ui/aura/window_unittest.cc EXPECT_TRUE(window->HasCapture()); window 1059 ui/aura/window_unittest.cc scoped_ptr<Window> window(CreateTestWindowWithDelegate( window 1061 ui/aura/window_unittest.cc EXPECT_FALSE(window->HasCapture()); window 1064 ui/aura/window_unittest.cc window->SetCapture(); window 1065 ui/aura/window_unittest.cc EXPECT_TRUE(window->HasCapture()); window 1068 ui/aura/window_unittest.cc window.reset(); window 1210 ui/aura/window_unittest.cc scoped_ptr<Window> window( window 1215 ui/aura/window_unittest.cc generator.MoveMouseToCenterOf(window.get()); window 1221 ui/aura/window_unittest.cc window->SetCapture(); window 1229 ui/aura/window_unittest.cc window.reset(); window 1517 ui/aura/window_unittest.cc scoped_ptr<Window> window(CreateTestWindowWithDelegate(delegate.get(), -1234, window 1722 ui/aura/window_unittest.cc virtual void OnWillRemoveWindow(Window* window) OVERRIDE { window 1726 ui/aura/window_unittest.cc virtual void OnWindowVisibilityChanged(Window* window, window 1729 ui/aura/window_unittest.cc visibility_info_->window_visible = window->IsVisible(); window 1733 ui/aura/window_unittest.cc virtual void OnWindowDestroyed(Window* window) OVERRIDE { window 1734 ui/aura/window_unittest.cc EXPECT_FALSE(window->parent()); window 1738 ui/aura/window_unittest.cc virtual void OnWindowPropertyChanged(Window* window, window 1992 ui/aura/window_unittest.cc virtual void UpdateLayerVisibility(aura::Window* window, window 1995 ui/aura/window_unittest.cc window->layer()->SetVisible(visible); window 2006 ui/aura/window_unittest.cc scoped_ptr<Window> window(CreateTestWindowWithId(1, root_window())); window 2007 ui/aura/window_unittest.cc EXPECT_TRUE(window->IsVisible()); window 2008 ui/aura/window_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 2010 ui/aura/window_unittest.cc window->Hide(); window 2011 ui/aura/window_unittest.cc EXPECT_FALSE(window->IsVisible()); window 2012 ui/aura/window_unittest.cc EXPECT_FALSE(window->layer()->visible()); window 2013 ui/aura/window_unittest.cc window->Show(); window 2016 ui/aura/window_unittest.cc window->Hide(); window 2017 ui/aura/window_unittest.cc EXPECT_FALSE(window->IsVisible()); window 2018 ui/aura/window_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 2129 ui/aura/window_unittest.cc virtual void OnWindowAddedToRootWindow(Window* window) OVERRIDE { window 2132 ui/aura/window_unittest.cc virtual void OnWindowRemovingFromRootWindow(Window* window, window 2234 ui/aura/window_unittest.cc void SetOwnedWindow(Window* window) { window 2235 ui/aura/window_unittest.cc owned_window_.reset(window); window 2238 ui/aura/window_unittest.cc virtual void OnWindowDestroyed(Window* window) OVERRIDE { window 2306 ui/aura/window_unittest.cc scoped_ptr<Window> window( window 2309 ui/aura/window_unittest.cc window->layer()->GetAnimator()->set_disable_timer_for_test(true); window 2315 ui/aura/window_unittest.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 2316 ui/aura/window_unittest.cc window->SetBounds(gfx::Rect(100, 100, 100, 100)); window 2320 ui/aura/window_unittest.cc EXPECT_EQ("0,0 100x100", window->bounds().ToString()); window 2325 ui/aura/window_unittest.cc window->layer()->GetAnimator()->last_step_time(); window 2326 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = window->layer()->GetAnimator(); window 2329 ui/aura/window_unittest.cc EXPECT_NE("0,0 100x100", window->bounds().ToString()); window 2341 ui/aura/window_unittest.cc scoped_ptr<Window> window( window 2344 ui/aura/window_unittest.cc window->layer()->GetAnimator()->set_disable_timer_for_test(true); window 2350 ui/aura/window_unittest.cc window->SuppressPaint(); window 2351 ui/aura/window_unittest.cc EXPECT_EQ(NULL, window->layer()->delegate()); window 2355 ui/aura/window_unittest.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 2356 ui/aura/window_unittest.cc window->SetBounds(gfx::Rect(100, 100, 110, 100)); window 2360 ui/aura/window_unittest.cc EXPECT_EQ("100,100 110x100", window->GetTargetBounds().ToString()); window 2367 ui/aura/window_unittest.cc window->layer()->GetAnimator()->last_step_time(); window 2368 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = window->layer()->GetAnimator(); window 2374 ui/aura/window_unittest.cc EXPECT_NE("0,0 100x100", window->layer()->bounds().ToString()); window 2392 ui/aura/window_unittest.cc virtual void OnWindowAddedToRootWindow(Window* window) OVERRIDE { window 2395 ui/aura/window_unittest.cc virtual void OnWindowRemovingFromRootWindow(Window* window, window 3031 ui/aura/window_unittest.cc Window* window = new Window(delegate); window 3032 ui/aura/window_unittest.cc window->Init(window_type); window 3033 ui/aura/window_unittest.cc window->SetName(name); window 3035 ui/aura/window_unittest.cc if (window->layer()) window 3036 ui/aura/window_unittest.cc window->layer()->set_name(name); window 3037 ui/aura/window_unittest.cc return window; window 3076 ui/aura/window_unittest.cc Window* window = window 3078 ui/aura/window_unittest.cc parent->AddChild(window); window 3087 ui/aura/window_unittest.cc std::string BuildWindowTreeDescription(const aura::Window& window) { window 3089 ui/aura/window_unittest.cc result += window.name(); window 3090 ui/aura/window_unittest.cc if (window.children().empty()) window 3094 ui/aura/window_unittest.cc for (size_t i = 0; i < window.children().size(); ++i) { window 3097 ui/aura/window_unittest.cc result += BuildWindowTreeDescription(*(window.children()[i])); window 3106 ui/aura/window_unittest.cc std::string BuildRootWindowTreeDescription(const aura::Window& window) { window 3108 ui/aura/window_unittest.cc for (size_t i = 0; i < window.children().size(); ++i) { window 3111 ui/aura/window_unittest.cc result += BuildWindowTreeDescription(*(window.children()[i])); window 18 ui/base/android/view_android.cc ViewAndroid::ViewAndroid(JNIEnv* env, jobject obj, WindowAndroid* window) window 20 ui/base/android/view_android.cc window_android_(window) {} window 45 ui/base/android/view_android.cc jlong Init(JNIEnv* env, jobject obj, jlong window) { window 47 ui/base/android/view_android.cc env, obj, reinterpret_cast<ui::WindowAndroid*>(window)); window 21 ui/base/android/view_android.h ViewAndroid(JNIEnv* env, jobject obj, WindowAndroid* window); window 97 ui/base/android/window_android.cc WindowAndroid* window = new WindowAndroid(env, obj); window 98 ui/base/android/window_android.cc return reinterpret_cast<intptr_t>(window); window 9 ui/base/base_window.cc bool BaseWindow::IsRestored(const BaseWindow& window) { window 10 ui/base/base_window.cc return !window.IsMaximized() && window 11 ui/base/base_window.cc !window.IsMinimized() && window 12 ui/base/base_window.cc !window.IsFullscreen(); window 38 ui/base/base_window.h static bool IsRestored(const BaseWindow& window); window 23 ui/base/cocoa/focus_tracker.h - (id)initWithWindow:(NSWindow*)window; window 28 ui/base/cocoa/focus_tracker.h - (BOOL)restoreFocusInWindow:(NSWindow*)window; window 28 ui/base/cocoa/fullscreen_window_manager.h - (id)initWithWindow:(NSWindow*)window window 35 ui/base/cocoa/tracking_area.h - (void)clearOwnerWhenWindowWillClose:(NSWindow*)window; window 62 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h virtual void SetBitmapCursor(gfx::AcceleratedWidget window, window 11 ui/base/gtk/event_synthesis_gtk.cc GdkEvent* SynthesizeKeyEvent(GdkWindow* window, window 16 ui/base/gtk/event_synthesis_gtk.cc event->key.window = window; window 17 ui/base/gtk/event_synthesis_gtk.cc if (window) window 18 ui/base/gtk/event_synthesis_gtk.cc g_object_ref(window); window 41 ui/base/gtk/event_synthesis_gtk.cc void SynthesizeKeyPressEvents(GdkWindow* window, window 47 ui/base/gtk/event_synthesis_gtk.cc SynthesizeKeyEvent(window, true, GDK_Control_L, 0)); window 50 ui/base/gtk/event_synthesis_gtk.cc events->push_back(SynthesizeKeyEvent(window, true, GDK_Shift_L, window 58 ui/base/gtk/event_synthesis_gtk.cc SynthesizeKeyEvent(window, true, GDK_Alt_L, state)); window 68 ui/base/gtk/event_synthesis_gtk.cc events->push_back(SynthesizeKeyEvent(window, true, gdk_key, state)); window 69 ui/base/gtk/event_synthesis_gtk.cc events->push_back(SynthesizeKeyEvent(window, false, gdk_key, state)); window 75 ui/base/gtk/event_synthesis_gtk.cc SynthesizeKeyEvent(window, false, GDK_Alt_L, state)); window 80 ui/base/gtk/event_synthesis_gtk.cc SynthesizeKeyEvent(window, false, GDK_Shift_L, window 86 ui/base/gtk/event_synthesis_gtk.cc SynthesizeKeyEvent(window, false, GDK_Control_L, GDK_CONTROL_MASK)); window 29 ui/base/gtk/event_synthesis_gtk.h UI_BASE_EXPORT void SynthesizeKeyPressEvents(GdkWindow* window, window 26 ui/base/gtk/focus_store_gtk.cc GtkWindow* window = GTK_IS_WINDOW(toplevel) ? GTK_WINDOW(toplevel) : NULL; window 27 ui/base/gtk/focus_store_gtk.cc if (window) window 28 ui/base/gtk/focus_store_gtk.cc focus_widget = gtk_window_get_focus(window); window 30 ui/base/gtk/gtk_screen_util.cc GdkWindow* window = gtk_widget_get_window(widget); window 32 ui/base/gtk/gtk_screen_util.cc if (!window) { window 38 ui/base/gtk/gtk_screen_util.cc gdk_window_get_origin(window, &x, &y); window 47 ui/base/test/ui_controls.h bool SendKeyPress(gfx::NativeWindow window, window 53 ui/base/test/ui_controls.h bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, window 20 ui/base/test/ui_controls_aura.cc bool SendKeyPress(gfx::NativeWindow window, window 28 ui/base/test/ui_controls_aura.cc window, key, control, shift, alt, command); window 32 ui/base/test/ui_controls_aura.cc bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, window 41 ui/base/test/ui_controls_aura.cc window, key, control, shift, alt, command, task); window 21 ui/base/test/ui_controls_aura.h virtual bool SendKeyPress(gfx::NativeWindow window, window 27 ui/base/test/ui_controls_aura.h virtual bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, window 75 ui/base/test/ui_controls_gtk.cc event->motion.window = gtk_widget_get_window(grab_widget); window 77 ui/base/test/ui_controls_gtk.cc event->motion.window = gdk_window_at_pointer(&x, &y); window 79 ui/base/test/ui_controls_gtk.cc g_object_ref(event->motion.window); window 81 ui/base/test/ui_controls_gtk.cc gdk_window_get_origin(event->motion.window, &window_x, &window_y); window 102 ui/base/test/ui_controls_gtk.cc bool SendKeyPress(gfx::NativeWindow window, window 115 ui/base/test/ui_controls_gtk.cc } else if (window) { window 116 ui/base/test/ui_controls_gtk.cc event_window = gtk_widget_get_window(GTK_WIDGET(window)); window 146 ui/base/test/ui_controls_gtk.cc bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, window 164 ui/base/test/ui_controls_gtk.cc return SendKeyPress(window, key, control, shift, alt, command); window 197 ui/base/test/ui_controls_gtk.cc event->button.window = gtk_widget_get_window(grab_widget); window 198 ui/base/test/ui_controls_gtk.cc gdk_window_get_pointer(event->button.window, &x, &y, NULL); window 200 ui/base/test/ui_controls_gtk.cc event->button.window = gdk_window_at_pointer(&x, &y); window 201 ui/base/test/ui_controls_gtk.cc CHECK(event->button.window); window 204 ui/base/test/ui_controls_gtk.cc g_object_ref(event->button.window); window 208 ui/base/test/ui_controls_gtk.cc gdk_window_get_origin(event->button.window, &origin_x, &origin_y); window 214 ui/base/test/ui_controls_gtk.cc gdk_window_get_pointer(event->button.window, NULL, NULL, &modifier); window 169 ui/base/test/ui_controls_internal_win.cc bool SendKeyPressImpl(HWND window, window 178 ui/base/test/ui_controls_internal_win.cc ::GetWindow(::GetActiveWindow(), GW_OWNER) == window) ? window 180 ui/base/test/ui_controls_internal_win.cc window; window 181 ui/base/test/ui_controls_internal_win.cc if (window && ::GetForegroundWindow() != target_window) window 19 ui/base/test/ui_controls_win.cc bool SendKeyPress(gfx::NativeWindow window, window 27 ui/base/test/ui_controls_win.cc return internal::SendKeyPressImpl(window, key, control, shift, alt, window 31 ui/base/test/ui_controls_win.cc bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, window 40 ui/base/test/ui_controls_win.cc return internal::SendKeyPressImpl(window, key, control, shift, alt, task); window 13 ui/base/win/foreground_helper.cc HRESULT ForegroundHelper::SetForeground(HWND window) { window 14 ui/base/win/foreground_helper.cc DCHECK(::IsWindow(window)); window 16 ui/base/win/foreground_helper.cc return foreground_helper.ForegroundHotKey(window); window 19 ui/base/win/foreground_helper.cc HRESULT ForegroundHelper::ForegroundHotKey(HWND window) { window 33 ui/base/win/foreground_helper.cc window_ = window; window 63 ui/base/win/foreground_helper.cc SetForegroundWindow(window); window 32 ui/base/win/foreground_helper.h static HRESULT SetForeground(HWND window); window 35 ui/base/win/foreground_helper.h HRESULT ForegroundHotKey(HWND window); window 24 ui/base/win/hwnd_subclass_unittest.cc virtual BOOL ProcessWindowMessage(HWND window, window 71 ui/base/win/hwnd_subclass_unittest.cc TestWindow window; window 72 ui/base/win/hwnd_subclass_unittest.cc window.Init(NULL, gfx::Rect(0, 0, 100, 100)); window 73 ui/base/win/hwnd_subclass_unittest.cc EXPECT_TRUE(window.hwnd() != NULL); window 77 ui/base/win/hwnd_subclass_unittest.cc HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf); window 81 ui/base/win/hwnd_subclass_unittest.cc ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); window 84 ui/base/win/hwnd_subclass_unittest.cc EXPECT_TRUE(window.saw_message); window 87 ui/base/win/hwnd_subclass_unittest.cc window.saw_message = false; window 92 ui/base/win/hwnd_subclass_unittest.cc ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); window 95 ui/base/win/hwnd_subclass_unittest.cc EXPECT_FALSE(window.saw_message); window 100 ui/base/win/hwnd_subclass_unittest.cc TestWindow window; window 101 ui/base/win/hwnd_subclass_unittest.cc window.Init(NULL, gfx::Rect(0, 0, 100, 100)); window 102 ui/base/win/hwnd_subclass_unittest.cc EXPECT_TRUE(window.hwnd() != NULL); window 107 ui/base/win/hwnd_subclass_unittest.cc HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf1); window 108 ui/base/win/hwnd_subclass_unittest.cc HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf2); window 112 ui/base/win/hwnd_subclass_unittest.cc ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); window 116 ui/base/win/hwnd_subclass_unittest.cc EXPECT_TRUE(window.saw_message); window 120 ui/base/win/hwnd_subclass_unittest.cc window.saw_message = false; window 125 ui/base/win/hwnd_subclass_unittest.cc ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); window 129 ui/base/win/hwnd_subclass_unittest.cc EXPECT_FALSE(window.saw_message); window 134 ui/base/win/hwnd_subclass_unittest.cc TestWindow window; window 135 ui/base/win/hwnd_subclass_unittest.cc window.Init(NULL, gfx::Rect(0, 0, 100, 100)); window 136 ui/base/win/hwnd_subclass_unittest.cc EXPECT_TRUE(window.hwnd() != NULL); window 141 ui/base/win/hwnd_subclass_unittest.cc HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf1); window 142 ui/base/win/hwnd_subclass_unittest.cc HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf2); window 144 ui/base/win/hwnd_subclass_unittest.cc ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); window 147 ui/base/win/hwnd_subclass_unittest.cc EXPECT_TRUE(window.saw_message); window 151 ui/base/win/hwnd_subclass_unittest.cc window.saw_message = false; window 155 ui/base/win/hwnd_subclass_unittest.cc ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); window 158 ui/base/win/hwnd_subclass_unittest.cc EXPECT_TRUE(window.saw_message); window 20 ui/base/win/mouse_wheel_util.cc static bool WindowSupportsRerouteMouseWheel(HWND window) { window 21 ui/base/win/mouse_wheel_util.cc while (GetWindowLong(window, GWL_STYLE) & WS_CHILD) { window 22 ui/base/win/mouse_wheel_util.cc if (!IsWindow(window)) window 25 ui/base/win/mouse_wheel_util.cc if (ViewProp::GetValue(window, kHWNDSupportMouseWheelRerouting) != NULL) { window 28 ui/base/win/mouse_wheel_util.cc window = GetParent(window); window 33 ui/base/win/mouse_wheel_util.cc static bool IsCompatibleWithMouseWheelRedirection(HWND window) { window 34 ui/base/win/mouse_wheel_util.cc std::wstring class_name = gfx::GetClassName(window); window 41 ui/base/win/mouse_wheel_util.cc static bool CanRedirectMouseWheelFrom(HWND window) { window 42 ui/base/win/mouse_wheel_util.cc std::wstring class_name = gfx::GetClassName(window); window 60 ui/base/win/mouse_wheel_util.cc bool RerouteMouseWheel(HWND window, WPARAM w_param, LPARAM l_param) { window 69 ui/base/win/mouse_wheel_util.cc if (!IsCompatibleWithMouseWheelRedirection(window)) window 81 ui/base/win/mouse_wheel_util.cc while (window != window_under_wheel) { window 89 ui/base/win/mouse_wheel_util.cc if (IsChild(window, window_under_wheel)) { window 29 ui/base/win/mouse_wheel_util.h UI_BASE_EXPORT bool RerouteMouseWheel(HWND window, window 121 ui/base/x/x11_util.cc bool GetProperty(XID window, const std::string& property_name, long max_length, window 127 ui/base/x/x11_util.cc window, window 538 ui/base/x/x11_util.cc XID GetX11WindowFromGdkWindow(GdkWindow* window) { window 539 ui/base/x/x11_util.cc return GDK_WINDOW_XID(window); window 560 ui/base/x/x11_util.cc void SetHideTitlebarWhenMaximizedProperty(XID window, window 565 ui/base/x/x11_util.cc window, window 594 ui/base/x/x11_util.cc bool IsWindowVisible(XID window) { window 598 ui/base/x/x11_util.cc if (!XGetWindowAttributes(gfx::GetXDisplay(), window, &win_attributes)) window 605 ui/base/x/x11_util.cc if (GetAtomArrayProperty(window, "_NET_WM_STATE", &wm_states)) { window 616 ui/base/x/x11_util.cc return (!GetWindowDesktop(window, &window_desktop) || window 622 ui/base/x/x11_util.cc bool GetWindowRect(XID window, gfx::Rect* rect) { window 628 ui/base/x/x11_util.cc if (!XGetGeometry(gfx::GetXDisplay(), window, &root, &x, &y, window 632 ui/base/x/x11_util.cc if (!XTranslateCoordinates(gfx::GetXDisplay(), window, root, window 639 ui/base/x/x11_util.cc if (GetIntArrayProperty(window, "_NET_FRAME_EXTENTS", &insets) && window 650 ui/base/x/x11_util.cc bool WindowContainsPoint(XID window, gfx::Point screen_loc) { window 654 ui/base/x/x11_util.cc if (!GetWindowRect(window, &window_rect)) window 683 ui/base/x/x11_util.cc window, window 710 ui/base/x/x11_util.cc bool PropertyExists(XID window, const std::string& property_name) { window 716 ui/base/x/x11_util.cc int result = GetProperty(window, property_name, 1, window 725 ui/base/x/x11_util.cc bool GetRawBytesOfProperty(XID window, window 737 ui/base/x/x11_util.cc if (XGetWindowProperty(gfx::GetXDisplay(), window, property, window 783 ui/base/x/x11_util.cc bool GetIntProperty(XID window, const std::string& property_name, int* value) { window 789 ui/base/x/x11_util.cc int result = GetProperty(window, property_name, 1, window 804 ui/base/x/x11_util.cc bool GetXIDProperty(XID window, const std::string& property_name, XID* value) { window 810 ui/base/x/x11_util.cc int result = GetProperty(window, property_name, 1, window 825 ui/base/x/x11_util.cc bool GetIntArrayProperty(XID window, window 833 ui/base/x/x11_util.cc int result = GetProperty(window, property_name, window 853 ui/base/x/x11_util.cc bool GetAtomArrayProperty(XID window, window 861 ui/base/x/x11_util.cc int result = GetProperty(window, property_name, window 880 ui/base/x/x11_util.cc XID window, const std::string& property_name, std::string* value) { window 886 ui/base/x/x11_util.cc int result = GetProperty(window, property_name, 1024, window 901 ui/base/x/x11_util.cc bool SetIntProperty(XID window, window 906 ui/base/x/x11_util.cc return SetIntArrayProperty(window, name, type, values); window 909 ui/base/x/x11_util.cc bool SetIntArrayProperty(XID window, window 924 ui/base/x/x11_util.cc window, window 934 ui/base/x/x11_util.cc bool SetAtomArrayProperty(XID window, window 949 ui/base/x/x11_util.cc window, window 959 ui/base/x/x11_util.cc bool SetStringProperty(XID window, window 965 ui/base/x/x11_util.cc window, window 986 ui/base/x/x11_util.cc XID window, window 995 ui/base/x/x11_util.cc XSetClassHint(display, window, &class_hints); window 998 ui/base/x/x11_util.cc void SetWindowRole(XDisplay* display, XID window, const std::string& role) { window 1000 ui/base/x/x11_util.cc XDeleteProperty(display, window, GetAtom("WM_WINDOW_ROLE")); window 1003 ui/base/x/x11_util.cc XChangeProperty(display, window, GetAtom("WM_WINDOW_ROLE"), XA_STRING, 8, window 1010 ui/base/x/x11_util.cc XID GetParentWindow(XID window) { window 1015 ui/base/x/x11_util.cc XQueryTree(gfx::GetXDisplay(), window, &root, &parent, &children, &num_children); window 1021 ui/base/x/x11_util.cc XID GetHighestAncestorWindow(XID window, XID root) { window 1023 ui/base/x/x11_util.cc XID parent = GetParentWindow(window); window 1027 ui/base/x/x11_util.cc return window; window 1028 ui/base/x/x11_util.cc window = parent; window 1052 ui/base/x/x11_util.cc bool GetWindowDesktop(XID window, int* desktop) { window 1053 ui/base/x/x11_util.cc return GetIntProperty(window, "_NET_WM_DESKTOP", desktop); window 1063 ui/base/x/x11_util.cc bool IsWindowNamed(XID window) { window 1065 ui/base/x/x11_util.cc if (!XGetWMName(gfx::GetXDisplay(), window, &prop) || !prop.value) window 1072 ui/base/x/x11_util.cc bool EnumerateChildren(EnumerateWindowsDelegate* delegate, XID window, window 1091 ui/base/x/x11_util.cc int status = XQueryTree(gfx::GetXDisplay(), window, &root, &parent, &children, window 1147 ui/base/x/x11_util.cc bool GetXWindowStack(Window window, std::vector<XID>* windows) { window 1154 ui/base/x/x11_util.cc if (GetProperty(window, window 1178 ui/base/x/x11_util.cc void RestackWindow(XID window, XID sibling, bool above) { window 1182 ui/base/x/x11_util.cc XConfigureWindow(gfx::GetXDisplay(), window, CWSibling | CWStackMode, &changes); window 1344 ui/base/x/x11_util.cc bool ChangeWindowDesktop(XID window, XID destination) { window 1356 ui/base/x/x11_util.cc event.xclient.window = window; window 1371 ui/base/x/x11_util.cc bool IsX11WindowFullScreen(XID window) { window 1384 ui/base/x/x11_util.cc if (GetAtomArrayProperty(window, window 1394 ui/base/x/x11_util.cc if (!ui::GetWindowRect(window, &window_rect)) window 125 ui/base/x/x11_util.h XID GetX11WindowFromGdkWindow(GdkWindow* window); window 143 ui/base/x/x11_util.h XID window, window 150 ui/base/x/x11_util.h UI_BASE_EXPORT bool IsWindowVisible(XID window); window 153 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetWindowRect(XID window, gfx::Rect* rect); window 156 ui/base/x/x11_util.h UI_BASE_EXPORT bool WindowContainsPoint(XID window, gfx::Point screen_loc); window 159 ui/base/x/x11_util.h UI_BASE_EXPORT bool PropertyExists(XID window, window 165 ui/base/x/x11_util.h XID window, window 177 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetIntProperty(XID window, window 180 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetXIDProperty(XID window, window 183 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetIntArrayProperty(XID window, window 186 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetAtomArrayProperty(XID window, window 189 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetStringProperty(XID window, window 194 ui/base/x/x11_util.h UI_BASE_EXPORT bool SetIntProperty(XID window, window 198 ui/base/x/x11_util.h UI_BASE_EXPORT bool SetIntArrayProperty(XID window, window 202 ui/base/x/x11_util.h UI_BASE_EXPORT bool SetAtomArrayProperty(XID window, window 206 ui/base/x/x11_util.h UI_BASE_EXPORT bool SetStringProperty(XID window, window 216 ui/base/x/x11_util.h XID window, window 222 ui/base/x/x11_util.h XID window, window 226 ui/base/x/x11_util.h UI_BASE_EXPORT XID GetParentWindow(XID window); window 229 ui/base/x/x11_util.h XID GetHighestAncestorWindow(XID window, XID root); window 238 ui/base/x/x11_util.h bool GetWindowDesktop(XID window, int* desktop); window 266 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetXWindowStack(XID window, std::vector<XID>* windows); window 272 ui/base/x/x11_util.h void RestackWindow(XID window, XID sibling, bool above); window 317 ui/base/x/x11_util.h UI_BASE_EXPORT bool ChangeWindowDesktop(XID window, XID destination); window 325 ui/base/x/x11_util.h UI_BASE_EXPORT bool IsX11WindowFullScreen(XID window); window 69 ui/compositor/test/test_compositor_host_x11.cc if (event.type == MapNotify && event.xmap.window == window_) window 26 ui/events/ozone/evdev/cursor_delegate_evdev.h virtual gfx::AcceleratedWidget window() = 0; window 155 ui/events/platform/x11/x11_event_source.cc void X11EventSource::BlockUntilWindowMapped(XID window) { window 160 ui/events/platform/x11/x11_event_source.cc XWindowEvent(display_, window, StructureNotifyMask, &event); window 42 ui/events/platform/x11/x11_event_source.h void BlockUntilWindowMapped(XID window); window 38 ui/events/test/cocoa_test_event_utils.h NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window); window 155 ui/events/test/events_test_utils_x11.cc event_->xkey.window = 0; window 188 ui/events/x/touch_factory_x11.cc void TouchFactory::SetupXI2ForXWindow(Window window) { window 214 ui/events/x/touch_factory_x11.cc XISelectEvents(display, window, &evmask, 1); window 17 ui/gfx/canvas_paint_gtk.cc window_(event->window), window 25 ui/gfx/canvas_paint_gtk.cc window_(event->window), window 21 ui/gfx/gdk_compat.h Window window) { window 23 ui/gfx/gdk_compat.h window)); window 53 ui/gfx/gtk_compat.h widget->style = gtk_style_attach(widget->style, widget->window); window 76 ui/gfx/gtk_compat.h inline GdkDisplay* gdk_window_get_display(GdkWindow* window) { window 77 ui/gfx/gtk_compat.h return gdk_drawable_get_display(GDK_DRAWABLE(window)); window 80 ui/gfx/gtk_compat.h inline int gdk_window_get_height(GdkWindow* window) { window 82 ui/gfx/gtk_compat.h gdk_drawable_get_size(GDK_DRAWABLE(window), NULL, &height); window 86 ui/gfx/gtk_compat.h inline GdkScreen* gdk_window_get_screen(GdkWindow* window) { window 87 ui/gfx/gtk_compat.h return gdk_drawable_get_screen(GDK_DRAWABLE(window)); window 90 ui/gfx/gtk_compat.h inline int gdk_window_get_width(GdkWindow* window) { window 92 ui/gfx/gtk_compat.h gdk_drawable_get_size(GDK_DRAWABLE(window), &width, NULL); window 178 ui/gfx/gtk_native_view_id_manager.cc GdkWindow* window = reinterpret_cast<GdkWindow*>( window 180 ui/gfx/gtk_native_view_id_manager.cc DCHECK(window); window 181 ui/gfx/gtk_native_view_id_manager.cc gdk_window_destroy(window); window 156 ui/gfx/gtk_preserve_window.cc gboolean gtk_preserve_window_get_preserve(GtkPreserveWindow* window) { window 157 ui/gfx/gtk_preserve_window.cc g_return_val_if_fail(GTK_IS_PRESERVE_WINDOW(window), FALSE); window 158 ui/gfx/gtk_preserve_window.cc GtkPreserveWindowPrivate* priv = GTK_PRESERVE_WINDOW_GET_PRIVATE(window); window 163 ui/gfx/gtk_preserve_window.cc void gtk_preserve_window_set_preserve(GtkPreserveWindow* window, window 165 ui/gfx/gtk_preserve_window.cc g_return_if_fail(GTK_IS_PRESERVE_WINDOW(window)); window 166 ui/gfx/gtk_preserve_window.cc GtkPreserveWindowPrivate* priv = GTK_PRESERVE_WINDOW_GET_PRIVATE(window); window 169 ui/gfx/gtk_preserve_window.cc GtkWidget* widget = GTK_WIDGET(window); window 303 ui/gfx/ozone/dri/dri_surface_factory.cc void DriSurfaceFactory::SetHardwareCursor(gfx::AcceleratedWidget window, window 315 ui/gfx/ozone/dri/dri_surface_factory.cc void DriSurfaceFactory::MoveHardwareCursor(gfx::AcceleratedWidget window, window 325 ui/gfx/ozone/dri/dri_surface_factory.cc void DriSurfaceFactory::UnsetHardwareCursor(gfx::AcceleratedWidget window) { window 47 ui/gfx/ozone/dri/dri_surface_factory.h void SetHardwareCursor(AcceleratedWidget window, window 51 ui/gfx/ozone/dri/dri_surface_factory.h void MoveHardwareCursor(AcceleratedWidget window, const gfx::Point& location); window 53 ui/gfx/ozone/dri/dri_surface_factory.h void UnsetHardwareCursor(AcceleratedWidget window); window 69 ui/gfx/screen_gtk.cc GtkWindow* window = GTK_WINDOW(top_level); window 70 ui/gfx/screen_gtk.cc screen = gtk_window_get_screen(window); window 98 ui/gfx/screen_gtk.cc GdkWindow* window = gdk_window_at_pointer(NULL, NULL); window 99 ui/gfx/screen_gtk.cc if (!window) window 103 ui/gfx/screen_gtk.cc gdk_window_get_user_data(window, &data); window 92 ui/gfx/screen_win.cc gfx::Display ScreenWin::GetDisplayNearestWindow(gfx::NativeView window) const { window 93 ui/gfx/screen_win.cc HWND window_hwnd = GetHWNDFromNativeView(window); window 148 ui/gfx/screen_win.cc HWND ScreenWin::GetHWNDFromNativeView(NativeView window) const { window 153 ui/gfx/screen_win.cc return window; window 29 ui/gfx/screen_win.h gfx::NativeView window) const OVERRIDE; window 39 ui/gfx/screen_win.h virtual HWND GetHWNDFromNativeView(NativeView window) const; window 73 ui/gfx/win/hwnd_util.cc base::string16 GetClassName(HWND window) { window 82 ui/gfx/win/hwnd_util.cc GetClassNameW(window, WriteInto(&output, buffer_size), buffer_size); window 124 ui/gfx/win/hwnd_util.cc bool DoesWindowBelongToActiveWindow(HWND window) { window 125 ui/gfx/win/hwnd_util.cc DCHECK(window); window 126 ui/gfx/win/hwnd_util.cc HWND top_window = ::GetAncestor(window, GA_ROOT); window 135 ui/gfx/win/hwnd_util.cc HWND window, window 137 ui/gfx/win/hwnd_util.cc DCHECK(window && pref.width() > 0 && pref.height() > 0); window 149 ui/gfx/win/hwnd_util.cc HMONITOR monitor = MonitorFromWindow(window, MONITOR_DEFAULTTONEAREST); window 177 ui/gfx/win/hwnd_util.cc if (::GetWindowLong(window, GWL_STYLE) & WS_CHILD) { window 178 ui/gfx/win/hwnd_util.cc DCHECK(parent && ::GetParent(window) == parent); window 187 ui/gfx/win/hwnd_util.cc AdjustWindowToFit(window, window_bounds, !parent); window 207 ui/gfx/win/hwnd_util.cc void ShowSystemMenu(HWND window) { window 209 ui/gfx/win/hwnd_util.cc GetWindowRect(window, &rect); window 214 ui/gfx/win/hwnd_util.cc ShowSystemMenuAtPoint(window, point); window 217 ui/gfx/win/hwnd_util.cc void ShowSystemMenuAtPoint(HWND window, const Point& point) { window 224 ui/gfx/win/hwnd_util.cc HMENU menu = GetSystemMenu(window, FALSE); window 226 ui/gfx/win/hwnd_util.cc TrackPopupMenu(menu, flags, point.x(), point.y(), 0, window, NULL); window 228 ui/gfx/win/hwnd_util.cc SendMessage(window, WM_SYSCOMMAND, command, 0); window 31 ui/gfx/win/hwnd_util.h GFX_EXPORT bool DoesWindowBelongToActiveWindow(HWND window); window 36 ui/gfx/win/hwnd_util.h HWND window, window 44 ui/gfx/win/hwnd_util.h GFX_EXPORT void ShowSystemMenu(HWND window); window 45 ui/gfx/win/hwnd_util.h GFX_EXPORT void ShowSystemMenuAtPoint(HWND window, const gfx::Point& point); window 27 ui/gfx/win/singleton_hwnd.cc BOOL SingletonHwnd::ProcessWindowMessage(HWND window, window 35 ui/gfx/win/singleton_hwnd.cc OnWndProc(window, message, wparam, lparam)); window 40 ui/gfx/win/singleton_hwnd.h virtual BOOL ProcessWindowMessage(HWND window, window 253 ui/gfx/win/window_impl.cc WindowImpl* window = reinterpret_cast<WindowImpl*>(cs->lpCreateParams); window 254 ui/gfx/win/window_impl.cc DCHECK(window); window 255 ui/gfx/win/window_impl.cc gfx::SetWindowUserData(hwnd, window); window 256 ui/gfx/win/window_impl.cc window->hwnd_ = hwnd; window 257 ui/gfx/win/window_impl.cc window->got_create_ = true; window 259 ui/gfx/win/window_impl.cc window->got_valid_hwnd_ = true; window 263 ui/gfx/win/window_impl.cc WindowImpl* window = reinterpret_cast<WindowImpl*>(GetWindowUserData(hwnd)); window 264 ui/gfx/win/window_impl.cc if (!window) window 267 ui/gfx/win/window_impl.cc return window->OnWndProc(message, w_param, l_param); window 23 ui/gfx/win/window_impl.h virtual BOOL ProcessWindowMessage(HWND window, window 84 ui/gfx/win/window_impl.h static LRESULT CALLBACK WndProc(HWND window, window 53 ui/gl/gl_image.h static scoped_refptr<GLImage> CreateGLImage(gfx::PluginWindowHandle window); window 16 ui/gl/gl_image_android.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { window 45 ui/gl/gl_image_glx.cc GLImageGLX::GLImageGLX(gfx::PluginWindowHandle window) window 47 ui/gl/gl_image_glx.cc window_(window), window 17 ui/gl/gl_image_glx.h explicit GLImageGLX(gfx::PluginWindowHandle window); window 15 ui/gl/gl_image_mac.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { window 14 ui/gl/gl_image_ozone.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { window 14 ui/gl/gl_image_win.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { window 15 ui/gl/gl_image_x11.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { window 21 ui/gl/gl_image_x11.cc scoped_refptr<GLImageGLX> image(new GLImageGLX(window)); window 107 ui/gl/gl_surface.h gfx::AcceleratedWidget window); window 34 ui/gl/gl_surface_android.cc gfx::AcceleratedWidget window) { window 43 ui/gl/gl_surface_android.cc if (window != kNullAcceleratedWidget) { window 44 ui/gl/gl_surface_android.cc scoped_refptr<GLSurface> surface = new NativeViewGLSurfaceEGL(window); window 314 ui/gl/gl_surface_egl.cc NativeViewGLSurfaceEGL::NativeViewGLSurfaceEGL(EGLNativeWindowType window) window 315 ui/gl/gl_surface_egl.cc : window_(window), window 321 ui/gl/gl_surface_egl.cc if (window) window 322 ui/gl/gl_surface_egl.cc ANativeWindow_acquire(window); window 56 ui/gl/gl_surface_egl.h explicit NativeViewGLSurfaceEGL(EGLNativeWindowType window); window 59 ui/gl/gl_surface_glx.cc explicit OMLSyncControlVSyncProvider(gfx::AcceleratedWidget window) window 61 ui/gl/gl_surface_glx.cc window_(window) { window 127 ui/gl/gl_surface_glx.cc explicit SGIVideoSyncProviderThreadShim(XID window) window 128 ui/gl/gl_surface_glx.cc : window_(window), window 232 ui/gl/gl_surface_glx.cc explicit SGIVideoSyncVSyncProvider(gfx::AcceleratedWidget window) window 234 ui/gl/gl_surface_glx.cc shim_(new SGIVideoSyncProviderThreadShim(window)), window 341 ui/gl/gl_surface_glx.cc xevent->xexpose.window); window 347 ui/gl/gl_surface_glx.cc forwarded_event.xexpose.window = target_window; window 525 ui/gl/gl_surface_glx.cc NativeViewGLSurfaceGLX::NativeViewGLSurfaceGLX(gfx::AcceleratedWidget window) window 526 ui/gl/gl_surface_glx.cc : parent_window_(window), window 53 ui/gl/gl_surface_glx.h explicit NativeViewGLSurfaceGLX(gfx::AcceleratedWidget window); window 36 ui/gl/gl_surface_mac.cc gfx::AcceleratedWidget window) { window 41 ui/gl/gl_surface_mac.cc scoped_refptr<GLSurface> surface(new GLSurfaceNSView(window)); window 67 ui/gl/gl_surface_ozone.cc gfx::AcceleratedWidget window) { window 75 ui/gl/gl_surface_ozone.cc if (window != kNullAcceleratedWidget) { window 77 ui/gl/gl_surface_ozone.cc SurfaceFactoryOzone::GetInstance()->CreateSurfaceForWidget(window); window 37 ui/gl/gl_surface_wgl.cc LRESULT CALLBACK IntermediateWindowProc(HWND window, window 48 ui/gl/gl_surface_wgl.cc if (BeginPaint(window, &paint)) window 49 ui/gl/gl_surface_wgl.cc EndPaint(window, &paint); window 52 ui/gl/gl_surface_wgl.cc return DefWindowProc(window, message, w_param, l_param); window 177 ui/gl/gl_surface_wgl.cc NativeViewGLSurfaceWGL::NativeViewGLSurfaceWGL(gfx::AcceleratedWidget window) window 178 ui/gl/gl_surface_wgl.cc : window_(window), window 181 ui/gl/gl_surface_wgl.cc DCHECK(window); window 32 ui/gl/gl_surface_wgl.h explicit NativeViewGLSurfaceWGL(gfx::AcceleratedWidget window); window 36 ui/gl/gl_surface_win.cc explicit NativeViewGLSurfaceOSMesa(gfx::AcceleratedWidget window); window 114 ui/gl/gl_surface_win.cc gfx::AcceleratedWidget window) window 116 ui/gl/gl_surface_win.cc window_(window), window 118 ui/gl/gl_surface_win.cc DCHECK(window); window 224 ui/gl/gl_surface_win.cc gfx::AcceleratedWidget window) { window 229 ui/gl/gl_surface_win.cc new NativeViewGLSurfaceOSMesa(window)); window 236 ui/gl/gl_surface_win.cc DCHECK(window != gfx::kNullAcceleratedWidget); window 238 ui/gl/gl_surface_win.cc new NativeViewGLSurfaceEGL(window)); window 249 ui/gl/gl_surface_win.cc window)); window 26 ui/gl/gl_surface_x11.cc explicit NativeViewGLSurfaceOSMesa(gfx::AcceleratedWidget window); window 80 ui/gl/gl_surface_x11.cc gfx::AcceleratedWidget window) window 84 ui/gl/gl_surface_x11.cc window_(window), window 275 ui/gl/gl_surface_x11.cc gfx::AcceleratedWidget window) { window 280 ui/gl/gl_surface_x11.cc new NativeViewGLSurfaceOSMesa(window)); window 287 ui/gl/gl_surface_x11.cc scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceGLX(window)); window 294 ui/gl/gl_surface_x11.cc DCHECK(window != gfx::kNullAcceleratedWidget); window 295 ui/gl/gl_surface_x11.cc scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceEGL(window)); window 56 ui/keyboard/keyboard_controller.cc virtual bool GetHitTestMask(aura::Window* window, window 59 ui/keyboard/keyboard_controller.cc keyboard::DefaultKeyboardBoundsFromWindowBounds(window->bounds()); window 102 ui/keyboard/keyboard_controller.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} window 103 ui/keyboard/keyboard_controller.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { delete this; } window 137 ui/keyboard/keyboard_controller_unittest.cc explicit KeyboardContainerObserver(aura::Window* window) : window_(window) { window 145 ui/keyboard/keyboard_controller_unittest.cc virtual void OnWindowVisibilityChanged(aura::Window* window, window 234 ui/keyboard/keyboard_controller_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(&delegate)); window 235 ui/keyboard/keyboard_controller_unittest.cc window->Init(aura::WINDOW_LAYER_NOT_DRAWN); window 236 ui/keyboard/keyboard_controller_unittest.cc window->SetBounds(root_bounds); window 237 ui/keyboard/keyboard_controller_unittest.cc root_window()->AddChild(window.get()); window 238 ui/keyboard/keyboard_controller_unittest.cc window->Show(); window 239 ui/keyboard/keyboard_controller_unittest.cc window->Focus(); window 249 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->IsVisible()); window 251 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->HasFocus()); window 262 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->HasFocus()); window 278 ui/keyboard/keyboard_controller_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(&delegate)); window 279 ui/keyboard/keyboard_controller_unittest.cc window->Init(aura::WINDOW_LAYER_NOT_DRAWN); window 280 ui/keyboard/keyboard_controller_unittest.cc window->SetBounds(root_bounds); window 281 ui/keyboard/keyboard_controller_unittest.cc root_window()->AddChild(window.get()); window 282 ui/keyboard/keyboard_controller_unittest.cc window->Show(); window 283 ui/keyboard/keyboard_controller_unittest.cc window->Focus(); window 293 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->IsVisible()); window 295 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->HasFocus()); window 311 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(window.get(), targeter->FindTargetForEvent(root, &mouse2)); window 209 ui/keyboard/keyboard_util.cc ui::InputMethod* input_method = host->window()->GetProperty( window 328 ui/native_theme/native_theme_win.h typedef HANDLE (WINAPI* OpenThemeDataPtr)(HWND window, window 36 ui/ozone/platform/dri/cursor_factory_evdev_dri.h virtual gfx::AcceleratedWidget window() OVERRIDE; window 512 ui/shell_dialogs/select_file_dialog_win.cc static int CALLBACK BrowseCallbackProc(HWND window, UINT message, window 717 ui/shell_dialogs/select_file_dialog_win.cc int CALLBACK SelectFileDialogImpl::BrowseCallbackProc(HWND window, window 724 ui/shell_dialogs/select_file_dialog_win.cc SendMessage(window, BFFM_SETSELECTION, TRUE, (LPARAM)data); window 19 ui/shell_dialogs/shell_dialogs_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) = 0; window 35 ui/snapshot/snapshot.h gfx::NativeWindow window, window 49 ui/snapshot/snapshot.h gfx::NativeWindow window, window 58 ui/snapshot/snapshot.h gfx::NativeWindow window, window 24 ui/snapshot/snapshot_android.cc bool GrabWindowSnapshot(gfx::NativeWindow window, window 32 ui/snapshot/snapshot_android.cc return window->GrabSnapshot( window 38 ui/snapshot/snapshot_android.cc gfx::NativeWindow window, window 55 ui/snapshot/snapshot_android.cc gfx::NativeWindow window, window 118 ui/snapshot/snapshot_aura.cc bool GrabWindowSnapshot(gfx::NativeWindow window, window 126 ui/snapshot/snapshot_aura.cc gfx::NativeWindow window, window 131 ui/snapshot/snapshot_aura.cc request->set_area(ui::ConvertRectToPixel(window->layer(), source_rect)); window 132 ui/snapshot/snapshot_aura.cc window->layer()->RequestCopyOfOutput(request.Pass()); window 136 ui/snapshot/snapshot_aura.cc gfx::NativeWindow window, window 141 ui/snapshot/snapshot_aura.cc MakeAsyncCopyRequest(window, window 150 ui/snapshot/snapshot_aura.cc gfx::NativeWindow window, window 154 ui/snapshot/snapshot_aura.cc MakeAsyncCopyRequest(window, window 88 ui/snapshot/snapshot_gtk.cc gfx::NativeWindow window, window 105 ui/snapshot/snapshot_gtk.cc gfx::NativeWindow window, window 123 ui/snapshot/snapshot_win.cc gfx::NativeWindow window, window 141 ui/snapshot/snapshot_win.cc gfx::NativeWindow window, window 83 ui/views/bubble/bubble_delegate.h void set_parent_window(gfx::NativeView window) { parent_window_ = window; } window 23 ui/views/bubble/bubble_window_targeter.cc bool BubbleWindowTargeter::GetHitTestMask(aura::Window* window, window 25 ui/views/bubble/bubble_window_targeter.h virtual bool GetHitTestMask(aura::Window* window, window 23 ui/views/controls/menu/display_change_listener_aura.cc virtual void OnWindowBoundsChanged(aura::Window* window, window 26 ui/views/controls/menu/display_change_listener_aura.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 49 ui/views/controls/menu/display_change_listener_aura.cc aura::Window* window, window 55 ui/views/controls/menu/display_change_listener_aura.cc void AuraDisplayChangeListener::OnWindowDestroying(aura::Window* window) { window 56 ui/views/controls/menu/display_change_listener_aura.cc DCHECK_EQ(window, root_window_); window 134 ui/views/controls/menu/menu_controller.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 459 ui/views/controls/menu/menu_controller.cc HWND window = ::WindowFromPoint(cursor_pos); window 460 ui/views/controls/menu/menu_controller.cc if (::GetWindowThreadProcessId(window, NULL) == window 462 ui/views/controls/menu/menu_controller.cc ::SetProp(window, ui::kIgnoreTouchMouseActivateForWindow, window 2122 ui/views/controls/menu/menu_controller.cc gfx::NativeWindow window = screen->GetWindowAtScreenPoint(screen_loc); window 2132 ui/views/controls/menu/menu_controller.cc if (view && window) { window 2134 ui/views/controls/menu/menu_controller.cc if (view_tid != GetWindowThreadProcessId(HWNDForNativeView(window), NULL)) { window 2143 ui/views/controls/menu/menu_controller.cc if (!window) window 2160 ui/views/controls/menu/menu_controller.cc RepostLocatedEvent(window, *clone); window 322 ui/views/controls/menu/native_menu_win.cc bool ProcessWindowMessage(HWND window, window 349 ui/views/controls/menu/native_menu_win.cc static LRESULT CALLBACK MenuHostWindowProc(HWND window, window 354 ui/views/controls/menu/native_menu_win.cc reinterpret_cast<MenuHostWindow*>(gfx::GetWindowUserData(window)); window 357 ui/views/controls/menu/native_menu_win.cc if (!host || !host->ProcessWindowMessage(window, message, w_param, l_param, window 359 ui/views/controls/menu/native_menu_win.cc return DefWindowProc(window, message, w_param, l_param); window 94 ui/views/controls/native/native_view_host_aura.cc aura::Window* window = host_->native_view(); window 95 ui/views/controls/native/native_view_host_aura.cc aura::client::FocusClient* client = aura::client::GetFocusClient(window); window 97 ui/views/controls/native/native_view_host_aura.cc client->FocusWindow(window); window 110 ui/views/controls/native/native_view_host_aura.cc void NativeViewHostAura::OnWindowDestroyed(aura::Window* window) { window 111 ui/views/controls/native/native_view_host_aura.cc DCHECK(window == host_->native_view()); window 41 ui/views/controls/native/native_view_host_aura.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 89 ui/views/controls/native/native_view_host_unittest.cc aura::Window* GetNativeParent(aura::Window* window) { window 90 ui/views/controls/native/native_view_host_unittest.cc return window->parent(); window 39 ui/views/corewm/capture_controller_unittest.cc second_host_->window()->Show(); window 42 ui/views/corewm/capture_controller_unittest.cc new wm::ScopedCaptureClient(second_host_->window())); window 49 ui/views/corewm/capture_controller_unittest.cc new DesktopScreenPositionClient(second_host_->window())); window 107 ui/views/corewm/capture_controller_unittest.cc CreateNormalWindow(2, second_host_->window(), NULL)); window 129 ui/views/corewm/capture_controller_unittest.cc CreateNormalWindow(2, second_host_->window(), NULL)); window 150 ui/views/corewm/capture_controller_unittest.cc CreateNormalWindow(2, second_host_->window(), NULL)); window 29 ui/views/corewm/tooltip.h virtual void SetText(aura::Window* window, window 222 ui/views/corewm/tooltip_aura.cc void TooltipAura::SetText(aura::Window* window, window 225 ui/views/corewm/tooltip_aura.cc tooltip_window_ = window; window 59 ui/views/corewm/tooltip_aura.h virtual void SetText(aura::Window* window, window 231 ui/views/corewm/tooltip_controller.cc void TooltipController::OnWindowDestroyed(aura::Window* window) { window 232 ui/views/corewm/tooltip_controller.cc if (tooltip_window_ == window) { window 53 ui/views/corewm/tooltip_controller.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 176 ui/views/corewm/tooltip_controller_unittest.cc aura::Window* window = GetWindow(); window 180 ui/views/corewm/tooltip_controller_unittest.cc generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint()); window 186 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, root_window->GetEventHandlerForPoint( window 189 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(expected_tooltip, aura::client::GetTooltipText(window)); window 191 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, helper_->GetTooltipWindow()); window 196 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, root_window->GetEventHandlerForPoint( window 199 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(expected_tooltip, aura::client::GetTooltipText(window)); window 201 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, helper_->GetTooltipWindow()); window 250 ui/views/corewm/tooltip_controller_unittest.cc aura::Window* window = GetWindow(); window 253 ui/views/corewm/tooltip_controller_unittest.cc generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint()); window 270 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, window 274 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(expected_tooltip, aura::client::GetTooltipText(window)); window 276 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, helper_->GetTooltipWindow()); window 286 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(expected_tooltip, aura::client::GetTooltipText(window)); window 288 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, helper_->GetTooltipWindow()); window 299 ui/views/corewm/tooltip_controller_unittest.cc aura::Window* window = GetWindow(); window 302 ui/views/corewm/tooltip_controller_unittest.cc generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint()); window 319 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, GetRootWindow()->GetEventHandlerForPoint( window 322 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(expected_tooltip, aura::client::GetTooltipText(window)); window 324 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, helper_->GetTooltipWindow()); window 334 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(expected_tooltip, aura::client::GetTooltipText(window)); window 336 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, helper_->GetTooltipWindow()); window 397 ui/views/corewm/tooltip_controller_unittest.cc int IndexInParent(const aura::Window* window) { window 399 ui/views/corewm/tooltip_controller_unittest.cc std::find(window->parent()->children().begin(), window 400 ui/views/corewm/tooltip_controller_unittest.cc window->parent()->children().end(), window 401 ui/views/corewm/tooltip_controller_unittest.cc window); window 402 ui/views/corewm/tooltip_controller_unittest.cc return i == window->parent()->children().end() ? -1 : window 403 ui/views/corewm/tooltip_controller_unittest.cc static_cast<int>(i - window->parent()->children().begin()); window 412 ui/views/corewm/tooltip_controller_unittest.cc virtual void ConvertPointToScreen(const aura::Window* window, window 415 ui/views/corewm/tooltip_controller_unittest.cc virtual void ConvertPointFromScreen(const aura::Window* window, window 422 ui/views/corewm/tooltip_controller_unittest.cc virtual void SetBounds(aura::Window* window, window 425 ui/views/corewm/tooltip_controller_unittest.cc window->SetBounds(bounds); window 553 ui/views/corewm/tooltip_controller_unittest.cc aura::Window* window = GetWindow(); window 557 ui/views/corewm/tooltip_controller_unittest.cc generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint()); window 563 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, root_window->GetEventHandlerForPoint( window 567 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(expected_tooltip, aura::client::GetTooltipText(window)); window 569 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(window, helper_->GetTooltipWindow()); window 591 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_NE(window, window2); window 667 ui/views/corewm/tooltip_controller_unittest.cc virtual void SetText(aura::Window* window, window 733 ui/views/corewm/tooltip_controller_unittest.cc scoped_ptr<aura::Window> window( window 735 ui/views/corewm/tooltip_controller_unittest.cc window->SetBounds(gfx::Rect(0, 0, 300, 300)); window 737 ui/views/corewm/tooltip_controller_unittest.cc aura::client::SetTooltipText(window.get(), &tooltip_text); window 738 ui/views/corewm/tooltip_controller_unittest.cc generator_->MoveMouseToCenterOf(window.get()); window 746 ui/views/corewm/tooltip_controller_unittest.cc scoped_ptr<aura::Window> window( window 748 ui/views/corewm/tooltip_controller_unittest.cc window->SetBounds(gfx::Rect(0, 0, 300, 300)); window 750 ui/views/corewm/tooltip_controller_unittest.cc aura::client::SetTooltipText(window.get(), &tooltip_text); window 751 ui/views/corewm/tooltip_controller_unittest.cc generator_->MoveMouseToCenterOf(window.get()); window 103 ui/views/corewm/tooltip_win.cc void TooltipWin::SetText(aura::Window* window, window 40 ui/views/corewm/tooltip_win.h virtual void SetText(aura::Window* window, window 22 ui/views/event_utils.h VIEWS_EXPORT bool RepostLocatedEvent(gfx::NativeWindow window, window 27 ui/views/event_utils.h VIEWS_EXPORT bool RepostLocatedEventWin(HWND window, window 20 ui/views/event_utils_aura.cc bool RepostLocatedEvent(gfx::NativeWindow window, window 27 ui/views/event_utils_aura.cc if (!window) { window 34 ui/views/event_utils_aura.cc !ViewsDelegate::views_delegate->IsWindowInMetro(window)) window 35 ui/views/event_utils_aura.cc target_window = window->GetHost()->GetAcceleratedWidget(); window 39 ui/views/event_utils_aura.cc if (!window) window 42 ui/views/event_utils_aura.cc aura::Window* root_window = window->GetRootWindow(); window 16 ui/views/event_utils_win.cc bool RepostLocatedEventWin(HWND window, window 18 ui/views/event_utils_win.cc if (!window) window 24 ui/views/event_utils_win.cc LRESULT nc_hit_result = SendMessage(window, WM_NCHITTEST, 0, window 49 ui/views/event_utils_win.cc ScreenToClient(window, &pt); window 55 ui/views/event_utils_win.cc PostMessage(window, event_type, target, MAKELPARAM(window_x, window_y)); window 61 ui/views/examples/content_client/examples_browser_main_parts.cc window_context = wm_test_helper_->host()->window(); window 34 ui/views/test/test_views_delegate.cc void TestViewsDelegate::SaveWindowPlacement(const Widget* window, window 41 ui/views/test/test_views_delegate.cc const Widget* window, window 35 ui/views/test/test_views_delegate.h virtual void SaveWindowPlacement(const Widget* window, window 40 ui/views/test/test_views_delegate.h const Widget* window, window 58 ui/views/test/test_views_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) const { window 107 ui/views/test/ui_controls_factory_desktop_aurax11.cc virtual bool SendKeyPress(gfx::NativeWindow window, window 115 ui/views/test/ui_controls_factory_desktop_aurax11.cc window, key, control, shift, alt, command, base::Closure()); window 119 ui/views/test/ui_controls_factory_desktop_aurax11.cc gfx::NativeWindow window, window 128 ui/views/test/ui_controls_factory_desktop_aurax11.cc aura::WindowTreeHost* host = window->GetHost(); window 258 ui/views/test/ui_controls_factory_desktop_aurax11.cc marker_event->xclient.window = x_window_; window 121 ui/views/touchui/touch_selection_controller_impl.cc TouchHandleWindowTargeter(aura::Window* window, window 128 ui/views/touchui/touch_selection_controller_impl.cc virtual bool GetHitTestMask(aura::Window* window, window 149 ui/views/touchui/touch_selection_controller_impl.cc aura::Window* window = widget_->GetNativeWindow(); window 150 ui/views/touchui/touch_selection_controller_impl.cc window->SetEventTargeter(scoped_ptr<ui::EventTargeter>( window 151 ui/views/touchui/touch_selection_controller_impl.cc new TouchHandleWindowTargeter(window, this))); window 290 ui/views/touchui/touch_selection_controller_impl.cc aura::Window* window, window 292 ui/views/touchui/touch_selection_controller_impl.cc : wm::MaskedWindowTargeter(window), window 296 ui/views/touchui/touch_selection_controller_impl.cc bool TouchHandleWindowTargeter::GetHitTestMask(aura::Window* window, window 94 ui/views/views_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) const = 0; window 79 ui/views/widget/desktop_aura/desktop_capture_client.cc void DesktopCaptureClient::ReleaseCapture(aura::Window* window) { window 80 ui/views/widget/desktop_aura/desktop_capture_client.cc if (capture_window_ != window) window 41 ui/views/widget/desktop_aura/desktop_capture_client.h virtual void SetCapture(aura::Window* window) OVERRIDE; window 42 ui/views/widget/desktop_aura/desktop_capture_client.h virtual void ReleaseCapture(aura::Window* window) OVERRIDE; window 98 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc virtual bool ShouldStopIterating(XID window) OVERRIDE { window 99 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (window == ignored_icon_window_) window 102 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (!ui::IsWindowVisible(window)) window 105 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (!ui::WindowContainsPoint(window, screen_loc_)) window 109 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (ui::PropertyExists(window, "WM_STATE") || window 110 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc (ui::GetIntProperty(window, "_NET_WM_WINDOW_TYPE", &value) && window 112 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc output_window_ = window; window 136 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc *mouse_window = finder.window(); window 139 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (finder.window() == None) window 453 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ::Window window) { window 455 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc g_live_client_map.Get().find(window); window 602 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.window = source_window; window 697 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc void DesktopDragDropClientAuraX11::OnWindowDestroyed(aura::Window* window) { window 698 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc DCHECK_EQ(target_window_, window); window 902 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.window = source_window; window 918 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.window = dest_window; window 951 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.window = dest_window; window 970 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.window = dest_window; window 984 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc xev.xclient.window = dest_window; window 63 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h static DesktopDragDropClientAuraX11* GetForWindow(::Window window); window 92 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 18 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc HWND window) window 21 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc drop_target_ = new DesktopDropTargetWin(root_window, window); window 70 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc void DesktopDragDropClientWin::OnNativeWidgetDestroying(HWND window) { window 72 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc RevokeDragDrop(window); window 23 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h DesktopDragDropClientWin(aura::Window* root_window, HWND window); window 41 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h void OnNativeWidgetDestroying(HWND window); window 24 ui/views/widget/desktop_aura/desktop_drop_target_win.cc HWND window) window 25 ui/views/widget/desktop_aura/desktop_drop_target_win.cc : ui::DropTargetWin(window), window 84 ui/views/widget/desktop_aura/desktop_drop_target_win.cc void DesktopDropTargetWin::OnWindowDestroyed(aura::Window* window) { window 85 ui/views/widget/desktop_aura/desktop_drop_target_win.cc DCHECK(window == target_window_); window 31 ui/views/widget/desktop_aura/desktop_drop_target_win.h DesktopDropTargetWin(aura::Window* root_window, HWND window); window 51 ui/views/widget/desktop_aura/desktop_drop_target_win.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 18 ui/views/widget/desktop_aura/desktop_event_client.cc const aura::Window* window) const { window 22 ui/views/widget/desktop_aura/desktop_event_client.h const aura::Window* window) const OVERRIDE; window 17 ui/views/widget/desktop_aura/desktop_focus_rules.cc bool DesktopFocusRules::CanActivateWindow(aura::Window* window) const { window 18 ui/views/widget/desktop_aura/desktop_focus_rules.cc if (!BaseFocusRules::CanActivateWindow(window)) window 22 ui/views/widget/desktop_aura/desktop_focus_rules.cc return !window || content_window_->GetRootWindow()->Contains(window); window 25 ui/views/widget/desktop_aura/desktop_focus_rules.cc bool DesktopFocusRules::SupportsChildActivation(aura::Window* window) const { window 28 ui/views/widget/desktop_aura/desktop_focus_rules.cc return window == content_window_->parent() || window 29 ui/views/widget/desktop_aura/desktop_focus_rules.cc window->GetRootWindow() == window; window 33 ui/views/widget/desktop_aura/desktop_focus_rules.cc aura::Window* window) const { window 36 ui/views/widget/desktop_aura/desktop_focus_rules.cc return BaseFocusRules::IsWindowConsideredVisibleForActivation(window) || window 37 ui/views/widget/desktop_aura/desktop_focus_rules.cc (window == content_window_); window 41 ui/views/widget/desktop_aura/desktop_focus_rules.cc aura::Window* window) const { window 43 ui/views/widget/desktop_aura/desktop_focus_rules.cc wm::BaseFocusRules::GetToplevelWindow(window); window 52 ui/views/widget/desktop_aura/desktop_focus_rules.cc aura::Window* window) const { window 54 ui/views/widget/desktop_aura/desktop_focus_rules.cc wm::BaseFocusRules::GetNextActivatableWindow(window); window 19 ui/views/widget/desktop_aura/desktop_focus_rules.h virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE; window 20 ui/views/widget/desktop_aura/desktop_focus_rules.h virtual bool SupportsChildActivation(aura::Window* window) const OVERRIDE; window 22 ui/views/widget/desktop_aura/desktop_focus_rules.h aura::Window* window) const OVERRIDE; window 23 ui/views/widget/desktop_aura/desktop_focus_rules.h virtual aura::Window* GetToplevelWindow(aura::Window* window) const OVERRIDE; window 25 ui/views/widget/desktop_aura/desktop_focus_rules.h aura::Window* window) const OVERRIDE; window 116 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 117 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc window->RemoveObserver(this); window 122 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc window == top_level_widget_->GetNativeView()) { window 139 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc virtual void OnWindowBoundsChanged(aura::Window* window, window 142 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc if (top_level_widget_ && window == child_window_) window 173 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::Window* window, window 175 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc bool is_fullscreen = window->GetProperty(aura::client::kShowStateKey) == window 177 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc bool is_menu = window->type() == ui::wm::WINDOW_TYPE_MENU; window 187 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc window, bounds, is_fullscreen, root_is_always_on_top); window 228 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { window 230 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc window->RemoveObserver(this); window 273 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::Window* window) { window 274 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc return window->GetProperty(kDesktopNativeWidgetAuraKey); window 290 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc if (capture_window && host_->window()->Contains(capture_window)) window 298 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->RemovePreTargetHandler(tooltip_controller_.get()); window 299 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetTooltipClient(host_->window(), NULL); window 312 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->RemovePreTargetHandler(focus_client_.get()); window 313 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetFocusClient(host_->window(), NULL); window 314 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetActivationClient(host_->window(), NULL); window 332 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetDispatcherClient(host->window(), NULL); window 344 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetScreenPositionClient(host->window(), NULL); window 347 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetDragDropClient(host->window(), NULL); window 350 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetEventClient(host->window(), NULL); window 357 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::GetActivationClient(host_->window()); window 417 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->SetProperty(views::kDesktopRootWindow, true); window 420 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->AddChild(content_window_container_); window 421 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->SetProperty(kDesktopNativeWidgetAuraKey, this); window 423 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->AddObserver(new RootWindowDestructionObserver(this)); window 430 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc new wm::WindowModalityController(host_->window())); window 442 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->SetEventFilter(root_window_event_filter_); window 456 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetCursorClient(host_->window(), cursor_manager_); window 462 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc capture_client_.reset(new DesktopCaptureClient(host_->window())); window 467 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetFocusClient(host_->window(), focus_controller); window 468 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetActivationClient(host_->window(), focus_controller); window 469 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->AddPreTargetHandler(focus_controller); window 472 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetDispatcherClient(host_->window(), window 475 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc position_client_.reset(new DesktopScreenPositionClient(host_->window())); window 481 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetDragDropClient(host_->window(), window 492 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc new DesktopNativeWidgetAuraWindowTreeClient(host_->window())); window 501 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetTooltipClient(host_->window(), window 503 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->AddPreTargetHandler(tooltip_controller_.get()); window 507 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetVisibilityClient(host_->window(), window 509 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc wm::SetChildWindowVisibilityChangesAnimated(host_->window()); window 516 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()->AddPreTargetHandler(focus_manager_event_handler_.get()); window 520 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::SetEventClient(host_->window(), event_client_.get()); window 527 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::GetActivationClient(host_->window()))); window 695 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::Window* root = host_->window(); window 865 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::GetCursorClient(host_->window()); window 874 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc aura::client::GetCursorClient(host_->window()); window 966 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnWindowDestroying(aura::Window* window) { window 970 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnWindowDestroyed(aura::Window* window) { window 1143 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect new_bounds = gfx::Rect(host->window()->bounds().size()); window 1172 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc host_->window()); window 70 ui/views/widget/desktop_aura/desktop_native_widget_aura.h static DesktopNativeWidgetAura* ForWindow(aura::Window* window); window 198 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 199 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 23 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(NULL)); window 27 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc params.parent = window.get(); window 96 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc desktop_native_widget_aura_a->host()->window()); window 98 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc desktop_native_widget_aura_b->host()->window()); window 183 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc aura::Window* window = new aura::Window(&delegate); window 184 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc window->Show(); window 185 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc widget.GetNativeWindow()->parent()->AddChild(window); window 206 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc aura::Window* window = widget->GetNativeView(); window 207 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc aura::Window* root = window->GetRootWindow(); window 20 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window* window = const_cast<aura::Window*>(root_window); window 21 ui/views/widget/desktop_aura/desktop_screen_position_client.cc float scale = gfx::Screen::GetScreenFor(window)-> window 22 ui/views/widget/desktop_aura/desktop_screen_position_client.cc GetDisplayNearestWindow(window).device_scale_factor(); window 29 ui/views/widget/desktop_aura/desktop_screen_position_client.cc bool PositionWindowInScreenCoordinates(aura::Window* window) { window 30 ui/views/widget/desktop_aura/desktop_screen_position_client.cc if (window->type() == ui::wm::WINDOW_TYPE_POPUP || window 31 ui/views/widget/desktop_aura/desktop_screen_position_client.cc window->type() == ui::wm::WINDOW_TYPE_TOOLTIP) window 34 ui/views/widget/desktop_aura/desktop_screen_position_client.cc Widget* widget = Widget::GetWidgetForNativeView(window); window 50 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const aura::Window* window, gfx::Point* point) { window 51 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const aura::Window* root_window = window->GetRootWindow(); window 52 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window::ConvertPointToTarget(window, root_window, point); window 58 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const aura::Window* window, gfx::Point* point) { window 59 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const aura::Window* root_window = window->GetRootWindow(); window 62 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window::ConvertPointToTarget(root_window, window, point); window 66 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window* window, gfx::Point* point) { window 67 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window* root_window = window->GetRootWindow(); window 72 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window* window, window 76 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window* root = window->GetRootWindow(); window 78 ui/views/widget/desktop_aura/desktop_screen_position_client.cc if (PositionWindowInScreenCoordinates(window)) { window 84 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window::ConvertPointToTarget(window->parent(), root, &origin); window 88 ui/views/widget/desktop_aura/desktop_screen_position_client.cc window->SetBounds(gfx::Rect(origin, bounds.size())); window 95 ui/views/widget/desktop_aura/desktop_screen_position_client.cc desktop_native_widget->GetNativeView() == window) { window 100 ui/views/widget/desktop_aura/desktop_screen_position_client.cc window->SetBounds(bounds); window 22 ui/views/widget/desktop_aura/desktop_screen_position_client.h virtual void ConvertPointToScreen(const aura::Window* window, window 24 ui/views/widget/desktop_aura/desktop_screen_position_client.h virtual void ConvertPointFromScreen(const aura::Window* window, window 26 ui/views/widget/desktop_aura/desktop_screen_position_client.h virtual void ConvertHostPointToScreen(aura::Window* window, window 28 ui/views/widget/desktop_aura/desktop_screen_position_client.h virtual void SetBounds(aura::Window* window, window 56 ui/views/widget/desktop_aura/desktop_screen_win.cc HWND DesktopScreenWin::GetHWNDFromNativeView(gfx::NativeView window) const { window 57 ui/views/widget/desktop_aura/desktop_screen_win.cc aura::WindowTreeHost* host = window->GetHost(); window 23 ui/views/widget/desktop_aura/desktop_screen_win.h virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const OVERRIDE; window 88 ui/views/widget/desktop_aura/desktop_screen_x11.cc aura::Window* window = window 90 ui/views/widget/desktop_aura/desktop_screen_x11.cc if (window) { window 93 ui/views/widget/desktop_aura/desktop_screen_x11.cc if (window->IsVisible() && window 94 ui/views/widget/desktop_aura/desktop_screen_x11.cc window->GetBoundsInScreen().Contains(screen_loc_)) { window 95 ui/views/widget/desktop_aura/desktop_screen_x11.cc toplevel_ = window; window 248 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::NativeView window) const { window 258 ui/views/widget/desktop_aura/desktop_screen_x11.cc aura::WindowTreeHost* host = window->GetHost(); window 46 ui/views/widget/desktop_aura/desktop_screen_x11.h gfx::NativeView window) const OVERRIDE; window 63 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc event->xproperty.window == x_root_window_ && window 53 ui/views/widget/desktop_aura/desktop_window_tree_host.h static ui::NativeTheme* GetNativeTheme(aura::Window* window); window 100 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return host ? host->window()->GetProperty(kContentWindowForRootWindow) : NULL; window 104 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ui::NativeTheme* DesktopWindowTreeHost::GetNativeTheme(aura::Window* window) { window 107 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc aura::WindowTreeHost* host = window ? window->GetHost() : NULL; window 154 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc aura::client::GetCursorClient(window()); window 158 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc window()->SetProperty(kContentWindowForRootWindow, content_window_); window 159 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc window()->SetProperty(kDesktopWindowTreeHostKey, this); window 178 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc drag_drop_client_ = new DesktopDragDropClientWin(window(), GetHWND()); window 524 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc aura::client::GetCursorClient(window()); window 537 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc RECT window_rect = window()->GetBoundsInScreen().ToRECT(); window 872 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc host->window()->GetProperty(kDesktopWindowTreeHostKey); window 933 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc new aura::client::ScopedTooltipDisabler(window())); window 975 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc window()->SetTransparent(transparent); window 986 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc for (index = window()->children().begin(); window 987 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc index != window()->children().end(); window 143 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc window()->ClearProperty(kHostForRootWindow); window 144 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc aura::client::SetWindowMoveClient(window(), NULL); window 155 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return host ? host->window()->GetProperty(kViewsWindowForRootWindow) : NULL; window 162 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return host ? host->window()->GetProperty(kHostForRootWindow) : NULL; window 231 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc window()->SetProperty(kViewsWindowForRootWindow, content_window_); window 232 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc window()->SetProperty(kHostForRootWindow, this); window 246 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc aura::client::SetWindowMoveClient(window(), x11_window_move_client_.get()); window 260 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc window(), cursor_manager, xdisplay_, xwindow_); window 844 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc aura::client::GetCursorClient(window()); window 896 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xevent.xany.window = xwindow_; window 1111 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xclient.xclient.window = xwindow_; window 1179 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc event->ConvertLocationToTarget(window(), g_current_capture->window()); window 1187 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc event->ConvertLocationToTarget(window(), g_current_capture->window()); window 1380 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc DCHECK_EQ(xwindow_, xev->xconfigure.window); window 1487 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc reply_event.xclient.window = x_root_window_; window 1490 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc reply_event.xclient.window, window 1533 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc next_event.xmotion.window == xev->xmotion.window && window 1617 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc ui::NativeTheme* DesktopWindowTreeHost::GetNativeTheme(aura::Window* window) { window 70 ui/views/widget/desktop_aura/x11_desktop_handler.cc void X11DesktopHandler::ActivateWindow(::Window window) { window 77 ui/views/widget/desktop_aura/x11_desktop_handler.cc xclient.xclient.window = window; window 90 ui/views/widget/desktop_aura/x11_desktop_handler.cc XRaiseWindow(xdisplay_, window); window 95 ui/views/widget/desktop_aura/x11_desktop_handler.cc XSetInputFocus(xdisplay_, window, RevertToParent, CurrentTime); window 97 ui/views/widget/desktop_aura/x11_desktop_handler.cc OnActiveWindowChanged(window); window 101 ui/views/widget/desktop_aura/x11_desktop_handler.cc bool X11DesktopHandler::IsActiveWindow(::Window window) const { window 102 ui/views/widget/desktop_aura/x11_desktop_handler.cc return window == current_window_; window 109 ui/views/widget/desktop_aura/x11_desktop_handler.cc current_window_ != event->xcrossing.window) window 110 ui/views/widget/desktop_aura/x11_desktop_handler.cc OnActiveWindowChanged(event->xcrossing.window); window 114 ui/views/widget/desktop_aura/x11_desktop_handler.cc current_window_ == event->xcrossing.window) window 119 ui/views/widget/desktop_aura/x11_desktop_handler.cc current_window_ != event->xfocus.window) window 120 ui/views/widget/desktop_aura/x11_desktop_handler.cc OnActiveWindowChanged(event->xfocus.window); window 133 ui/views/widget/desktop_aura/x11_desktop_handler.cc if (event->xproperty.window == x_root_window_ && window 135 ui/views/widget/desktop_aura/x11_desktop_handler.cc ::Window window; window 136 ui/views/widget/desktop_aura/x11_desktop_handler.cc if (ui::GetXIDProperty(x_root_window_, "_NET_ACTIVE_WINDOW", &window) && window 137 ui/views/widget/desktop_aura/x11_desktop_handler.cc window) { window 138 ui/views/widget/desktop_aura/x11_desktop_handler.cc OnActiveWindowChanged(window); window 155 ui/views/widget/desktop_aura/x11_desktop_handler.cc ui::XMenuList::GetInstance()->MaybeRegisterMenu(xcwe->window); window 160 ui/views/widget/desktop_aura/x11_desktop_handler.cc ui::XMenuList::GetInstance()->MaybeUnregisterMenu(xdwe->window); window 168 ui/views/widget/desktop_aura/x11_desktop_handler.cc void X11DesktopHandler::OnWindowInitialized(aura::Window* window) { window 35 ui/views/widget/desktop_aura/x11_desktop_handler.h void ActivateWindow(::Window window); window 38 ui/views/widget/desktop_aura/x11_desktop_handler.h bool IsActiveWindow(::Window window) const; window 49 ui/views/widget/desktop_aura/x11_desktop_handler.h virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; window 57 ui/views/widget/desktop_aura/x11_desktop_handler.h void OnActiveWindowChanged(::Window window); window 45 ui/views/widget/desktop_aura/x11_desktop_window_move_client.h aura::Window* window, window 14 ui/views/widget/desktop_aura/x11_scoped_capture.cc X11ScopedCapture::X11ScopedCapture(XID window) window 19 ui/views/widget/desktop_aura/x11_scoped_capture.cc int status = XGrabPointer(gfx::GetXDisplay(), window, True, event_mask, window 18 ui/views/widget/desktop_aura/x11_scoped_capture.h explicit X11ScopedCapture(XID window); window 275 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc Window window = XCreateWindow(display, window 280 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc XMapRaised(display, window); window 281 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::MessagePumpX11::Current()->BlockUntilWindowMapped(window); window 282 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc return window; window 40 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h bool RunMoveLoop(aura::Window* window, gfx::NativeCursor cursor); window 188 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.window = xwindow_; window 63 ui/views/widget/native_widget_aura.cc void SetRestoreBounds(aura::Window* window, const gfx::Rect& bounds) { window 64 ui/views/widget/native_widget_aura.cc window->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds)); window 101 ui/views/widget/native_widget_aura.cc aura::Window* window) { window 102 ui/views/widget/native_widget_aura.cc window->set_user_data(native_widget); window 787 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnWindowDestroying(aura::Window* window) { window 794 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnWindowDestroyed(aura::Window* window) { window 972 ui/views/widget/native_widget_aura.cc void CloseWindow(aura::Window* window) { window 973 ui/views/widget/native_widget_aura.cc if (window) { window 974 ui/views/widget/native_widget_aura.cc Widget* widget = Widget::GetWidgetForNativeView(window); window 1043 ui/views/widget/native_widget_aura.cc aura::Window* window = native_view; window 1045 ui/views/widget/native_widget_aura.cc while (window) { window 1046 ui/views/widget/native_widget_aura.cc NativeWidgetPrivate* native_widget = GetNativeWidgetForNativeView(window); window 1049 ui/views/widget/native_widget_aura.cc window = window->parent(); window 53 ui/views/widget/native_widget_aura.h aura::Window* window); window 156 ui/views/widget/native_widget_aura.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 157 ui/views/widget/native_widget_aura.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 60 ui/views/widget/native_widget_aura_unittest.cc NativeWidgetAura* window = Init(parent.get(), widget.get()); window 62 ui/views/widget/native_widget_aura_unittest.cc window->CenterWindow(gfx::Size(100, 100)); window 66 ui/views/widget/native_widget_aura_unittest.cc window->GetNativeWindow()->bounds()); window 77 ui/views/widget/native_widget_aura_unittest.cc NativeWidgetAura* window = Init(parent.get(), widget.get()); window 79 ui/views/widget/native_widget_aura_unittest.cc window->CenterWindow(gfx::Size(100, 100)); window 83 ui/views/widget/native_widget_aura_unittest.cc window->GetNativeWindow()->bounds()); window 95 ui/views/widget/native_widget_aura_unittest.cc NativeWidgetAura* window = Init(parent.get(), widget.get()); window 96 ui/views/widget/native_widget_aura_unittest.cc window->CenterWindow(gfx::Size(500, 600)); window 99 ui/views/widget/native_widget_aura_unittest.cc EXPECT_EQ("20,40 480x320", window->GetNativeWindow()->bounds().ToString()); window 350 ui/views/widget/native_widget_aura_unittest.cc aura::Window* window = widget->GetNativeWindow(); window 351 ui/views/widget/native_widget_aura_unittest.cc EXPECT_FALSE(window->GetProperty(aura::client::kDrawAttentionKey)); window 353 ui/views/widget/native_widget_aura_unittest.cc EXPECT_TRUE(window->GetProperty(aura::client::kDrawAttentionKey)); window 355 ui/views/widget/native_widget_aura_unittest.cc EXPECT_FALSE(window->GetProperty(aura::client::kDrawAttentionKey)); window 357 ui/views/widget/native_widget_aura_unittest.cc EXPECT_TRUE(window->GetProperty(aura::client::kDrawAttentionKey)); window 359 ui/views/widget/native_widget_aura_unittest.cc EXPECT_FALSE(window->GetProperty(aura::client::kDrawAttentionKey)); window 367 ui/views/widget/native_widget_aura_unittest.cc NativeWidgetAura* window = Init(parent.get(), widget.get()); window 368 ui/views/widget/native_widget_aura_unittest.cc window->Show(); window 369 ui/views/widget/native_widget_aura_unittest.cc window->Close(); window 1174 ui/views/widget/widget_unittest.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { window 1175 ui/views/widget/widget_unittest.cc window->RemoveObserver(this); window 1176 ui/views/widget/widget_unittest.cc if (window == owned_window_) { window 1178 ui/views/widget/widget_unittest.cc } else if (window == top_level_widget_->GetNativeView()) { window 1181 ui/views/widget/widget_unittest.cc ADD_FAILURE() << "Unexpected window destroyed callback: " << window; window 67 ui/views/widget/window_reorderer.cc void StartObserving(aura::Window* window); window 68 ui/views/widget/window_reorderer.cc void StopObserving(aura::Window* window); window 72 ui/views/widget/window_reorderer.cc virtual void OnWindowPropertyChanged(aura::Window* window, window 75 ui/views/widget/window_reorderer.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 96 ui/views/widget/window_reorderer.cc aura::Window* window) { window 97 ui/views/widget/window_reorderer.cc windows_.insert(window); window 98 ui/views/widget/window_reorderer.cc window->AddObserver(this); window 102 ui/views/widget/window_reorderer.cc aura::Window* window) { window 103 ui/views/widget/window_reorderer.cc windows_.erase(window); window 104 ui/views/widget/window_reorderer.cc window->RemoveObserver(this); window 108 ui/views/widget/window_reorderer.cc aura::Window* window, window 116 ui/views/widget/window_reorderer.cc aura::Window* window) { window 117 ui/views/widget/window_reorderer.cc windows_.erase(window); window 118 ui/views/widget/window_reorderer.cc window->RemoveObserver(this); window 170 ui/views/widget/window_reorderer.cc aura::Window* window = NULL; window 175 ui/views/widget/window_reorderer.cc window = hosted_window_it->second; window 176 ui/views/widget/window_reorderer.cc layer = window->layer(); window 180 ui/views/widget/window_reorderer.cc if (window) window 181 ui/views/widget/window_reorderer.cc parent_window_->StackChildAtBottom(window); window 191 ui/views/widget/window_reorderer.cc void WindowReorderer::OnWillRemoveWindow(aura::Window* window) { window 192 ui/views/widget/window_reorderer.cc association_observer_->StopObserving(window); window 195 ui/views/widget/window_reorderer.cc void WindowReorderer::OnWindowDestroying(aura::Window* window) { window 27 ui/views/widget/window_reorderer.h WindowReorderer(aura::Window* window, View* root_view); window 41 ui/views/widget/window_reorderer.h virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE; window 42 ui/views/widget/window_reorderer.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 31 ui/views/widget/window_reorderer_unittest.cc void SetWindowAndLayerName(aura::Window* window, const std::string& name) { window 32 ui/views/widget/window_reorderer_unittest.cc window->SetName(name); window 33 ui/views/widget/window_reorderer_unittest.cc window->layer()->set_name(name); window 193 ui/views/win/hwnd_message_handler.cc HWND window; window 205 ui/views/win/hwnd_message_handler.cc BOOL CALLBACK SendDwmCompositionChanged(HWND window, LPARAM param) { window 206 ui/views/win/hwnd_message_handler.cc SendMessage(window, WM_DWMCOMPOSITIONCHANGED, 0, 0); window 224 ui/views/win/hwnd_message_handler.cc static BOOL CALLBACK ClipDCToChild(HWND window, LPARAM param) { window 226 ui/views/win/hwnd_message_handler.cc if (GetParent(window) == clip_state->parent && IsWindowVisible(window)) { window 228 ui/views/win/hwnd_message_handler.cc GetWindowRect(window, &bounds); window 241 ui/views/win/hwnd_message_handler.cc bool IsTopLevelWindow(HWND window) { window 242 ui/views/win/hwnd_message_handler.cc long style = ::GetWindowLong(window, GWL_STYLE); window 245 ui/views/win/hwnd_message_handler.cc HWND parent = ::GetParent(window); window 249 ui/views/win/hwnd_message_handler.cc void AddScrollStylesToWindow(HWND window) { window 250 ui/views/win/hwnd_message_handler.cc if (::IsWindow(window)) { window 251 ui/views/win/hwnd_message_handler.cc long current_style = ::GetWindowLong(window, GWL_STYLE); window 252 ui/views/win/hwnd_message_handler.cc ::SetWindowLong(window, GWL_STYLE, window 890 ui/views/win/hwnd_message_handler.cc HWND window = hwnd(); window 902 ui/views/win/hwnd_message_handler.cc _ProcessWindowMessage(window, message, w_param, l_param, result, 0); window 908 ui/views/win/hwnd_message_handler.cc result = DefWindowProc(window, message, w_param, l_param); window 911 ui/views/win/hwnd_message_handler.cc if (!::IsWindow(window)) window 1258 ui/views/win/hwnd_message_handler.cc BOOL HWNDMessageHandler::OnAppCommand(HWND window, window 1276 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::OnCaptureChanged(HWND window) { window 1286 ui/views/win/hwnd_message_handler.cc HWND window) { window 398 ui/views/win/hwnd_message_handler.h BOOL OnAppCommand(HWND window, short command, WORD device, int keystate); window 400 ui/views/win/hwnd_message_handler.h void OnCaptureChanged(HWND window); window 402 ui/views/win/hwnd_message_handler.h void OnCommand(UINT notification_code, int command, HWND window); window 27 ui/views/win/hwnd_util.h VIEWS_EXPORT HWND HWNDForNativeWindow(const gfx::NativeWindow window); window 26 ui/views/win/hwnd_util_aurawin.cc HWND HWNDForNativeWindow(const gfx::NativeWindow window) { window 27 ui/views/win/hwnd_util_aurawin.cc return window && window->GetRootWindow() ? window 28 ui/views/win/hwnd_util_aurawin.cc window->GetHost()->GetAcceleratedWidget() : NULL; window 35 ui/wm/core/base_focus_rules.cc aura::Window* window) const { window 36 ui/wm/core/base_focus_rules.cc return window->IsVisible(); window 42 ui/wm/core/base_focus_rules.cc bool BaseFocusRules::IsToplevelWindow(aura::Window* window) const { window 44 ui/wm/core/base_focus_rules.cc if (!window->GetRootWindow()) window 49 ui/wm/core/base_focus_rules.cc return SupportsChildActivation(window->parent()); window 52 ui/wm/core/base_focus_rules.cc bool BaseFocusRules::CanActivateWindow(aura::Window* window) const { window 55 ui/wm/core/base_focus_rules.cc if (!window) window 59 ui/wm/core/base_focus_rules.cc if (!IsToplevelWindow(window)) window 63 ui/wm/core/base_focus_rules.cc if (!IsWindowConsideredVisibleForActivation(window)) window 67 ui/wm/core/base_focus_rules.cc if (aura::client::GetActivationDelegate(window) && window 68 ui/wm/core/base_focus_rules.cc !aura::client::GetActivationDelegate(window)->ShouldActivate()) { window 75 ui/wm/core/base_focus_rules.cc if (!window->CanFocus()) window 79 ui/wm/core/base_focus_rules.cc return !GetModalTransient(window); window 82 ui/wm/core/base_focus_rules.cc bool BaseFocusRules::CanFocusWindow(aura::Window* window) const { window 84 ui/wm/core/base_focus_rules.cc if (!window) window 89 ui/wm/core/base_focus_rules.cc aura::Window* activatable = GetActivatableWindow(window); window 90 ui/wm/core/base_focus_rules.cc if (!activatable || !activatable->Contains(window)) window 92 ui/wm/core/base_focus_rules.cc return window->CanFocus(); window 95 ui/wm/core/base_focus_rules.cc aura::Window* BaseFocusRules::GetToplevelWindow(aura::Window* window) const { window 96 ui/wm/core/base_focus_rules.cc aura::Window* parent = window->parent(); window 97 ui/wm/core/base_focus_rules.cc aura::Window* child = window; window 108 ui/wm/core/base_focus_rules.cc aura::Window* BaseFocusRules::GetActivatableWindow(aura::Window* window) const { window 109 ui/wm/core/base_focus_rules.cc aura::Window* parent = window->parent(); window 110 ui/wm/core/base_focus_rules.cc aura::Window* child = window; window 140 ui/wm/core/base_focus_rules.cc aura::Window* BaseFocusRules::GetFocusableWindow(aura::Window* window) const { window 141 ui/wm/core/base_focus_rules.cc if (CanFocusWindow(window)) window 142 ui/wm/core/base_focus_rules.cc return window; window 146 ui/wm/core/base_focus_rules.cc aura::Window* activatable = GetActivatableWindow(window); window 150 ui/wm/core/base_focus_rules.cc aura::Window* toplevel = GetToplevelWindow(window); window 157 ui/wm/core/base_focus_rules.cc if (!activatable->Contains(window)) { window 165 ui/wm/core/base_focus_rules.cc while (window && !CanFocusWindow(window)) window 166 ui/wm/core/base_focus_rules.cc window = window->parent(); window 167 ui/wm/core/base_focus_rules.cc return window; window 22 ui/wm/core/base_focus_rules.h virtual bool SupportsChildActivation(aura::Window* window) const = 0; window 26 ui/wm/core/base_focus_rules.h aura::Window* window) const; window 29 ui/wm/core/base_focus_rules.h virtual bool IsToplevelWindow(aura::Window* window) const OVERRIDE; window 30 ui/wm/core/base_focus_rules.h virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE; window 31 ui/wm/core/base_focus_rules.h virtual bool CanFocusWindow(aura::Window* window) const OVERRIDE; window 32 ui/wm/core/base_focus_rules.h virtual aura::Window* GetToplevelWindow(aura::Window* window) const OVERRIDE; window 34 ui/wm/core/base_focus_rules.h aura::Window* window) const OVERRIDE; window 35 ui/wm/core/base_focus_rules.h virtual aura::Window* GetFocusableWindow(aura::Window* window) const OVERRIDE; window 80 ui/wm/core/capture_controller.cc void CaptureController::ReleaseCapture(aura::Window* window) { window 81 ui/wm/core/capture_controller.cc if (capture_window_ != window) window 127 ui/wm/core/capture_controller.cc void ScopedCaptureClient::OnWindowDestroyed(aura::Window* window) { window 128 ui/wm/core/capture_controller.cc DCHECK_EQ(window, root_window_); window 32 ui/wm/core/capture_controller.h virtual void SetCapture(aura::Window* window) OVERRIDE; window 33 ui/wm/core/capture_controller.h virtual void ReleaseCapture(aura::Window* window) OVERRIDE; window 69 ui/wm/core/capture_controller.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 252 ui/wm/core/compound_event_filter.cc aura::Window* window = static_cast<aura::Window*>(event->target()); window 254 ui/wm/core/compound_event_filter.cc window_tracker.Add(window); window 269 ui/wm/core/compound_event_filter.cc SetMouseEventsEnableStateOnEvent(window, event, true); window 270 ui/wm/core/compound_event_filter.cc SetCursorVisibilityOnEvent(window, event, true); window 271 ui/wm/core/compound_event_filter.cc UpdateCursor(window, event); window 58 ui/wm/core/compound_event_filter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate(&delegate, 1234, window 60 ui/wm/core/compound_event_filter_unittest.cc window->Show(); window 61 ui/wm/core/compound_event_filter_unittest.cc window->SetCapture(); window 108 ui/wm/core/compound_event_filter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate(&delegate, 1234, window 110 ui/wm/core/compound_event_filter_unittest.cc window->Show(); window 111 ui/wm/core/compound_event_filter_unittest.cc window->SetCapture(); window 146 ui/wm/core/compound_event_filter_unittest.cc root_window())->ActivateWindow(window.get()); window 162 ui/wm/core/compound_event_filter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate(&delegate, 1234, window 164 ui/wm/core/compound_event_filter_unittest.cc window->Show(); window 166 ui/wm/core/compound_event_filter_unittest.cc EXPECT_TRUE(window->CanFocus()); window 167 ui/wm/core/compound_event_filter_unittest.cc EXPECT_FALSE(window->HasFocus()); window 173 ui/wm/core/compound_event_filter_unittest.cc EXPECT_FALSE(window->HasFocus()); window 187 ui/wm/core/compound_event_filter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate(&delegate, 1234, window 189 ui/wm/core/compound_event_filter_unittest.cc window->Show(); window 214 ui/wm/core/compound_event_filter_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindowWithDelegate(&delegate, 1234, window 216 ui/wm/core/compound_event_filter_unittest.cc window->Show(); window 217 ui/wm/core/compound_event_filter_unittest.cc window->SetCapture(); window 27 ui/wm/core/easy_resize_window_targeter.cc aura::Window* window, window 29 ui/wm/core/easy_resize_window_targeter.cc if (ShouldUseExtendedBounds(window)) { window 33 ui/wm/core/easy_resize_window_targeter.cc if (window->parent()) window 34 ui/wm/core/easy_resize_window_targeter.cc aura::Window::ConvertPointToTarget(window->parent(), window, &point); window 36 ui/wm/core/easy_resize_window_targeter.cc gfx::Rect bounds(window->bounds().size()); window 44 ui/wm/core/easy_resize_window_targeter.cc return WindowTargeter::EventLocationInsideBounds(window, event); window 48 ui/wm/core/easy_resize_window_targeter.cc const aura::Window* window) const { window 51 ui/wm/core/easy_resize_window_targeter.cc if (window->parent() != container_) window 57 ui/wm/core/easy_resize_window_targeter.cc !transient_window_client->GetTransientParent(window) || window 58 ui/wm/core/easy_resize_window_targeter.cc transient_window_client->GetTransientParent(window) == container_; window 36 ui/wm/core/easy_resize_window_targeter.h aura::Window* window, window 42 ui/wm/core/easy_resize_window_targeter.h bool ShouldUseExtendedBounds(const aura::Window* window) const; window 24 ui/wm/core/focus_controller.cc void StackTransientParentsBelowModalWindow(aura::Window* window) { window 25 ui/wm/core/focus_controller.cc if (window->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_WINDOW) window 28 ui/wm/core/focus_controller.cc aura::Window* transient_parent = wm::GetTransientParent(window); window 66 ui/wm/core/focus_controller.cc void FocusController::ActivateWindow(aura::Window* window) { window 67 ui/wm/core/focus_controller.cc FocusWindow(window); window 70 ui/wm/core/focus_controller.cc void FocusController::DeactivateWindow(aura::Window* window) { window 71 ui/wm/core/focus_controller.cc if (window) window 72 ui/wm/core/focus_controller.cc FocusWindow(rules_->GetNextActivatableWindow(window)); window 79 ui/wm/core/focus_controller.cc aura::Window* FocusController::GetActivatableWindow(aura::Window* window) { window 80 ui/wm/core/focus_controller.cc return rules_->GetActivatableWindow(window); window 83 ui/wm/core/focus_controller.cc aura::Window* FocusController::GetToplevelWindow(aura::Window* window) { window 84 ui/wm/core/focus_controller.cc return rules_->GetToplevelWindow(window); window 87 ui/wm/core/focus_controller.cc bool FocusController::OnWillFocusWindow(aura::Window* window, window 93 ui/wm/core/focus_controller.cc bool FocusController::CanActivateWindow(aura::Window* window) const { window 94 ui/wm/core/focus_controller.cc return rules_->CanActivateWindow(window); window 110 ui/wm/core/focus_controller.cc void FocusController::FocusWindow(aura::Window* window) { window 111 ui/wm/core/focus_controller.cc if (window && window 112 ui/wm/core/focus_controller.cc (window->Contains(focused_window_) || window->Contains(active_window_))) { window 118 ui/wm/core/focus_controller.cc if (window && (aura::client::GetCaptureWindow(window) == window) && window 125 ui/wm/core/focus_controller.cc aura::Window* focusable = rules_->GetFocusableWindow(window); window 132 ui/wm/core/focus_controller.cc if (window && (!focusable || !activatable)) window 134 ui/wm/core/focus_controller.cc DCHECK((focusable && activatable) || !window); window 140 ui/wm/core/focus_controller.cc SetActiveWindow(window, activatable); window 152 ui/wm/core/focus_controller.cc void FocusController::ResetFocusWithinActiveWindow(aura::Window* window) { window 153 ui/wm/core/focus_controller.cc DCHECK(window); window 156 ui/wm/core/focus_controller.cc if (!active_window_->Contains(window)) window 158 ui/wm/core/focus_controller.cc SetFocusedWindow(window); window 191 ui/wm/core/focus_controller.cc void FocusController::OnWindowVisibilityChanged(aura::Window* window, window 194 ui/wm/core/focus_controller.cc WindowLostFocusFromDispositionChange(window, window->parent()); window 197 ui/wm/core/focus_controller.cc void FocusController::OnWindowDestroying(aura::Window* window) { window 198 ui/wm/core/focus_controller.cc WindowLostFocusFromDispositionChange(window, window->parent()); window 224 ui/wm/core/focus_controller.cc void FocusController::SetFocusedWindow(aura::Window* window) { window 225 ui/wm/core/focus_controller.cc if (updating_focus_ || window == focused_window_) window 227 ui/wm/core/focus_controller.cc DCHECK(rules_->CanFocusWindow(window)); window 228 ui/wm/core/focus_controller.cc if (window) window 229 ui/wm/core/focus_controller.cc DCHECK_EQ(window, rules_->GetFocusableWindow(window)); window 242 ui/wm/core/focus_controller.cc focused_window_ = window; window 267 ui/wm/core/focus_controller.cc aura::Window* window) { window 271 ui/wm/core/focus_controller.cc if (window == active_window_) { window 281 ui/wm/core/focus_controller.cc DCHECK(rules_->CanActivateWindow(window)); window 282 ui/wm/core/focus_controller.cc if (window) window 283 ui/wm/core/focus_controller.cc DCHECK_EQ(window, rules_->GetActivatableWindow(window)); window 296 ui/wm/core/focus_controller.cc active_window_ = window; window 324 ui/wm/core/focus_controller.cc aura::Window* window, window 328 ui/wm/core/focus_controller.cc window->ClearProperty(aura::client::kModalKey); window 334 ui/wm/core/focus_controller.cc if (window == active_window_) { window 335 ui/wm/core/focus_controller.cc aura::Window* next_activatable = rules_->GetNextActivatableWindow(window); window 339 ui/wm/core/focus_controller.cc } else if (window->Contains(focused_window_)) { window 345 ui/wm/core/focus_controller.cc void FocusController::WindowFocusedFromInputEvent(aura::Window* window) { window 349 ui/wm/core/focus_controller.cc if (rules_->CanFocusWindow(GetToplevelWindow(window))) window 350 ui/wm/core/focus_controller.cc FocusWindow(window); window 52 ui/wm/core/focus_controller.h virtual void ActivateWindow(aura::Window* window) OVERRIDE; window 53 ui/wm/core/focus_controller.h virtual void DeactivateWindow(aura::Window* window) OVERRIDE; window 55 ui/wm/core/focus_controller.h virtual aura::Window* GetActivatableWindow(aura::Window* window) OVERRIDE; window 56 ui/wm/core/focus_controller.h virtual aura::Window* GetToplevelWindow(aura::Window* window) OVERRIDE; window 57 ui/wm/core/focus_controller.h virtual bool OnWillFocusWindow(aura::Window* window, window 59 ui/wm/core/focus_controller.h virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE; window 66 ui/wm/core/focus_controller.h virtual void FocusWindow(aura::Window* window) OVERRIDE; window 67 ui/wm/core/focus_controller.h virtual void ResetFocusWithinActiveWindow(aura::Window* window) OVERRIDE; window 78 ui/wm/core/focus_controller.h virtual void OnWindowVisibilityChanged(aura::Window* window, window 80 ui/wm/core/focus_controller.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 88 ui/wm/core/focus_controller.h void SetFocusedWindow(aura::Window* window); window 102 ui/wm/core/focus_controller.h void WindowLostFocusFromDispositionChange(aura::Window* window, window 108 ui/wm/core/focus_controller.h void WindowFocusedFromInputEvent(aura::Window* window); window 146 ui/wm/core/focus_controller_unittest.cc explicit DeleteOnLoseActivationChangeObserver(aura::Window* window) window 147 ui/wm/core/focus_controller_unittest.cc : root_(window->GetRootWindow()), window 148 ui/wm/core/focus_controller_unittest.cc window_(window), window 183 ui/wm/core/focus_controller_unittest.cc explicit DeleteOnLoseFocusChangeObserver(aura::Window* window) window 184 ui/wm/core/focus_controller_unittest.cc : root_(window->GetRootWindow()), window 185 ui/wm/core/focus_controller_unittest.cc window_(window), window 300 ui/wm/core/focus_controller_unittest.cc virtual bool SupportsChildActivation(aura::Window* window) const OVERRIDE { window 302 ui/wm/core/focus_controller_unittest.cc return window->GetRootWindow() == window; window 304 ui/wm/core/focus_controller_unittest.cc virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE { window 308 ui/wm/core/focus_controller_unittest.cc CanFocusOrActivate(window) || window->Contains(focus_restriction_); window 309 ui/wm/core/focus_controller_unittest.cc return can_activate ? BaseFocusRules::CanActivateWindow(window) : false; window 311 ui/wm/core/focus_controller_unittest.cc virtual bool CanFocusWindow(aura::Window* window) const OVERRIDE { window 312 ui/wm/core/focus_controller_unittest.cc return CanFocusOrActivate(window) ? window 313 ui/wm/core/focus_controller_unittest.cc BaseFocusRules::CanFocusWindow(window) : false; window 316 ui/wm/core/focus_controller_unittest.cc aura::Window* window) const OVERRIDE { window 318 ui/wm/core/focus_controller_unittest.cc CanFocusOrActivate(window) ? window : focus_restriction_); window 321 ui/wm/core/focus_controller_unittest.cc aura::Window* window) const OVERRIDE { window 323 ui/wm/core/focus_controller_unittest.cc CanFocusOrActivate(window) ? window : focus_restriction_); window 334 ui/wm/core/focus_controller_unittest.cc bool CanFocusOrActivate(aura::Window* window) const { window 335 ui/wm/core/focus_controller_unittest.cc return !focus_restriction_ || focus_restriction_->Contains(window); window 400 ui/wm/core/focus_controller_unittest.cc void FocusWindow(aura::Window* window) { window 401 ui/wm/core/focus_controller_unittest.cc aura::client::GetFocusClient(root_window())->FocusWindow(window); window 410 ui/wm/core/focus_controller_unittest.cc void ActivateWindow(aura::Window* window) { window 411 ui/wm/core/focus_controller_unittest.cc aura::client::GetActivationClient(root_window())->ActivateWindow(window); window 413 ui/wm/core/focus_controller_unittest.cc void DeactivateWindow(aura::Window* window) { window 414 ui/wm/core/focus_controller_unittest.cc aura::client::GetActivationClient(root_window())->DeactivateWindow(window); window 460 ui/wm/core/focus_controller_unittest.cc virtual void FocusWindowDirect(aura::Window* window) = 0; window 461 ui/wm/core/focus_controller_unittest.cc virtual void ActivateWindowDirect(aura::Window* window) = 0; window 462 ui/wm/core/focus_controller_unittest.cc virtual void DeactivateWindowDirect(aura::Window* window) = 0; window 468 ui/wm/core/focus_controller_unittest.cc aura::Window* window = root_window()->GetChildById(id); window 469 ui/wm/core/focus_controller_unittest.cc DCHECK(window); window 470 ui/wm/core/focus_controller_unittest.cc FocusWindowDirect(window); window 473 ui/wm/core/focus_controller_unittest.cc aura::Window* window = root_window()->GetChildById(id); window 474 ui/wm/core/focus_controller_unittest.cc DCHECK(window); window 475 ui/wm/core/focus_controller_unittest.cc ActivateWindowDirect(window); window 809 ui/wm/core/focus_controller_unittest.cc virtual void FocusWindowDirect(aura::Window* window) OVERRIDE { window 810 ui/wm/core/focus_controller_unittest.cc FocusWindow(window); window 812 ui/wm/core/focus_controller_unittest.cc virtual void ActivateWindowDirect(aura::Window* window) OVERRIDE { window 813 ui/wm/core/focus_controller_unittest.cc ActivateWindow(window); window 815 ui/wm/core/focus_controller_unittest.cc virtual void DeactivateWindowDirect(aura::Window* window) OVERRIDE { window 816 ui/wm/core/focus_controller_unittest.cc DeactivateWindow(window); window 830 ui/wm/core/focus_controller_unittest.cc virtual void FocusWindowDirect(aura::Window* window) OVERRIDE { window 831 ui/wm/core/focus_controller_unittest.cc aura::test::EventGenerator generator(root_window(), window); window 834 ui/wm/core/focus_controller_unittest.cc virtual void ActivateWindowDirect(aura::Window* window) OVERRIDE { window 835 ui/wm/core/focus_controller_unittest.cc aura::test::EventGenerator generator(root_window(), window); window 838 ui/wm/core/focus_controller_unittest.cc virtual void DeactivateWindowDirect(aura::Window* window) OVERRIDE { window 840 ui/wm/core/focus_controller_unittest.cc test_focus_rules()->GetNextActivatableWindow(window); window 855 ui/wm/core/focus_controller_unittest.cc virtual void FocusWindowDirect(aura::Window* window) OVERRIDE { window 856 ui/wm/core/focus_controller_unittest.cc aura::test::EventGenerator generator(root_window(), window); window 857 ui/wm/core/focus_controller_unittest.cc generator.GestureTapAt(window->bounds().CenterPoint()); window 859 ui/wm/core/focus_controller_unittest.cc virtual void ActivateWindowDirect(aura::Window* window) OVERRIDE { window 860 ui/wm/core/focus_controller_unittest.cc aura::test::EventGenerator generator(root_window(), window); window 861 ui/wm/core/focus_controller_unittest.cc generator.GestureTapAt(window->bounds().CenterPoint()); window 863 ui/wm/core/focus_controller_unittest.cc virtual void DeactivateWindowDirect(aura::Window* window) OVERRIDE { window 865 ui/wm/core/focus_controller_unittest.cc test_focus_rules()->GetNextActivatableWindow(window); window 867 ui/wm/core/focus_controller_unittest.cc generator.GestureTapAt(window->bounds().CenterPoint()); window 881 ui/wm/core/focus_controller_unittest.cc aura::Window* GetDispositionWindow(aura::Window* window) { window 882 ui/wm/core/focus_controller_unittest.cc return parent_ ? window->parent() : window; window 886 ui/wm/core/focus_controller_unittest.cc virtual void ChangeWindowDisposition(aura::Window* window) = 0; window 1005 ui/wm/core/focus_controller_unittest.cc virtual void ChangeWindowDisposition(aura::Window* window) OVERRIDE { window 1006 ui/wm/core/focus_controller_unittest.cc GetDispositionWindow(window)->Hide(); window 1033 ui/wm/core/focus_controller_unittest.cc virtual void ChangeWindowDisposition(aura::Window* window) OVERRIDE { window 1034 ui/wm/core/focus_controller_unittest.cc delete GetDispositionWindow(window); window 1062 ui/wm/core/focus_controller_unittest.cc virtual void ChangeWindowDisposition(aura::Window* window) OVERRIDE { window 1063 ui/wm/core/focus_controller_unittest.cc aura::Window* disposition_window = GetDispositionWindow(window); window 26 ui/wm/core/focus_rules.h virtual bool IsToplevelWindow(aura::Window* window) const = 0; window 28 ui/wm/core/focus_rules.h virtual bool CanActivateWindow(aura::Window* window) const = 0; window 31 ui/wm/core/focus_rules.h virtual bool CanFocusWindow(aura::Window* window) const = 0; window 38 ui/wm/core/focus_rules.h virtual aura::Window* GetToplevelWindow(aura::Window* window) const = 0; window 48 ui/wm/core/focus_rules.h virtual aura::Window* GetActivatableWindow(aura::Window* window) const = 0; window 49 ui/wm/core/focus_rules.h virtual aura::Window* GetFocusableWindow(aura::Window* window) const = 0; window 63 ui/wm/core/input_method_event_filter_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate( window 69 ui/wm/core/input_method_event_filter_unittest.cc window.get()); window 86 ui/wm/core/input_method_event_filter_unittest.cc window.reset(); window 19 ui/wm/core/masked_window_targeter.cc aura::Window* window, window 21 ui/wm/core/masked_window_targeter.cc if (window == masked_window_) { window 23 ui/wm/core/masked_window_targeter.cc if (!GetHitTestMask(window, &mask)) window 24 ui/wm/core/masked_window_targeter.cc return WindowTargeter::EventLocationInsideBounds(window, event); window 26 ui/wm/core/masked_window_targeter.cc gfx::Size size = window->bounds().size(); window 31 ui/wm/core/masked_window_targeter.cc if (window->parent()) window 32 ui/wm/core/masked_window_targeter.cc aura::Window::ConvertPointToTarget(window->parent(), window, &point); window 39 ui/wm/core/masked_window_targeter.cc return WindowTargeter::EventLocationInsideBounds(window, event); window 25 ui/wm/core/masked_window_targeter.h virtual bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const = 0; window 29 ui/wm/core/masked_window_targeter.h aura::Window* window, window 30 ui/wm/core/shadow_controller.cc ShadowType GetShadowTypeFromWindow(aura::Window* window) { window 31 ui/wm/core/shadow_controller.cc switch (window->type()) { window 43 ui/wm/core/shadow_controller.cc bool ShouldUseSmallShadowForWindow(aura::Window* window) { window 44 ui/wm/core/shadow_controller.cc switch (window->type()) { window 88 ui/wm/core/shadow_controller.cc virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; window 92 ui/wm/core/shadow_controller.cc aura::Window* window, const void* key, intptr_t old) OVERRIDE; window 94 ui/wm/core/shadow_controller.cc aura::Window* window, window 97 ui/wm/core/shadow_controller.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 114 ui/wm/core/shadow_controller.cc bool ShouldShowShadowForWindow(aura::Window* window) const; window 118 ui/wm/core/shadow_controller.cc Shadow* GetShadowForWindow(aura::Window* window); window 126 ui/wm/core/shadow_controller.cc void HandlePossibleShadowVisibilityChange(aura::Window* window); window 130 ui/wm/core/shadow_controller.cc void CreateShadowForWindow(aura::Window* window); window 151 ui/wm/core/shadow_controller.cc void ShadowController::Impl::OnWindowInitialized(aura::Window* window) { window 152 ui/wm/core/shadow_controller.cc observer_manager_.Add(window); window 153 ui/wm/core/shadow_controller.cc SetShadowType(window, GetShadowTypeFromWindow(window)); window 154 ui/wm/core/shadow_controller.cc HandlePossibleShadowVisibilityChange(window); window 157 ui/wm/core/shadow_controller.cc void ShadowController::Impl::OnWindowPropertyChanged(aura::Window* window, window 161 ui/wm/core/shadow_controller.cc HandlePossibleShadowVisibilityChange(window); window 167 ui/wm/core/shadow_controller.cc aura::Window* window, window 170 ui/wm/core/shadow_controller.cc Shadow* shadow = GetShadowForWindow(window); window 175 ui/wm/core/shadow_controller.cc void ShadowController::Impl::OnWindowDestroyed(aura::Window* window) { window 176 ui/wm/core/shadow_controller.cc window_shadows_.erase(window); window 177 ui/wm/core/shadow_controller.cc observer_manager_.Remove(window); window 197 ui/wm/core/shadow_controller.cc aura::Window* window) const { window 198 ui/wm/core/shadow_controller.cc const ShadowType type = GetShadowType(window); window 210 ui/wm/core/shadow_controller.cc Shadow* ShadowController::Impl::GetShadowForWindow(aura::Window* window) { window 211 ui/wm/core/shadow_controller.cc WindowShadowMap::const_iterator it = window_shadows_.find(window); window 216 ui/wm/core/shadow_controller.cc aura::Window* window) { window 217 ui/wm/core/shadow_controller.cc const bool should_show = ShouldShowShadowForWindow(window); window 218 ui/wm/core/shadow_controller.cc Shadow* shadow = GetShadowForWindow(window); window 222 ui/wm/core/shadow_controller.cc CreateShadowForWindow(window); window 225 ui/wm/core/shadow_controller.cc void ShadowController::Impl::CreateShadowForWindow(aura::Window* window) { window 227 ui/wm/core/shadow_controller.cc window_shadows_.insert(make_pair(window, shadow)); window 229 ui/wm/core/shadow_controller.cc shadow->Init(ShouldUseSmallShadowForWindow(window) ? window 231 ui/wm/core/shadow_controller.cc shadow->SetContentBounds(gfx::Rect(window->bounds().size())); window 232 ui/wm/core/shadow_controller.cc shadow->layer()->SetVisible(ShouldShowShadowForWindow(window)); window 233 ui/wm/core/shadow_controller.cc window->layer()->Add(shadow->layer()); window 268 ui/wm/core/shadow_controller.cc Shadow* ShadowController::TestApi::GetShadowForWindow(aura::Window* window) { window 269 ui/wm/core/shadow_controller.cc return controller_->impl_->GetShadowForWindow(window); window 42 ui/wm/core/shadow_controller.h Shadow* GetShadowForWindow(aura::Window* window); window 45 ui/wm/core/shadow_controller_unittest.cc void ActivateWindow(aura::Window* window) { window 46 ui/wm/core/shadow_controller_unittest.cc DCHECK(window); window 47 ui/wm/core/shadow_controller_unittest.cc DCHECK(window->GetRootWindow()); window 48 ui/wm/core/shadow_controller_unittest.cc aura::client::GetActivationClient(window->GetRootWindow())->ActivateWindow( window 49 ui/wm/core/shadow_controller_unittest.cc window); window 61 ui/wm/core/shadow_controller_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(NULL)); window 62 ui/wm/core/shadow_controller_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 63 ui/wm/core/shadow_controller_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 64 ui/wm/core/shadow_controller_unittest.cc ParentWindow(window.get()); window 69 ui/wm/core/shadow_controller_unittest.cc const Shadow* shadow = api.GetShadowForWindow(window.get()); window 74 ui/wm/core/shadow_controller_unittest.cc window->Show(); window 76 ui/wm/core/shadow_controller_unittest.cc window->Hide(); window 80 ui/wm/core/shadow_controller_unittest.cc SetShadowType(window.get(), SHADOW_TYPE_NONE); window 81 ui/wm/core/shadow_controller_unittest.cc window->Show(); window 83 ui/wm/core/shadow_controller_unittest.cc SetShadowType(window.get(), SHADOW_TYPE_RECTANGULAR); window 87 ui/wm/core/shadow_controller_unittest.cc EXPECT_EQ(window->layer(), shadow->layer()->parent()); window 89 ui/wm/core/shadow_controller_unittest.cc window->parent()->RemoveChild(window.get()); window 90 ui/wm/core/shadow_controller_unittest.cc aura::Window* window_ptr = window.get(); window 91 ui/wm/core/shadow_controller_unittest.cc window.reset(); window 97 ui/wm/core/shadow_controller_unittest.cc scoped_ptr<aura::Window> window(new aura::Window(NULL)); window 98 ui/wm/core/shadow_controller_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 99 ui/wm/core/shadow_controller_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 100 ui/wm/core/shadow_controller_unittest.cc ParentWindow(window.get()); window 101 ui/wm/core/shadow_controller_unittest.cc window->Show(); window 104 ui/wm/core/shadow_controller_unittest.cc window->SetBounds(kOldBounds); window 108 ui/wm/core/shadow_controller_unittest.cc SetShadowType(window.get(), SHADOW_TYPE_RECTANGULAR); window 110 ui/wm/core/shadow_controller_unittest.cc const Shadow* shadow = api.GetShadowForWindow(window.get()); window 117 ui/wm/core/shadow_controller_unittest.cc window->SetBounds(kNewBounds); window 13 ui/wm/core/shadow_types.cc void SetShadowType(aura::Window* window, ShadowType shadow_type) { window 14 ui/wm/core/shadow_types.cc window->SetProperty(kShadowTypeKey, shadow_type); window 17 ui/wm/core/shadow_types.cc ShadowType GetShadowType(aura::Window* window) { window 18 ui/wm/core/shadow_types.cc return window->GetProperty(kShadowTypeKey); window 25 ui/wm/core/shadow_types.h WM_CORE_EXPORT void SetShadowType(aura::Window* window, ShadowType shadow_type); window 26 ui/wm/core/shadow_types.h WM_CORE_EXPORT ShadowType GetShadowType(aura::Window* window); window 28 ui/wm/core/transient_window_controller.cc aura::Window* window) { window 30 ui/wm/core/transient_window_controller.cc const_cast<const aura::Window*>(window))); window 34 ui/wm/core/transient_window_controller.cc const aura::Window* window) { window 36 ui/wm/core/transient_window_controller.cc TransientWindowManager::Get(window); window 26 ui/wm/core/transient_window_controller.h virtual aura::Window* GetTransientParent(aura::Window* window) OVERRIDE; window 28 ui/wm/core/transient_window_controller.h const aura::Window* window) OVERRIDE; window 28 ui/wm/core/transient_window_manager.cc TransientWindowManager* TransientWindowManager::Get(Window* window) { window 29 ui/wm/core/transient_window_manager.cc TransientWindowManager* manager = window->GetProperty(kPropertyKey); window 31 ui/wm/core/transient_window_manager.cc manager = new TransientWindowManager(window); window 32 ui/wm/core/transient_window_manager.cc window->SetProperty(kPropertyKey, manager); window 39 ui/wm/core/transient_window_manager.cc const Window* window) { window 40 ui/wm/core/transient_window_manager.cc return window->GetProperty(kPropertyKey); window 86 ui/wm/core/transient_window_manager.cc TransientWindowManager::TransientWindowManager(Window* window) window 87 ui/wm/core/transient_window_manager.cc : window_(window), window 120 ui/wm/core/transient_window_manager.cc void TransientWindowManager::OnWindowVisibilityChanging(Window* window, window 129 ui/wm/core/transient_window_manager.cc void TransientWindowManager::OnWindowStackingChanged(Window* window) { window 130 ui/wm/core/transient_window_manager.cc TransientWindowManager* parent_manager = Get(window->parent()); window 131 ui/wm/core/transient_window_manager.cc parent_manager->OnChildStackingChanged(window); window 134 ui/wm/core/transient_window_manager.cc void TransientWindowManager::OnWindowDestroying(Window* window) { window 36 ui/wm/core/transient_window_manager.h static TransientWindowManager* Get(aura::Window* window); window 40 ui/wm/core/transient_window_manager.h static const TransientWindowManager* Get(const aura::Window* window); window 76 ui/wm/core/transient_window_manager.h explicit TransientWindowManager(aura::Window* window); window 82 ui/wm/core/transient_window_manager.h virtual void OnWindowVisibilityChanging(aura::Window* window, window 84 ui/wm/core/transient_window_manager.h virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; window 85 ui/wm/core/transient_window_manager.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 36 ui/wm/core/transient_window_manager_unittest.cc virtual void OnTransientChildAdded(Window* window, window 40 ui/wm/core/transient_window_manager_unittest.cc virtual void OnTransientChildRemoved(Window* window, window 70 ui/wm/core/transient_window_manager_unittest.cc Window* window = new Window(NULL); window 71 ui/wm/core/transient_window_manager_unittest.cc window->set_id(id); window 72 ui/wm/core/transient_window_manager_unittest.cc window->SetType(ui::wm::WINDOW_TYPE_NORMAL); window 73 ui/wm/core/transient_window_manager_unittest.cc window->Init(aura::WINDOW_LAYER_TEXTURED); window 74 ui/wm/core/transient_window_manager_unittest.cc aura::client::ParentWindowWithContext(window, root_window(), gfx::Rect()); window 75 ui/wm/core/transient_window_manager_unittest.cc AddTransientChild(parent, window); window 76 ui/wm/core/transient_window_manager_unittest.cc return window; window 281 ui/wm/core/transient_window_manager_unittest.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { window 438 ui/wm/core/transient_window_manager_unittest.cc virtual void UpdateLayerVisibility(Window* window, bool visible) OVERRIDE { window 440 ui/wm/core/transient_window_manager_unittest.cc if (window == ignored_window_) window 441 ui/wm/core/transient_window_manager_unittest.cc window->layer()->set_delegate(NULL); window 443 ui/wm/core/transient_window_manager_unittest.cc window->layer()->SetVisible(visible); window 445 ui/wm/core/transient_window_manager_unittest.cc window->layer()->SetVisible(visible); window 19 ui/wm/core/transient_window_observer.h virtual void OnTransientChildAdded(aura::Window* window, window 23 ui/wm/core/transient_window_observer.h virtual void OnTransientChildRemoved(aura::Window* window, window 20 ui/wm/core/transient_window_stacking_client.cc bool GetAllTransientAncestors(Window* window, Window::Windows* ancestors) { window 21 ui/wm/core/transient_window_stacking_client.cc Window* parent = window->parent(); window 22 ui/wm/core/transient_window_stacking_client.cc for (; window; window = GetTransientParent(window)) { window 23 ui/wm/core/transient_window_stacking_client.cc if (window->parent() == parent) window 24 ui/wm/core/transient_window_stacking_client.cc ancestors->push_back(window); window 21 ui/wm/core/visibility_controller.cc bool ShouldAnimateWindow(aura::Window* window) { window 22 ui/wm/core/visibility_controller.cc return window->parent() && window->parent()->GetProperty( window 35 ui/wm/core/visibility_controller.cc aura::Window* window, window 37 ui/wm/core/visibility_controller.cc return AnimateOnChildWindowVisibilityChanged(window, visible); window 40 ui/wm/core/visibility_controller.cc void VisibilityController::UpdateLayerVisibility(aura::Window* window, window 42 ui/wm/core/visibility_controller.cc bool animated = window->type() != ui::wm::WINDOW_TYPE_CONTROL && window 43 ui/wm/core/visibility_controller.cc window->type() != ui::wm::WINDOW_TYPE_UNKNOWN && window 44 ui/wm/core/visibility_controller.cc ShouldAnimateWindow(window); window 46 ui/wm/core/visibility_controller.cc CallAnimateOnChildWindowVisibilityChanged(window, visible); window 55 ui/wm/core/visibility_controller.cc window->layer()->GetAnimator()->IsAnimatingProperty( window 57 ui/wm/core/visibility_controller.cc !window->layer()->GetTargetVisibility()) { window 65 ui/wm/core/visibility_controller.cc window->layer()->SetVisible(visible); window 69 ui/wm/core/visibility_controller.cc aura::Window* window) window 70 ui/wm/core/visibility_controller.cc : window_(window), window 71 ui/wm/core/visibility_controller.cc original_enabled_(window->GetProperty( window 84 ui/wm/core/visibility_controller.cc void SetChildWindowVisibilityChangesAnimated(aura::Window* window) { window 85 ui/wm/core/visibility_controller.cc window->SetProperty(kChildWindowVisibilityChangesAnimatedKey, true); window 26 ui/wm/core/visibility_controller.h virtual bool CallAnimateOnChildWindowVisibilityChanged(aura::Window* window, window 31 ui/wm/core/visibility_controller.h virtual void UpdateLayerVisibility(aura::Window* window, window 53 ui/wm/core/visibility_controller.h explicit SuspendChildWindowVisibilityAnimations(aura::Window* window); window 70 ui/wm/core/visibility_controller.h aura::Window* window); window 34 ui/wm/core/visibility_controller_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate( window 36 ui/wm/core/visibility_controller_unittest.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 39 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 40 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->IsVisible()); window 42 ui/wm/core/visibility_controller_unittest.cc window->layer()->SetOpacity(0.0); window 43 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 44 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->IsVisible()); window 45 ui/wm/core/visibility_controller_unittest.cc EXPECT_TRUE(window->layer()->GetAnimator()-> window 47 ui/wm/core/visibility_controller_unittest.cc EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity()); window 50 ui/wm/core/visibility_controller_unittest.cc window->Hide(); window 51 ui/wm/core/visibility_controller_unittest.cc window->layer()->GetAnimator()->StopAnimating(); window 52 ui/wm/core/visibility_controller_unittest.cc EXPECT_FALSE(window->layer()->visible()); window 53 ui/wm/core/visibility_controller_unittest.cc EXPECT_FALSE(window->IsVisible()); window 73 ui/wm/core/window_animations.cc HidingWindowAnimationObserver(aura::Window* window, window 81 ui/wm/core/window_animations.cc virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 82 ui/wm/core/window_animations.cc virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 125 ui/wm/core/window_animations.cc const aura::Window& window) { window 127 ui/wm/core/window_animations.cc window.GetProperty(kWindowVisibilityAnimationDurationKey); window 128 ui/wm/core/window_animations.cc if (duration == 0 && window.type() == ui::wm::WINDOW_TYPE_MENU) { window 137 ui/wm/core/window_animations.cc int GetWindowVisibilityAnimationType(aura::Window* window) { window 138 ui/wm/core/window_animations.cc int type = window->GetProperty(kWindowVisibilityAnimationTypeKey); window 140 ui/wm/core/window_animations.cc return (window->type() == ui::wm::WINDOW_TYPE_MENU || window 141 ui/wm/core/window_animations.cc window->type() == ui::wm::WINDOW_TYPE_TOOLTIP) window 168 ui/wm/core/window_animations.cc void AugmentWindowSize(aura::Window* window, window 171 ui/wm/core/window_animations.cc aura::client::GetAnimationHost(window); window 175 ui/wm/core/window_animations.cc const gfx::Rect& world_at_start = window->bounds(); window 177 ui/wm/core/window_animations.cc GetLayerWorldBoundsAfterTransform(window->layer(), end_transform); window 201 ui/wm/core/window_animations.cc void AnimateShowWindowCommon(aura::Window* window, window 204 ui/wm/core/window_animations.cc AugmentWindowSize(window, end_transform); window 206 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); window 207 ui/wm/core/window_animations.cc window->layer()->SetTransform(start_transform); window 208 ui/wm/core/window_animations.cc window->layer()->SetVisible(true); window 212 ui/wm/core/window_animations.cc ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); window 213 ui/wm/core/window_animations.cc base::TimeDelta duration = GetWindowVisibilityAnimationDuration(*window); window 217 ui/wm/core/window_animations.cc window->layer()->SetTransform(end_transform); window 218 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); window 224 ui/wm/core/window_animations.cc void AnimateHideWindowCommon(aura::Window* window, window 226 ui/wm/core/window_animations.cc AugmentWindowSize(window, end_transform); window 229 ui/wm/core/window_animations.cc ScopedHidingAnimationSettings hiding_settings(window); window 230 ui/wm/core/window_animations.cc base::TimeDelta duration = GetWindowVisibilityAnimationDuration(*window); window 234 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); window 235 ui/wm/core/window_animations.cc window->layer()->SetTransform(end_transform); window 236 ui/wm/core/window_animations.cc window->layer()->SetVisible(false); window 239 ui/wm/core/window_animations.cc static gfx::Transform GetScaleForWindow(aura::Window* window) { window 240 ui/wm/core/window_animations.cc gfx::Rect bounds = window->bounds(); window 249 ui/wm/core/window_animations.cc void AnimateShowWindow_Drop(aura::Window* window) { window 250 ui/wm/core/window_animations.cc AnimateShowWindowCommon(window, GetScaleForWindow(window), gfx::Transform()); window 253 ui/wm/core/window_animations.cc void AnimateHideWindow_Drop(aura::Window* window) { window 254 ui/wm/core/window_animations.cc AnimateHideWindowCommon(window, GetScaleForWindow(window)); window 258 ui/wm/core/window_animations.cc void AnimateShowWindow_Vertical(aura::Window* window) { window 260 ui/wm/core/window_animations.cc transform.Translate(0, window->GetProperty( window 262 ui/wm/core/window_animations.cc AnimateShowWindowCommon(window, transform, gfx::Transform()); window 265 ui/wm/core/window_animations.cc void AnimateHideWindow_Vertical(aura::Window* window) { window 267 ui/wm/core/window_animations.cc transform.Translate(0, window->GetProperty( window 269 ui/wm/core/window_animations.cc AnimateHideWindowCommon(window, transform); window 273 ui/wm/core/window_animations.cc void AnimateShowWindow_Fade(aura::Window* window) { window 274 ui/wm/core/window_animations.cc AnimateShowWindowCommon(window, gfx::Transform(), gfx::Transform()); window 277 ui/wm/core/window_animations.cc void AnimateHideWindow_Fade(aura::Window* window) { window 278 ui/wm/core/window_animations.cc AnimateHideWindowCommon(window, gfx::Transform()); window 282 ui/wm/core/window_animations.cc aura::Window* window, bool grow) { window 290 ui/wm/core/window_animations.cc gfx::Point(window->bounds().width() * 0.5, window 291 ui/wm/core/window_animations.cc window->bounds().height() * 0.5), window 304 ui/wm/core/window_animations.cc void AnimateBounce(aura::Window* window) { window 306 ui/wm/core/window_animations.cc window->layer()->GetAnimator()); window 311 ui/wm/core/window_animations.cc sequence->AddElement(CreateGrowShrinkElement(window, true)); window 318 ui/wm/core/window_animations.cc sequence->AddElement(CreateGrowShrinkElement(window, false)); window 319 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->StartAnimation(sequence.release()); window 322 ui/wm/core/window_animations.cc void AddLayerAnimationsForRotate(aura::Window* window, bool show) { window 324 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); window 333 ui/wm/core/window_animations.cc observer = new HidingWindowAnimationObserver(window, NULL); window 334 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->SchedulePauseForProperties( window 343 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( window 346 ui/wm/core/window_animations.cc float xcenter = window->bounds().width() * 0.5; window 379 ui/wm/core/window_animations.cc window->layer()->GetAnimator()->ScheduleAnimation( window 385 ui/wm/core/window_animations.cc void AnimateShowWindow_Rotate(aura::Window* window) { window 386 ui/wm/core/window_animations.cc AddLayerAnimationsForRotate(window, true); window 389 ui/wm/core/window_animations.cc void AnimateHideWindow_Rotate(aura::Window* window) { window 390 ui/wm/core/window_animations.cc AddLayerAnimationsForRotate(window, false); window 393 ui/wm/core/window_animations.cc bool AnimateShowWindow(aura::Window* window) { window 394 ui/wm/core/window_animations.cc if (!HasWindowVisibilityAnimationTransition(window, ANIMATE_SHOW)) { window 395 ui/wm/core/window_animations.cc if (HasWindowVisibilityAnimationTransition(window, ANIMATE_HIDE)) { window 398 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_ShowOpacity); window 399 ui/wm/core/window_animations.cc window->layer()->SetTransform(gfx::Transform()); window 404 ui/wm/core/window_animations.cc switch (GetWindowVisibilityAnimationType(window)) { window 406 ui/wm/core/window_animations.cc AnimateShowWindow_Drop(window); window 409 ui/wm/core/window_animations.cc AnimateShowWindow_Vertical(window); window 412 ui/wm/core/window_animations.cc AnimateShowWindow_Fade(window); window 415 ui/wm/core/window_animations.cc AnimateShowWindow_Rotate(window); window 422 ui/wm/core/window_animations.cc bool AnimateHideWindow(aura::Window* window) { window 423 ui/wm/core/window_animations.cc if (!HasWindowVisibilityAnimationTransition(window, ANIMATE_HIDE)) { window 424 ui/wm/core/window_animations.cc if (HasWindowVisibilityAnimationTransition(window, ANIMATE_SHOW)) { window 427 ui/wm/core/window_animations.cc window->layer()->SetOpacity(kWindowAnimation_HideOpacity); window 428 ui/wm/core/window_animations.cc window->layer()->SetTransform(gfx::Transform()); window 433 ui/wm/core/window_animations.cc switch (GetWindowVisibilityAnimationType(window)) { window 435 ui/wm/core/window_animations.cc AnimateHideWindow_Drop(window); window 438 ui/wm/core/window_animations.cc AnimateHideWindow_Vertical(window); window 441 ui/wm/core/window_animations.cc AnimateHideWindow_Fade(window); window 444 ui/wm/core/window_animations.cc AnimateHideWindow_Rotate(window); window 457 ui/wm/core/window_animations.cc aura::Window* window, window 459 ui/wm/core/window_animations.cc : window_(window) { window 460 ui/wm/core/window_animations.cc window->AddObserver(this); window 477 ui/wm/core/window_animations.cc void HidingWindowAnimationObserver::OnWindowDestroying(aura::Window* window) { window 478 ui/wm/core/window_animations.cc DCHECK_EQ(window, window_); window 482 ui/wm/core/window_animations.cc void HidingWindowAnimationObserver::OnWindowDestroyed(aura::Window* window) { window 483 ui/wm/core/window_animations.cc DCHECK_EQ(window, window_); window 528 ui/wm/core/window_animations.cc aura::Window* window) window 529 ui/wm/core/window_animations.cc : layer_animation_settings_(window->layer()->GetAnimator()), window 531 ui/wm/core/window_animations.cc window, &layer_animation_settings_)) { window 541 ui/wm/core/window_animations.cc void SetWindowVisibilityAnimationType(aura::Window* window, int type) { window 542 ui/wm/core/window_animations.cc window->SetProperty(kWindowVisibilityAnimationTypeKey, type); window 545 ui/wm/core/window_animations.cc int GetWindowVisibilityAnimationType(aura::Window* window) { window 546 ui/wm/core/window_animations.cc return window->GetProperty(kWindowVisibilityAnimationTypeKey); window 550 ui/wm/core/window_animations.cc aura::Window* window, window 552 ui/wm/core/window_animations.cc window->SetProperty(kWindowVisibilityAnimationTransitionKey, transition); window 556 ui/wm/core/window_animations.cc aura::Window* window, window 558 ui/wm/core/window_animations.cc WindowVisibilityAnimationTransition prop = window->GetProperty( window 563 ui/wm/core/window_animations.cc void SetWindowVisibilityAnimationDuration(aura::Window* window, window 565 ui/wm/core/window_animations.cc window->SetProperty(kWindowVisibilityAnimationDurationKey, window 570 ui/wm/core/window_animations.cc const aura::Window& window) { window 572 ui/wm/core/window_animations.cc window.GetProperty(kWindowVisibilityAnimationDurationKey)); window 575 ui/wm/core/window_animations.cc void SetWindowVisibilityAnimationVerticalPosition(aura::Window* window, window 577 ui/wm/core/window_animations.cc window->SetProperty(kWindowVisibilityAnimationVerticalPositionKey, position); window 580 ui/wm/core/window_animations.cc bool AnimateOnChildWindowVisibilityChanged(aura::Window* window, bool visible) { window 581 ui/wm/core/window_animations.cc if (WindowAnimationsDisabled(window)) window 584 ui/wm/core/window_animations.cc return AnimateShowWindow(window); window 586 ui/wm/core/window_animations.cc return window->layer()->GetTargetOpacity() != 0.0f && window 587 ui/wm/core/window_animations.cc AnimateHideWindow(window); window 590 ui/wm/core/window_animations.cc bool AnimateWindow(aura::Window* window, WindowAnimationType type) { window 593 ui/wm/core/window_animations.cc AnimateBounce(window); window 601 ui/wm/core/window_animations.cc bool WindowAnimationsDisabled(aura::Window* window) { window 602 ui/wm/core/window_animations.cc return (!gfx::Animation::ShouldRenderRichAnimation() || (window && window 603 ui/wm/core/window_animations.cc window->GetProperty(aura::client::kAnimationsDisabledKey)) || window 61 ui/wm/core/window_animations.h WM_CORE_EXPORT void SetWindowVisibilityAnimationType(aura::Window* window, window 63 ui/wm/core/window_animations.h WM_CORE_EXPORT int GetWindowVisibilityAnimationType(aura::Window* window); window 66 ui/wm/core/window_animations.h aura::Window* window, window 70 ui/wm/core/window_animations.h aura::Window* window, window 74 ui/wm/core/window_animations.h aura::Window* window, window 78 ui/wm/core/window_animations.h const aura::Window& window); window 81 ui/wm/core/window_animations.h aura::Window* window, window 91 ui/wm/core/window_animations.h explicit ScopedHidingAnimationSettings(aura::Window* window); window 107 ui/wm/core/window_animations.h WM_CORE_EXPORT bool AnimateOnChildWindowVisibilityChanged(aura::Window* window, window 109 ui/wm/core/window_animations.h WM_CORE_EXPORT bool AnimateWindow(aura::Window* window, window 115 ui/wm/core/window_animations.h WM_CORE_EXPORT bool WindowAnimationsDisabled(aura::Window* window); window 59 ui/wm/core/window_animations_unittest.cc scoped_ptr<aura::Window> window( window 63 ui/wm/core/window_animations_unittest.cc window->Show(); window 64 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 65 ui/wm/core/window_animations_unittest.cc window->Hide(); window 66 ui/wm/core/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); window 67 ui/wm/core/window_animations_unittest.cc window->Show(); window 68 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 78 ui/wm/core/window_animations_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithId(0, NULL)); window 79 ui/wm/core/window_animations_unittest.cc SetWindowVisibilityAnimationTransition(window.get(), ANIMATE_SHOW); window 82 ui/wm/core/window_animations_unittest.cc window->Show(); window 83 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), true); window 84 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 85 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); window 87 ui/wm/core/window_animations_unittest.cc window->Hide(); window 88 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), false); window 89 ui/wm/core/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); window 90 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(0, window->layer()->opacity()); window 91 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); window 93 ui/wm/core/window_animations_unittest.cc window->Show(); window 94 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), true); window 95 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 96 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); window 105 ui/wm/core/window_animations_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithId(0, NULL)); window 106 ui/wm/core/window_animations_unittest.cc SetWindowVisibilityAnimationTransition(window.get(), ANIMATE_HIDE); window 109 ui/wm/core/window_animations_unittest.cc window->Show(); window 110 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), true); window 111 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 112 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); window 113 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); window 115 ui/wm/core/window_animations_unittest.cc window->Hide(); window 116 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), false); window 117 ui/wm/core/window_animations_unittest.cc EXPECT_FALSE(window->layer()->GetTargetVisibility()); window 118 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(0, window->layer()->opacity()); window 120 ui/wm/core/window_animations_unittest.cc window->Show(); window 121 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), true); window 122 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->GetTargetVisibility()); window 123 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(1, window->layer()->opacity()); window 124 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); window 279 ui/wm/core/window_animations_unittest.cc scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithId(0, NULL)); window 280 ui/wm/core/window_animations_unittest.cc aura::client::SetAnimationHost(window.get(), &animation_host); window 282 ui/wm/core/window_animations_unittest.cc window.get(), WINDOW_VISIBILITY_ANIMATION_TYPE_FADE); window 283 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), true); window 284 ui/wm/core/window_animations_unittest.cc EXPECT_TRUE(window->layer()->visible()); window 287 ui/wm/core/window_animations_unittest.cc AnimateOnChildWindowVisibilityChanged(window.get(), false); window 30 ui/wm/core/window_modality_controller.cc bool HasAncestor(aura::Window* window, aura::Window* ancestor) { window 31 ui/wm/core/window_modality_controller.cc if (!window) window 33 ui/wm/core/window_modality_controller.cc if (window == ancestor) window 35 ui/wm/core/window_modality_controller.cc return HasAncestor(window->parent(), ancestor); window 38 ui/wm/core/window_modality_controller.cc bool TransientChildIsWindowModal(aura::Window* window) { window 39 ui/wm/core/window_modality_controller.cc return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_WINDOW; window 42 ui/wm/core/window_modality_controller.cc bool TransientChildIsSystemModal(aura::Window* window) { window 43 ui/wm/core/window_modality_controller.cc return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM; window 46 ui/wm/core/window_modality_controller.cc bool TransientChildIsChildModal(aura::Window* window) { window 47 ui/wm/core/window_modality_controller.cc return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_CHILD; window 50 ui/wm/core/window_modality_controller.cc aura::Window* GetModalParent(aura::Window* window) { window 51 ui/wm/core/window_modality_controller.cc return window->GetProperty(kModalParentKey); window 84 ui/wm/core/window_modality_controller.cc aura::Window* GetModalTransient(aura::Window* window) { window 85 ui/wm/core/window_modality_controller.cc if (!window) window 89 ui/wm/core/window_modality_controller.cc aura::Window* toplevel = GetToplevelWindow(window); window 93 ui/wm/core/window_modality_controller.cc return GetModalTransientChild(toplevel, window); window 138 ui/wm/core/window_modality_controller.cc void WindowModalityController::OnWindowInitialized(aura::Window* window) { window 139 ui/wm/core/window_modality_controller.cc windows_.push_back(window); window 140 ui/wm/core/window_modality_controller.cc window->AddObserver(this); window 146 ui/wm/core/window_modality_controller.cc void WindowModalityController::OnWindowPropertyChanged(aura::Window* window, window 152 ui/wm/core/window_modality_controller.cc window->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_NONE && window 153 ui/wm/core/window_modality_controller.cc window->IsVisible()) { window 154 ui/wm/core/window_modality_controller.cc ActivateWindow(window); window 155 ui/wm/core/window_modality_controller.cc ui::GestureRecognizer::Get()->TransferEventsTo(GetTransientParent(window), window 161 ui/wm/core/window_modality_controller.cc aura::Window* window, window 163 ui/wm/core/window_modality_controller.cc if (visible && window->GetProperty(aura::client::kModalKey) != window 165 ui/wm/core/window_modality_controller.cc ui::GestureRecognizer::Get()->TransferEventsTo(GetTransientParent(window), window 169 ui/wm/core/window_modality_controller.cc aura::Window* capture_window = aura::client::GetCaptureWindow(window); window 175 ui/wm/core/window_modality_controller.cc void WindowModalityController::OnWindowDestroyed(aura::Window* window) { window 176 ui/wm/core/window_modality_controller.cc windows_.erase(std::find(windows_.begin(), windows_.end(), window)); window 177 ui/wm/core/window_modality_controller.cc window->RemoveObserver(this); window 28 ui/wm/core/window_modality_controller.h WM_CORE_EXPORT aura::Window* GetModalTransient(aura::Window* window); window 46 ui/wm/core/window_modality_controller.h virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; window 49 ui/wm/core/window_modality_controller.h virtual void OnWindowPropertyChanged(aura::Window* window, window 52 ui/wm/core/window_modality_controller.h virtual void OnWindowVisibilityChanged(aura::Window* window, window 54 ui/wm/core/window_modality_controller.h virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; window 40 ui/wm/core/window_util.cc void ActivateWindow(aura::Window* window) { window 41 ui/wm/core/window_util.cc DCHECK(window); window 42 ui/wm/core/window_util.cc DCHECK(window->GetRootWindow()); window 43 ui/wm/core/window_util.cc aura::client::GetActivationClient(window->GetRootWindow())->ActivateWindow( window 44 ui/wm/core/window_util.cc window); window 47 ui/wm/core/window_util.cc void DeactivateWindow(aura::Window* window) { window 48 ui/wm/core/window_util.cc DCHECK(window); window 49 ui/wm/core/window_util.cc DCHECK(window->GetRootWindow()); window 50 ui/wm/core/window_util.cc aura::client::GetActivationClient(window->GetRootWindow())->DeactivateWindow( window 51 ui/wm/core/window_util.cc window); window 54 ui/wm/core/window_util.cc bool IsActiveWindow(aura::Window* window) { window 55 ui/wm/core/window_util.cc DCHECK(window); window 56 ui/wm/core/window_util.cc if (!window->GetRootWindow()) window 59 ui/wm/core/window_util.cc aura::client::GetActivationClient(window->GetRootWindow()); window 60 ui/wm/core/window_util.cc return client && client->GetActiveWindow() == window; window 63 ui/wm/core/window_util.cc bool CanActivateWindow(aura::Window* window) { window 64 ui/wm/core/window_util.cc DCHECK(window); window 65 ui/wm/core/window_util.cc if (!window->GetRootWindow()) window 68 ui/wm/core/window_util.cc aura::client::GetActivationClient(window->GetRootWindow()); window 69 ui/wm/core/window_util.cc return client && client->CanActivateWindow(window); window 72 ui/wm/core/window_util.cc aura::Window* GetActivatableWindow(aura::Window* window) { window 74 ui/wm/core/window_util.cc aura::client::GetActivationClient(window->GetRootWindow()); window 75 ui/wm/core/window_util.cc return client ? client->GetActivatableWindow(window) : NULL; window 78 ui/wm/core/window_util.cc aura::Window* GetToplevelWindow(aura::Window* window) { window 80 ui/wm/core/window_util.cc aura::client::GetActivationClient(window->GetRootWindow()); window 81 ui/wm/core/window_util.cc return client ? client->GetToplevelWindow(window) : NULL; window 92 ui/wm/core/window_util.cc aura::Window* GetTransientParent(aura::Window* window) { window 94 ui/wm/core/window_util.cc const_cast<const aura::Window*>(window))); window 97 ui/wm/core/window_util.cc const aura::Window* GetTransientParent(const aura::Window* window) { window 98 ui/wm/core/window_util.cc const TransientWindowManager* manager = TransientWindowManager::Get(window); window 103 ui/wm/core/window_util.cc const aura::Window* window) { window 104 ui/wm/core/window_util.cc const TransientWindowManager* manager = TransientWindowManager::Get(window); window 120 ui/wm/core/window_util.cc bool HasTransientAncestor(const aura::Window* window, window 122 ui/wm/core/window_util.cc const aura::Window* transient_parent = GetTransientParent(window); window 27 ui/wm/core/window_util.h WM_CORE_EXPORT void ActivateWindow(aura::Window* window); window 28 ui/wm/core/window_util.h WM_CORE_EXPORT void DeactivateWindow(aura::Window* window); window 29 ui/wm/core/window_util.h WM_CORE_EXPORT bool IsActiveWindow(aura::Window* window); window 30 ui/wm/core/window_util.h WM_CORE_EXPORT bool CanActivateWindow(aura::Window* window); window 34 ui/wm/core/window_util.h WM_CORE_EXPORT aura::Window* GetActivatableWindow(aura::Window* window); window 38 ui/wm/core/window_util.h WM_CORE_EXPORT aura::Window* GetToplevelWindow(aura::Window* window); window 52 ui/wm/core/window_util.h WM_CORE_EXPORT aura::Window* GetTransientParent(aura::Window* window); window 54 ui/wm/core/window_util.h const aura::Window* window); window 56 ui/wm/core/window_util.h const aura::Window* window); window 64 ui/wm/core/window_util.h WM_CORE_EXPORT bool HasTransientAncestor(const aura::Window* window, window 19 ui/wm/public/activation_change_observer.cc Window* window, window 21 ui/wm/public/activation_change_observer.cc window->SetProperty(kActivationChangeObserverKey, observer); window 24 ui/wm/public/activation_change_observer.cc ActivationChangeObserver* GetActivationChangeObserver(Window* window) { window 25 ui/wm/public/activation_change_observer.cc return window ? window->GetProperty(kActivationChangeObserverKey) : NULL; window 37 ui/wm/public/activation_change_observer.h Window* window, window 40 ui/wm/public/activation_change_observer.h Window* window); window 29 ui/wm/public/activation_client.cc void SetHideOnDeactivate(Window* window, bool hide_on_deactivate) { window 30 ui/wm/public/activation_client.cc window->SetProperty(kHideOnDeactivate, hide_on_deactivate); window 33 ui/wm/public/activation_client.cc bool GetHideOnDeactivate(Window* window) { window 34 ui/wm/public/activation_client.cc return window->GetProperty(kHideOnDeactivate); window 28 ui/wm/public/activation_client.h virtual void ActivateWindow(Window* window) = 0; window 32 ui/wm/public/activation_client.h virtual void DeactivateWindow(Window* window) = 0; window 42 ui/wm/public/activation_client.h virtual Window* GetActivatableWindow(Window* window) = 0; window 45 ui/wm/public/activation_client.h virtual Window* GetToplevelWindow(Window* window) = 0; window 49 ui/wm/public/activation_client.h virtual bool OnWillFocusWindow(Window* window, const ui::Event* event) = 0; window 53 ui/wm/public/activation_client.h virtual bool CanActivateWindow(Window* window) const = 0; window 71 ui/wm/public/activation_client.h AURA_EXPORT void SetHideOnDeactivate(Window* window, bool hide_on_deactivate); window 72 ui/wm/public/activation_client.h AURA_EXPORT bool GetHideOnDeactivate(Window* window); window 18 ui/wm/public/activation_delegate.cc void SetActivationDelegate(Window* window, ActivationDelegate* delegate) { window 19 ui/wm/public/activation_delegate.cc window->SetProperty(kActivationDelegateKey, delegate); window 22 ui/wm/public/activation_delegate.cc ActivationDelegate* GetActivationDelegate(Window* window) { window 23 ui/wm/public/activation_delegate.cc return window->GetProperty(kActivationDelegateKey); window 30 ui/wm/public/activation_delegate.h AURA_EXPORT void SetActivationDelegate(Window* window, window 32 ui/wm/public/activation_delegate.h AURA_EXPORT ActivationDelegate* GetActivationDelegate(Window* window); window 17 ui/wm/public/animation_host.cc void SetAnimationHost(Window* window, AnimationHost* animation_host) { window 18 ui/wm/public/animation_host.cc DCHECK(window); window 19 ui/wm/public/animation_host.cc window->SetProperty(kRootWindowAnimationHostKey, animation_host); window 22 ui/wm/public/animation_host.cc AnimationHost* GetAnimationHost(Window* window) { window 23 ui/wm/public/animation_host.cc DCHECK(window); window 24 ui/wm/public/animation_host.cc return window->GetProperty(kRootWindowAnimationHostKey); window 41 ui/wm/public/animation_host.h AURA_EXPORT void SetAnimationHost(Window* window, window 43 ui/wm/public/animation_host.h AURA_EXPORT AnimationHost* GetAnimationHost(Window* window); window 18 ui/wm/public/drag_drop_delegate.cc void SetDragDropDelegate(Window* window, DragDropDelegate* delegate) { window 19 ui/wm/public/drag_drop_delegate.cc window->SetProperty(kDragDropDelegateKey, delegate); window 22 ui/wm/public/drag_drop_delegate.cc DragDropDelegate* GetDragDropDelegate(Window* window) { window 23 ui/wm/public/drag_drop_delegate.cc return window->GetProperty(kDragDropDelegateKey); window 44 ui/wm/public/drag_drop_delegate.h AURA_EXPORT void SetDragDropDelegate(Window* window, window 46 ui/wm/public/drag_drop_delegate.h AURA_EXPORT DragDropDelegate* GetDragDropDelegate(Window* window); window 13 ui/wm/public/scoped_tooltip_disabler.cc ScopedTooltipDisabler::ScopedTooltipDisabler(aura::Window* window) window 14 ui/wm/public/scoped_tooltip_disabler.cc : root_(window ? window->GetRootWindow() : NULL) { window 37 ui/wm/public/scoped_tooltip_disabler.cc void ScopedTooltipDisabler::OnWindowDestroying(aura::Window* window) { window 19 ui/wm/public/scoped_tooltip_disabler.h explicit ScopedTooltipDisabler(aura::Window* window); window 27 ui/wm/public/scoped_tooltip_disabler.h virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; window 32 ui/wm/public/tooltip_client.cc void SetTooltipText(Window* window, base::string16* tooltip_text) { window 33 ui/wm/public/tooltip_client.cc window->SetProperty(kTooltipTextKey, tooltip_text); window 36 ui/wm/public/tooltip_client.cc const base::string16 GetTooltipText(Window* window) { window 37 ui/wm/public/tooltip_client.cc base::string16* string_ptr = window->GetProperty(kTooltipTextKey); window 39 ui/wm/public/tooltip_client.h AURA_EXPORT void SetTooltipText(Window* window, base::string16* tooltip_text); window 40 ui/wm/public/tooltip_client.h AURA_EXPORT const base::string16 GetTooltipText(Window* window); window 31 ui/wm/public/transient_window_client.h virtual Window* GetTransientParent(Window* window) = 0; window 32 ui/wm/public/transient_window_client.h virtual const Window* GetTransientParent(const Window* window) = 0; window 19 ui/wm/public/window_move_client.cc void SetWindowMoveClient(Window* window, WindowMoveClient* client) { window 20 ui/wm/public/window_move_client.cc window->SetProperty(kWindowMoveClientKey, client); window 23 ui/wm/public/window_move_client.cc WindowMoveClient* GetWindowMoveClient(Window* window) { window 24 ui/wm/public/window_move_client.cc return window->GetProperty(kWindowMoveClientKey); window 37 ui/wm/public/window_move_client.h virtual WindowMoveResult RunMoveLoop(Window* window, window 49 ui/wm/public/window_move_client.h AURA_EXPORT void SetWindowMoveClient(Window* window, window 51 ui/wm/public/window_move_client.h AURA_EXPORT WindowMoveClient* GetWindowMoveClient(Window* window); window 21 ui/wm/test/wm_test_helper.cc aura::client::SetWindowTreeClient(host_->window(), this); window 24 ui/wm/test/wm_test_helper.cc aura::client::SetFocusClient(host_->window(), focus_client_.get()); window 28 ui/wm/test/wm_test_helper.cc host_->window()->SetEventFilter(root_window_event_filter_); window 32 ui/wm/test/wm_test_helper.cc input_method_filter_->SetInputMethodPropertyInRootWindow(host_->window()); window 36 ui/wm/test/wm_test_helper.cc new aura::client::DefaultActivationClient(host_->window())); window 39 ui/wm/test/wm_test_helper.cc new aura::client::DefaultCaptureClient(host_->window())); window 47 ui/wm/test/wm_test_helper.cc aura::Window* window, window 49 ui/wm/test/wm_test_helper.cc return host_->window(); window 47 ui/wm/test/wm_test_helper.h aura::Window* window, window 77 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::AcceleratedWidget window) { window 85 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc window)); window 122 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::AcceleratedWidget window) window 124 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc window_(window), window 56 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h gfx::AcceleratedWidget window); window 578 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h gfx::AcceleratedWidget window); window 181 win8/metro_driver/chrome_app_view.cc LRESULT CALLBACK ChromeWindowProc(HWND window, window 205 win8/metro_driver/chrome_app_view.cc ::GetProp(window, kChromeSubclassWindowProp)); window 207 win8/metro_driver/chrome_app_view.cc return CallWindowProc(old_proc, window, message, wp, lp); window 675 win8/metro_driver/chrome_app_view.cc ChromeAppView::SetWindow(winui::Core::ICoreWindow* window) { window 676 win8/metro_driver/chrome_app_view.cc window_ = window; window 681 win8/metro_driver/chrome_app_view.cc HRESULT hr = window->QueryInterface(interop.GetAddressOf()); window 739 win8/metro_driver/chrome_app_view.cc hr = devices_handler_.Initialize(window); window 955 win8/metro_driver/chrome_app_view.cc HWND window, UINT message, WPARAM wp, LPARAM lp) { window 978 win8/metro_driver/chrome_app_view.cc return CallWindowProc(globals.g_core_proc, window, message, wp, lp); window 40 win8/metro_driver/chrome_app_view.h IFACEMETHOD(SetWindow)(winui::Core::ICoreWindow* window); window 45 win8/metro_driver/chrome_app_view.h static LRESULT CALLBACK CoreWindowProc(HWND window, UINT message, WPARAM wp, window 531 win8/metro_driver/chrome_app_view_ash.cc ChromeAppViewAsh::SetWindow(winui::Core::ICoreWindow* window) { window 532 win8/metro_driver/chrome_app_view_ash.cc window_ = window; window 537 win8/metro_driver/chrome_app_view_ash.cc HRESULT hr = window->QueryInterface(interop.GetAddressOf()); window 626 win8/metro_driver/chrome_app_view_ash.cc direct3d_helper_.Initialize(window); window 64 win8/metro_driver/chrome_app_view_ash.h IFACEMETHOD(SetWindow)(winui::Core::ICoreWindow* window); window 18 win8/metro_driver/devices_handler.cc HRESULT DevicesHandler::Initialize(winui::Core::ICoreWindow* window) { window 19 win8/metro_driver/devices_handler.cc HRESULT hr = print_handler_.Initialize(window); window 21 win8/metro_driver/devices_handler.h HRESULT Initialize(winui::Core::ICoreWindow* window); window 50 win8/metro_driver/direct3d_helper.cc void Direct3DHelper::Initialize(winui::Core::ICoreWindow* window) { window 51 win8/metro_driver/direct3d_helper.cc window_ = window; window 140 win8/metro_driver/direct3d_helper.cc HWND window = NULL; window 141 win8/metro_driver/direct3d_helper.cc interop->get_WindowHandle(&window); window 148 win8/metro_driver/direct3d_helper.cc window, window 24 win8/metro_driver/direct3d_helper.h void Initialize(winui::Core::ICoreWindow* window); window 70 win8/metro_driver/print_handler.cc HRESULT PrintHandler::Initialize(winui::Core::ICoreWindow* window) { window 31 win8/metro_driver/print_handler.h HRESULT Initialize(winui::Core::ICoreWindow* window); window 65 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window); window 67 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window); window 73 win8/test/ui_automation_client.cc void CloseWindow(const base::win::ScopedComPtr<IUIAutomationElement>& window); window 311 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window) { window 316 win8/test/ui_automation_client.cc hr = window->GetCachedPropertyValueEx(UIA_ClassNamePropertyId, TRUE, window 335 win8/test/ui_automation_client.cc ProcessWindow(window); window 344 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window) { window 349 win8/test/ui_automation_client.cc result = InvokeDesiredItem(window); window 351 win8/test/ui_automation_client.cc GetInvokableItems(window, &choices); window 352 win8/test/ui_automation_client.cc CloseWindow(window); window 557 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window) { window 566 win8/test/ui_automation_client.cc result = window->GetCachedPropertyValueEx(