panel 177 ash/root_window_controller_unittest.cc aura::Window* panel = CreateTestWindowInShellWithDelegateAndType( panel 179 ash/root_window_controller_unittest.cc EXPECT_EQ(root_windows[1], panel->GetRootWindow()); panel 180 ash/root_window_controller_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, panel->parent()->id()); panel 253 ash/root_window_controller_unittest.cc EXPECT_EQ(root_windows[0], panel->GetRootWindow()); panel 254 ash/root_window_controller_unittest.cc EXPECT_EQ(kShellWindowId_PanelContainer, panel->parent()->id()); panel 792 ash/shelf/shelf_view_unittest.cc ShelfID panel = AddPanel(); panel 795 ash/shelf/shelf_view_unittest.cc RemoveByID(panel); panel 821 ash/shelf/shelf_view_unittest.cc ShelfID panel = AddPanel(); panel 822 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(GetButtonByID(panel)->visible()); panel 825 ash/shelf/shelf_view_unittest.cc RemoveByID(panel); panel 101 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* GetPanelContainer(aura::Window* panel) { panel 102 ash/wm/dock/docked_window_layout_manager_unittest.cc return Shell::GetContainer(panel->GetRootWindow(), panel 295 ash/wm/panels/panel_layout_manager.cc void PanelLayoutManager::StartDragging(aura::Window* panel) { panel 297 ash/wm/panels/panel_layout_manager.cc dragged_panel_ = panel; panel 319 ash/wm/panels/panel_layout_manager.cc void PanelLayoutManager::ToggleMinimize(aura::Window* panel) { panel 320 ash/wm/panels/panel_layout_manager.cc DCHECK(panel->parent() == panel_container_); panel 321 ash/wm/panels/panel_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(panel); panel 329 ash/wm/panels/panel_layout_manager.cc aura::Window* panel) { panel 330 ash/wm/panels/panel_layout_manager.cc DCHECK(panel->parent() == panel_container_); panel 332 ash/wm/panels/panel_layout_manager.cc std::find(panel_windows_.begin(), panel_windows_.end(), panel); panel 541 ash/wm/panels/panel_layout_manager.cc void PanelLayoutManager::MinimizePanel(aura::Window* panel) { panel 543 ash/wm/panels/panel_layout_manager.cc panel, WINDOW_VISIBILITY_ANIMATION_TYPE_MINIMIZE); panel 544 ash/wm/panels/panel_layout_manager.cc ui::Layer* layer = panel->layer(); panel 550 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds(panel->bounds()); panel 553 ash/wm/panels/panel_layout_manager.cc SetChildBoundsDirect(panel, bounds); panel 554 ash/wm/panels/panel_layout_manager.cc panel->Hide(); panel 556 ash/wm/panels/panel_layout_manager.cc std::find(panel_windows_.begin(), panel_windows_.end(), panel); panel 562 ash/wm/panels/panel_layout_manager.cc if (wm::IsActiveWindow(panel)) panel 563 ash/wm/panels/panel_layout_manager.cc wm::DeactivateWindow(panel); panel 567 ash/wm/panels/panel_layout_manager.cc void PanelLayoutManager::RestorePanel(aura::Window* panel) { panel 568 ash/wm/panels/panel_layout_manager.cc panel->Show(); panel 593 ash/wm/panels/panel_layout_manager.cc aura::Window* panel = iter->window; panel 598 ash/wm/panels/panel_layout_manager.cc if (!panel->IsVisible() || panel 599 ash/wm/panels/panel_layout_manager.cc (panel == dragged_panel_ && panel 600 ash/wm/panels/panel_layout_manager.cc !BoundsAdjacent(panel->bounds(), shelf_bounds))) { panel 608 ash/wm/panels/panel_layout_manager.cc if (panel != dragged_panel_ && restore_windows_on_shelf_visible_) { panel 609 ash/wm/panels/panel_layout_manager.cc wm::GetWindowState(panel)->Minimize(); panel 610 ash/wm/panels/panel_layout_manager.cc restore_windows_on_shelf_visible_->Add(panel); panel 614 ash/wm/panels/panel_layout_manager.cc gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); panel 623 ash/wm/panels/panel_layout_manager.cc if (panel->HasFocus() || panel 624 ash/wm/panels/panel_layout_manager.cc panel->Contains( panel 625 ash/wm/panels/panel_layout_manager.cc aura::client::GetFocusClient(panel)->GetFocusedWindow())) { panel 627 ash/wm/panels/panel_layout_manager.cc active_panel = panel; panel 637 ash/wm/panels/panel_layout_manager.cc panel->bounds().width() : panel->bounds().height(); panel 645 ash/wm/panels/panel_layout_manager.cc position_info.window = panel; panel 791 ash/wm/panels/panel_layout_manager.cc aura::Window* panel = iter->window; panel 794 ash/wm/panels/panel_layout_manager.cc gfx::Rect current_bounds = panel->GetBoundsInScreen(); panel 796 ash/wm/panels/panel_layout_manager.cc panel->parent(), panel 797 ash/wm/panels/panel_layout_manager.cc panel->GetTargetBounds()); panel 798 ash/wm/panels/panel_layout_manager.cc gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); panel 799 ash/wm/panels/panel_layout_manager.cc if (icon_bounds.IsEmpty() || !panel->layer()->GetTargetVisibility() || panel 800 ash/wm/panels/panel_layout_manager.cc panel == dragged_panel_) { panel 844 ash/wm/panels/panel_layout_manager.cc panel); panel 68 ash/wm/panels/panel_layout_manager.h void StartDragging(aura::Window* panel); panel 71 ash/wm/panels/panel_layout_manager.h void ToggleMinimize(aura::Window* panel); panel 74 ash/wm/panels/panel_layout_manager.h views::Widget* GetCalloutWidgetForPanel(aura::Window* panel); panel 142 ash/wm/panels/panel_layout_manager.h void MinimizePanel(aura::Window* panel); panel 143 ash/wm/panels/panel_layout_manager.h void RestorePanel(aura::Window* panel); panel 75 ash/wm/panels/panel_layout_manager_unittest.cc aura::Window* GetPanelContainer(aura::Window* panel) { panel 76 ash/wm/panels/panel_layout_manager_unittest.cc return Shell::GetContainer(panel->GetRootWindow(), panel 80 ash/wm/panels/panel_layout_manager_unittest.cc views::Widget* GetCalloutWidgetForPanel(aura::Window* panel) { panel 82 ash/wm/panels/panel_layout_manager_unittest.cc static_cast<PanelLayoutManager*>(GetPanelContainer(panel)-> panel 87 ash/wm/panels/panel_layout_manager_unittest.cc panel); panel 93 ash/wm/panels/panel_layout_manager_unittest.cc void PanelInScreen(aura::Window* panel) { panel 94 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect panel_bounds = panel->GetBoundsInRootWindow(); panel 98 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect panel_bounds_in_screen = panel->GetBoundsInScreen(); panel 118 ash/wm/panels/panel_layout_manager_unittest.cc void IsPanelAboveLauncherIcon(aura::Window* panel) { panel 122 ash/wm/panels/panel_layout_manager_unittest.cc Shelf* shelf = RootWindowController::ForShelf(panel)->shelf()->shelf(); panel 123 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect icon_bounds = shelf->GetScreenBoundsOfItemIconForWindow(panel); panel 126 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect window_bounds = panel->GetBoundsInScreen(); panel 130 ash/wm/panels/panel_layout_manager_unittest.cc ShelfAlignment alignment = GetAlignment(panel->GetRootWindow()); panel 160 ash/wm/panels/panel_layout_manager_unittest.cc void IsCalloutAboveLauncherIcon(aura::Window* panel) { panel 163 ash/wm/panels/panel_layout_manager_unittest.cc views::Widget* widget = GetCalloutWidgetForPanel(panel); panel 165 ash/wm/panels/panel_layout_manager_unittest.cc Shelf* shelf = RootWindowController::ForShelf(panel)->shelf()->shelf(); panel 166 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect icon_bounds = shelf->GetScreenBoundsOfItemIconForWindow(panel); panel 169 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect panel_bounds = panel->GetBoundsInScreen(); panel 175 ash/wm/panels/panel_layout_manager_unittest.cc ShelfAlignment alignment = GetAlignment(panel->GetRootWindow()); panel 202 ash/wm/panels/panel_layout_manager_unittest.cc bool IsPanelCalloutVisible(aura::Window* panel) { panel 203 ash/wm/panels/panel_layout_manager_unittest.cc views::Widget* widget = GetCalloutWidgetForPanel(panel); panel 332 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> panel(CreatePanelWindow(gfx::Rect(400, 0, 50, 50))); panel 333 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_EQ(root_windows[1], panel->GetRootWindow()); panel 334 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_NO_FATAL_FAILURE(IsPanelAboveLauncherIcon(panel.get())); panel 335 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect shelf_visible_position = panel->GetBoundsInScreen(); panel 341 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_NO_FATAL_FAILURE(IsPanelAboveLauncherIcon(panel.get())); panel 342 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_EQ(shelf_visible_position.x(), panel->GetBoundsInScreen().x()); panel 343 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_GT(panel->GetBoundsInScreen().y(), shelf_visible_position.y()); panel 49 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java public ContentWrapperView(Context context, InfoBar infoBar, int backgroundType, View panel, panel 79 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java addChildView(panel); panel 542 chrome/browser/extensions/api/tabs/tabs_api.cc Panel* panel = PanelManager::GetInstance()->CreatePanel( panel 547 chrome/browser/extensions/api/tabs/tabs_api.cc panel->ShowInactive(); panel 549 chrome/browser/extensions/api/tabs/tabs_api.cc panel->Show(); panel 552 chrome/browser/extensions/api/tabs/tabs_api.cc panel->extension_window_controller()->CreateWindowValueWithTabs( panel 33 chrome/browser/task_manager/panel_information.cc explicit PanelResource(Panel* panel); panel 51 chrome/browser/task_manager/panel_information.cc PanelResource::PanelResource(Panel* panel) panel 53 chrome/browser/task_manager/panel_information.cc panel->GetWebContents()->GetRenderProcessHost()->GetHandle(), panel 54 chrome/browser/task_manager/panel_information.cc panel->GetWebContents()->GetRenderViewHost()), panel 55 chrome/browser/task_manager/panel_information.cc panel_(panel) { panel 153 chrome/browser/task_manager/task_manager_browsertest.cc Panel* panel = PanelManager::GetInstance()->CreatePanel( panel 176 chrome/browser/task_manager/task_manager_browsertest.cc panel->Close(); panel 206 chrome/browser/task_manager/task_manager_browsertest.cc Panel* panel = PanelManager::GetInstance()->CreatePanel( panel 225 chrome/browser/task_manager/task_manager_browsertest.cc panel->Close(); panel 323 chrome/browser/task_manager/task_manager_browsertest.cc int panel = FindResourceIndex(MatchExtension( panel 326 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_NE(-1, panel); panel 327 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(panel) != NULL); panel 328 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->CanActivate(panel)); panel 329 chrome/browser/task_manager/task_manager_browsertest.cc TaskManager::GetInstance()->KillProcess(panel); panel 181 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc AppWindow* panel = app_windows_.front(); panel 182 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc aura::Window* panel_window = panel->GetNativeWindow(); panel 187 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc if (!panel->GetBaseWindow()->IsActive()) panel 188 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc ShowAndActivateOrMinimize(panel); panel 190 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc ShowAndActivateOrMinimize(panel); panel 740 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc AppWindow* panel = CreateAppWindowFromParams(extension1, params); panel 741 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(panel->GetNativeWindow()->IsVisible()); panel 743 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_FALSE(panel->GetBaseWindow()->IsActive()); panel 753 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(panel->GetBaseWindow()->IsActive()); panel 757 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(panel->GetBaseWindow()->IsMinimized()); panel 761 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(panel->GetNativeWindow()->IsVisible()); panel 762 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(panel->GetBaseWindow()->IsActive()); panel 1388 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc AppWindow* panel = CreateAppWindowFromParams(extension, params); panel 1389 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(panel->GetNativeWindow()->IsVisible()); panel 1391 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_FALSE(panel->GetBaseWindow()->IsActive()); panel 1400 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc panel->GetNativeWindow()->SetProperty(aura::client::kDrawAttentionKey, true); panel 1406 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(panel->GetBaseWindow()->IsActive()); panel 1410 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc panel->GetNativeWindow()->SetProperty(aura::client::kDrawAttentionKey, true); panel 21 chrome/browser/ui/cocoa/panels/panel_cocoa.h PanelCocoa(Panel* panel, const gfx::Rect& bounds, bool always_on_top); panel 50 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; panel 70 chrome/browser/ui/cocoa/panels/panel_cocoa.h Panel* panel() const; panel 110 chrome/browser/ui/cocoa/panels/panel_cocoa.h panel::CornerStyle corner_style_; panel 37 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h virtual void AddPanel(Panel* panel) OVERRIDE; panel 38 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h virtual void RemovePanel(Panel* panel) OVERRIDE; panel 41 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h virtual bool HasPanel(Panel* panel) const OVERRIDE; panel 44 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h virtual void AddPanelBoundsForBatchUpdate(Panel* panel, panel 51 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h virtual void OnPanelActivated(Panel* panel) OVERRIDE; panel 55 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h - (Panel*)panel; panel 42 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h @property (readonly, nonatomic) SFChooseIdentityPanel* panel; panel 16 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc panel::ResizingSides GdkWindowEdgeToResizingSide(GdkWindowEdge edge) { panel 19 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_TOP_LEFT; panel 21 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_TOP; panel 23 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_TOP_RIGHT; panel 25 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_LEFT; panel 27 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_RIGHT; panel 29 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_BOTTOM_LEFT; panel 31 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_BOTTOM; panel 33 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_BOTTOM_RIGHT; panel 35 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc return panel::RESIZE_NONE; panel 44 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc explicit PanelDragDelegate(Panel* panel) : panel_(panel) {} panel 66 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc explicit MoveDragDelegate(Panel* panel) panel 67 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc : PanelDragDelegate(panel) {} panel 71 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc panel_manager()->StartDragging(panel(), point); panel 86 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc ResizeDragDelegate(Panel* panel, GdkWindowEdge edge) panel 87 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc : PanelDragDelegate(panel), panel 92 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc panel_manager()->StartResizingByMouse(panel(), point, resizing_side_); panel 102 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc panel::ResizingSides resizing_side_; panel 109 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc PanelDragGtk::PanelDragGtk(Panel* panel) panel 110 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc : panel_(panel), panel 24 chrome/browser/ui/gtk/panels/panel_drag_gtk.h explicit PanelDragGtk(Panel* panel); panel 203 chrome/browser/ui/gtk/panels/panel_gtk.cc NativePanel* Panel::CreateNativePanel(Panel* panel, panel 206 chrome/browser/ui/gtk/panels/panel_gtk.cc PanelGtk* panel_gtk = new PanelGtk(panel, bounds, always_on_top); panel 211 chrome/browser/ui/gtk/panels/panel_gtk.cc PanelGtk::PanelGtk(Panel* panel, const gfx::Rect& bounds, bool always_on_top) panel 212 chrome/browser/ui/gtk/panels/panel_gtk.cc : panel_(panel), panel 227 chrome/browser/ui/gtk/panels/panel_gtk.cc corner_style_(panel::ALL_ROUNDED) { panel 253 chrome/browser/ui/gtk/panels/panel_gtk.cc hints.min_height = panel::kMinimizedPanelHeight; panel 324 chrome/browser/ui/gtk/panels/panel_gtk.cc void PanelGtk::SetWindowCornerStyle(panel::CornerStyle corner_style) { panel 368 chrome/browser/ui/gtk/panels/panel_gtk.cc if (corner_style_ & panel::TOP_ROUNDED) { panel 378 chrome/browser/ui/gtk/panels/panel_gtk.cc if (corner_style_ & panel::BOTTOM_ROUNDED) { panel 474 chrome/browser/ui/gtk/panels/panel_gtk.cc return panel_gtk->panel()->ExecuteCommandIfEnabled(command_id); panel 498 chrome/browser/ui/gtk/panels/panel_gtk.cc panel::Resizability resizability = panel_->CanResizeByMouse(); panel 499 chrome/browser/ui/gtk/panels/panel_gtk.cc if (panel::NOT_RESIZABLE == resizability) panel 506 chrome/browser/ui/gtk/panels/panel_gtk.cc (resizability & panel::RESIZABLE_TOP_LEFT)) { panel 510 chrome/browser/ui/gtk/panels/panel_gtk.cc (resizability & panel::RESIZABLE_BOTTOM_LEFT)) { panel 516 chrome/browser/ui/gtk/panels/panel_gtk.cc (resizability & panel::RESIZABLE_TOP_RIGHT)) { panel 520 chrome/browser/ui/gtk/panels/panel_gtk.cc (resizability & panel::RESIZABLE_BOTTOM_RIGHT)) { panel 526 chrome/browser/ui/gtk/panels/panel_gtk.cc if (x < kFrameBorderThickness && (resizability & panel::RESIZABLE_LEFT)) { panel 530 chrome/browser/ui/gtk/panels/panel_gtk.cc (resizability & panel::RESIZABLE_RIGHT)) { panel 535 chrome/browser/ui/gtk/panels/panel_gtk.cc if (y < kFrameBorderThickness && (resizability & panel::RESIZABLE_TOP)) { panel 539 chrome/browser/ui/gtk/panels/panel_gtk.cc (resizability & panel::RESIZABLE_BOTTOM)) { panel 574 chrome/browser/ui/gtk/panels/panel_gtk.cc else if (window_height <= panel::kMinimizedPanelHeight) panel 640 chrome/browser/ui/gtk/panels/panel_gtk.cc Panel* panel = *iter; panel 641 chrome/browser/ui/gtk/panels/panel_gtk.cc GtkWindow* gtk_window = panel->GetNativeWindow(); panel 668 chrome/browser/ui/gtk/panels/panel_gtk.cc panel::APPLY_TO_ALL : panel::NO_MODIFIER); panel 1053 chrome/browser/ui/gtk/panels/panel_gtk.cc return panel::kTitlebarHeight; panel 1107 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE; panel 1109 chrome/browser/ui/gtk/panels/panel_gtk.cc panel::ClickModifier modifier) OVERRIDE; panel 1121 chrome/browser/ui/gtk/panels/panel_gtk.cc panel::TitlebarButtonType button_type) const OVERRIDE; panel 1122 chrome/browser/ui/gtk/panels/panel_gtk.cc virtual panel::CornerStyle GetWindowCornerStyle() const OVERRIDE; panel 1137 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) { panel 1143 chrome/browser/ui/gtk/panels/panel_gtk.cc if (modifier == panel::APPLY_TO_ALL) panel 1152 chrome/browser/ui/gtk/panels/panel_gtk.cc panel::ClickModifier modifier) { panel 1155 chrome/browser/ui/gtk/panels/panel_gtk.cc if (modifier == panel::APPLY_TO_ALL) panel 1190 chrome/browser/ui/gtk/panels/panel_gtk.cc ReleaseMouseButtonTitlebar(panel::NO_MODIFIER); panel 1204 chrome/browser/ui/gtk/panels/panel_gtk.cc gdk_pixbuf_get_width(icon) == panel::kPanelAppIconSize && panel 1205 chrome/browser/ui/gtk/panels/panel_gtk.cc gdk_pixbuf_get_height(icon) == panel::kPanelAppIconSize; panel 1228 chrome/browser/ui/gtk/panels/panel_gtk.cc panel::TitlebarButtonType button_type) const { panel 1232 chrome/browser/ui/gtk/panels/panel_gtk.cc case panel::CLOSE_BUTTON: panel 1235 chrome/browser/ui/gtk/panels/panel_gtk.cc case panel::MINIMIZE_BUTTON: panel 1238 chrome/browser/ui/gtk/panels/panel_gtk.cc case panel::RESTORE_BUTTON: panel 1248 chrome/browser/ui/gtk/panels/panel_gtk.cc panel::CornerStyle GtkNativePanelTesting::GetWindowCornerStyle() const { panel 40 chrome/browser/ui/gtk/panels/panel_gtk.h PanelGtk(Panel* panel, const gfx::Rect& bounds, bool always_on_top); panel 82 chrome/browser/ui/gtk/panels/panel_gtk.h virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; panel 93 chrome/browser/ui/gtk/panels/panel_gtk.h Panel* panel() const { return panel_.get(); } panel 217 chrome/browser/ui/gtk/panels/panel_gtk.h panel::CornerStyle corner_style_; panel 39 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc void PanelStackWindowGtk::AddPanel(Panel* panel) { panel 40 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc panels_.push_back(panel); panel 46 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc gtk_window_set_skip_taskbar_hint(panel->GetNativeWindow(), true); panel 49 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc void PanelStackWindowGtk::RemovePanel(Panel* panel) { panel 50 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc panels_.remove(panel); panel 57 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc GtkWindow* gtk_window = panel->GetNativeWindow(); panel 67 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc Panel* panel = *iter; panel 68 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc panels_.push_back(panel); panel 79 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc bool PanelStackWindowGtk::HasPanel(Panel* panel) const { panel 80 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc return std::find(panels_.begin(), panels_.end(), panel) != panels_.end(); panel 86 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc Panel* panel = *iter; panel 87 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc gfx::Rect bounds = panel->GetBounds(); panel 89 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc panel->SetPanelBoundsInstantly(bounds); panel 101 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc Panel* panel, const gfx::Rect& new_bounds) { panel 105 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc if (panel->GetBounds() == new_bounds) panel 109 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc bounds_updates_[panel] = new_bounds; panel 144 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc void PanelStackWindowGtk::OnPanelActivated(Panel* panel) { panel 217 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc Panel* panel = panels_.front(); panel 226 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc panel->GetBounds().x(), panel->GetBounds().y(), 1, 1); panel 250 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc Panel* panel = panels_.front(); panel 254 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc panel->GetBounds().x() + 5, panel->GetBounds().y() + 5, 1, 1); panel 26 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h virtual void AddPanel(Panel* panel) OVERRIDE; panel 27 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h virtual void RemovePanel(Panel* panel) OVERRIDE; panel 30 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h virtual bool HasPanel(Panel* panel) const OVERRIDE; panel 33 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h virtual void AddPanelBoundsForBatchUpdate(Panel* panel, panel 40 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h virtual void OnPanelActivated(Panel* panel) OVERRIDE; panel 127 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc minimize_button_.reset(CreateButton(panel::MINIMIZE_BUTTON)); panel 128 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc restore_button_.reset(CreateButton(panel::RESTORE_BUTTON)); panel 129 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc close_button_.reset(CreateButton(panel::CLOSE_BUTTON)); panel 140 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel::TitlebarButtonType button_type) { panel 153 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel::kPanelButtonSize, panel 154 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel::kPanelButtonSize); panel 169 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel::TitlebarButtonType button_type, panel 175 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc case panel::CLOSE_BUTTON: panel 181 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc case panel::MINIMIZE_BUTTON: panel 187 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc case panel::RESTORE_BUTTON: panel 210 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc base::UTF16ToUTF8(panel_gtk_->panel()->GetWindowTitle()); panel 223 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc content::WebContents* web_contents = panel_gtk_->panel()->GetWebContents(); panel 237 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc gfx::Image icon = panel_gtk_->panel()->GetCurrentPageIcon(); panel 256 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc Panel* panel = panel_gtk_->panel(); panel 258 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel->CanShowMinimizeButton()); panel 260 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel->CanShowRestoreButton()); panel 264 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc Panel* panel = panel_gtk_->panel(); panel 266 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel->Close(); panel 274 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel->OnMinimizeButtonClicked( panel 276 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel::APPLY_TO_ALL : panel::NO_MODIFIER); panel 278 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel->OnRestoreButtonClicked( panel 280 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel::APPLY_TO_ALL : panel::NO_MODIFIER); panel 281 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc panel->Activate(); panel 53 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.h CustomDrawButton* CreateButton(panel::TitlebarButtonType button_type); panel 54 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.h void GetButtonResources(panel::TitlebarButtonType button_type, panel 300 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel, ActiveState expected_state) { panel 306 chrome/browser/ui/panels/base_panel_browser_test.cc CreateNativePanelTesting(panel)); panel 311 chrome/browser/ui/panels/base_panel_browser_test.cc PanelActiveStateObserver signal(panel, expected_state == SHOW_AS_ACTIVE); panel 315 chrome/browser/ui/panels/base_panel_browser_test.cc void BasePanelBrowserTest::WaitForWindowSizeAvailable(Panel* panel) { panel 317 chrome/browser/ui/panels/base_panel_browser_test.cc CreateNativePanelTesting(panel)); panel 320 chrome/browser/ui/panels/base_panel_browser_test.cc content::Source<Panel>(panel)); panel 327 chrome/browser/ui/panels/base_panel_browser_test.cc void BasePanelBrowserTest::WaitForBoundsAnimationFinished(Panel* panel) { panel 329 chrome/browser/ui/panels/base_panel_browser_test.cc CreateNativePanelTesting(panel)); panel 335 chrome/browser/ui/panels/base_panel_browser_test.cc content::Source<Panel>(panel)); panel 372 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel = manager->CreatePanel( panel 384 chrome/browser/ui/panels/base_panel_browser_test.cc EXPECT_FALSE(panel->auto_resizable()); panel 386 chrome/browser/ui/panels/base_panel_browser_test.cc EXPECT_TRUE(panel->auto_resizable()); panel 390 chrome/browser/ui/panels/base_panel_browser_test.cc panel->Show(); panel 392 chrome/browser/ui/panels/base_panel_browser_test.cc panel->ShowInactive(); panel 407 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForPanelActiveState(panel, SHOW_AS_ACTIVE); panel 414 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForPanelActiveState(panel, params.expected_active_state); panel 418 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForWindowSizeAvailable(panel); panel 421 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForBoundsAnimationFinished(panel); panel 424 chrome/browser/ui/panels/base_panel_browser_test.cc return panel; panel 440 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel = CreatePanelWithBounds(name, bounds); panel 441 chrome/browser/ui/panels/base_panel_browser_test.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 442 chrome/browser/ui/panels/base_panel_browser_test.cc return panel; panel 447 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel = CreatePanelWithBounds(name, bounds); panel 448 chrome/browser/ui/panels/base_panel_browser_test.cc PanelManager* panel_manager = panel->manager(); panel 449 chrome/browser/ui/panels/base_panel_browser_test.cc panel_manager->MovePanelToCollection(panel, panel 452 chrome/browser/ui/panels/base_panel_browser_test.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 456 chrome/browser/ui/panels/base_panel_browser_test.cc panel->SetPanelBounds(bounds); panel 457 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForBoundsAnimationFinished(panel); panel 458 chrome/browser/ui/panels/base_panel_browser_test.cc return panel; panel 464 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel = CreateDetachedPanel(name, bounds); panel 465 chrome/browser/ui/panels/base_panel_browser_test.cc panel->manager()->MovePanelToCollection( panel 466 chrome/browser/ui/panels/base_panel_browser_test.cc panel, panel 471 chrome/browser/ui/panels/base_panel_browser_test.cc EXPECT_EQ(PanelCollection::STACKED, panel->collection()->type()); panel 472 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForBoundsAnimationFinished(panel); panel 473 chrome/browser/ui/panels/base_panel_browser_test.cc return panel; panel 480 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel = CreatePanel(name); panel 482 chrome/browser/ui/panels/base_panel_browser_test.cc DeactivatePanel(panel); panel 483 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForPanelActiveState(panel, SHOW_AS_INACTIVE); panel 485 chrome/browser/ui/panels/base_panel_browser_test.cc return panel; panel 493 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel = CreateDockedPanel(name, bounds); panel 495 chrome/browser/ui/panels/base_panel_browser_test.cc DeactivatePanel(panel); panel 496 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForPanelActiveState(panel, SHOW_AS_INACTIVE); panel 498 chrome/browser/ui/panels/base_panel_browser_test.cc return panel; panel 506 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel = CreateDetachedPanel(name, bounds); panel 508 chrome/browser/ui/panels/base_panel_browser_test.cc DeactivatePanel(panel); panel 509 chrome/browser/ui/panels/base_panel_browser_test.cc WaitForPanelActiveState(panel, SHOW_AS_INACTIVE); panel 511 chrome/browser/ui/panels/base_panel_browser_test.cc return panel; panel 514 chrome/browser/ui/panels/base_panel_browser_test.cc void BasePanelBrowserTest::ActivatePanel(Panel* panel) { panel 523 chrome/browser/ui/panels/base_panel_browser_test.cc if (panel != current_panel) panel 528 chrome/browser/ui/panels/base_panel_browser_test.cc panel->Activate(); panel 531 chrome/browser/ui/panels/base_panel_browser_test.cc void BasePanelBrowserTest::DeactivatePanel(Panel* panel) { panel 536 chrome/browser/ui/panels/base_panel_browser_test.cc panel->Deactivate(); panel 550 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel) { panel 551 chrome/browser/ui/panels/base_panel_browser_test.cc return panel->native_panel()->CreateNativePanelTesting(); panel 580 chrome/browser/ui/panels/base_panel_browser_test.cc void BasePanelBrowserTest::CloseWindowAndWait(Panel* panel) { panel 587 chrome/browser/ui/panels/base_panel_browser_test.cc content::Source<Panel>(panel)); panel 588 chrome/browser/ui/panels/base_panel_browser_test.cc panel->Close(); panel 606 chrome/browser/ui/panels/base_panel_browser_test.cc Panel* panel, panel 610 chrome/browser/ui/panels/base_panel_browser_test.cc content::Source<Panel>(panel)); panel 96 chrome/browser/ui/panels/base_panel_browser_test.h void ActivatePanel(Panel* panel); panel 97 chrome/browser/ui/panels/base_panel_browser_test.h void DeactivatePanel(Panel* panel); panel 99 chrome/browser/ui/panels/base_panel_browser_test.h static NativePanelTesting* CreateNativePanelTesting(Panel* panel); panel 101 chrome/browser/ui/panels/base_panel_browser_test.h void WaitForPanelActiveState(Panel* panel, ActiveState state); panel 102 chrome/browser/ui/panels/base_panel_browser_test.h void WaitForWindowSizeAvailable(Panel* panel); panel 103 chrome/browser/ui/panels/base_panel_browser_test.h void WaitForBoundsAnimationFinished(Panel* panel); panel 110 chrome/browser/ui/panels/base_panel_browser_test.h void MoveMouseAndWaitForExpansionStateChange(Panel* panel, panel 113 chrome/browser/ui/panels/base_panel_browser_test.h void CloseWindowAndWait(Panel* panel); panel 25 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 27 chrome/browser/ui/panels/detached_panel_browsertest.cc CreateNativePanelTesting(panel)); panel 30 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_TRUE(detached_collection->HasPanel(panel)); panel 32 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(bounds.x(), panel->GetBounds().x()); panel 36 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(bounds.y(), panel->GetBounds().y()); panel 37 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(bounds.width(), panel->GetBounds().width()); panel 38 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(bounds.height(), panel->GetBounds().height()); panel 39 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsAlwaysOnTop()); panel 41 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_TRUE(panel_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 45 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_TRUE(panel_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 47 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 48 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 50 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_ALL, panel->CanResizeByMouse()); panel 52 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(panel::ALL_ROUNDED, panel_testing->GetWindowCornerStyle()); panel 57 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(expected_attention_mode, panel->attention_mode()); panel 64 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); panel 66 chrome/browser/ui/panels/detached_panel_browsertest.cc CreateNativePanelTesting(panel)); panel 70 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 71 chrome/browser/ui/panels/detached_panel_browsertest.cc panel->FlashFrame(true); panel 72 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 75 chrome/browser/ui/panels/detached_panel_browsertest.cc panel->Close(); panel 80 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = panel 83 chrome/browser/ui/panels/detached_panel_browsertest.cc CreateNativePanelTesting(panel)); panel 86 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsActive()); panel 87 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 88 chrome/browser/ui/panels/detached_panel_browsertest.cc panel->FlashFrame(true); panel 89 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 93 chrome/browser/ui/panels/detached_panel_browsertest.cc panel->FlashFrame(false); panel 94 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 102 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = panel 105 chrome/browser/ui/panels/detached_panel_browsertest.cc CreateNativePanelTesting(panel)); panel 108 chrome/browser/ui/panels/detached_panel_browsertest.cc panel->FlashFrame(true); panel 109 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 113 chrome/browser/ui/panels/detached_panel_browsertest.cc panel->Activate(); panel 114 chrome/browser/ui/panels/detached_panel_browsertest.cc WaitForPanelActiveState(panel, SHOW_AS_ACTIVE); panel 115 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 122 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); panel 123 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsMinimized()); panel 128 chrome/browser/ui/panels/detached_panel_browsertest.cc CreateNativePanelTesting(panel)); panel 129 chrome/browser/ui/panels/detached_panel_browsertest.cc test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin()); panel 131 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_TRUE(panel->IsActive()); panel 132 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsMinimized()); panel 134 chrome/browser/ui/panels/detached_panel_browsertest.cc test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin(), panel 135 chrome/browser/ui/panels/detached_panel_browsertest.cc panel::APPLY_TO_ALL); panel 136 chrome/browser/ui/panels/detached_panel_browsertest.cc test_panel->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 137 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_TRUE(panel->IsActive()); panel 138 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsMinimized()); panel 141 chrome/browser/ui/panels/detached_panel_browsertest.cc DeactivatePanel(panel); panel 142 chrome/browser/ui/panels/detached_panel_browsertest.cc test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin()); panel 144 chrome/browser/ui/panels/detached_panel_browsertest.cc WaitForPanelActiveState(panel, SHOW_AS_ACTIVE); panel 145 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_FALSE(panel->IsMinimized()); panel 156 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", initial_bounds); panel 157 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(initial_bounds, panel->GetBounds()); panel 166 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 192 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", initial_bounds); panel 193 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(initial_bounds, panel->GetBounds()); panel 202 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 216 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 217 chrome/browser/ui/panels/detached_panel_browsertest.cc scoped_ptr<NativePanelTesting> panel_testing(CreateNativePanelTesting(panel)); panel 243 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 244 chrome/browser/ui/panels/detached_panel_browsertest.cc scoped_ptr<NativePanelTesting> panel_testing(CreateNativePanelTesting(panel)); panel 40 chrome/browser/ui/panels/detached_panel_collection.cc Panel* panel = *iter; panel 42 chrome/browser/ui/panels/detached_panel_collection.cc display_settings_provider->GetWorkAreaMatching(panel->GetBounds()); panel 45 chrome/browser/ui/panels/detached_panel_collection.cc panel->LimitSizeToWorkArea(work_area); panel 49 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 50 chrome/browser/ui/panels/detached_panel_collection.cc if (panel->full_size() != bounds.size()) { panel 51 chrome/browser/ui/panels/detached_panel_collection.cc bounds.set_size(panel->full_size()); panel 61 chrome/browser/ui/panels/detached_panel_collection.cc panel->SetPanelBoundsInstantly(bounds); panel 75 chrome/browser/ui/panels/detached_panel_collection.cc Panel* panel = *iter; panel 76 chrome/browser/ui/panels/detached_panel_collection.cc if (!panel->in_preview_mode() && panel 77 chrome/browser/ui/panels/detached_panel_collection.cc panel->expansion_state() != Panel::EXPANDED) panel 78 chrome/browser/ui/panels/detached_panel_collection.cc panel->SetExpansionState(Panel::EXPANDED); panel 82 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::AddPanel(Panel* panel, panel 85 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_NE(this, panel->collection()); panel 86 chrome/browser/ui/panels/detached_panel_collection.cc panel->set_collection(this); panel 87 chrome/browser/ui/panels/detached_panel_collection.cc panels_.push_back(panel); panel 91 chrome/browser/ui/panels/detached_panel_collection.cc if (panel->GetBounds().origin() == default_panel_origin_) panel 95 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::RemovePanel(Panel* panel, RemovalReason reason) { panel 96 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 97 chrome/browser/ui/panels/detached_panel_collection.cc panel->set_collection(NULL); panel 98 chrome/browser/ui/panels/detached_panel_collection.cc panels_.remove(panel); panel 110 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::OnPanelAttentionStateChanged(Panel* panel) { panel 111 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 115 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::OnPanelTitlebarClicked(Panel* panel, panel 116 chrome/browser/ui/panels/detached_panel_collection.cc panel::ClickModifier modifier) { panel 117 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 122 chrome/browser/ui/panels/detached_panel_collection.cc Panel* panel, panel 125 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 130 chrome/browser/ui/panels/detached_panel_collection.cc new_size = panel->ClampSize(new_size); panel 133 chrome/browser/ui/panels/detached_panel_collection.cc if (new_size != panel->full_size()) panel 134 chrome/browser/ui/panels/detached_panel_collection.cc panel->set_full_size(new_size); panel 136 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 142 chrome/browser/ui/panels/detached_panel_collection.cc if (bounds != panel->GetBounds()) panel 143 chrome/browser/ui/panels/detached_panel_collection.cc panel->SetPanelBounds(bounds); panel 146 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::ActivatePanel(Panel* panel) { panel 147 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 151 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::MinimizePanel(Panel* panel) { panel 152 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 157 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::RestorePanel(Panel* panel) { panel 158 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 164 chrome/browser/ui/panels/detached_panel_collection.cc Panel* panel, panel::ClickModifier modifier) { panel 165 chrome/browser/ui/panels/detached_panel_collection.cc panel->MinimizeBySystem(); panel 169 chrome/browser/ui/panels/detached_panel_collection.cc Panel* panel, panel::ClickModifier modifier) { panel 174 chrome/browser/ui/panels/detached_panel_collection.cc bool DetachedPanelCollection::CanShowMinimizeButton(const Panel* panel) const { panel 181 chrome/browser/ui/panels/detached_panel_collection.cc bool DetachedPanelCollection::CanShowRestoreButton(const Panel* panel) const { panel 187 chrome/browser/ui/panels/detached_panel_collection.cc bool DetachedPanelCollection::IsPanelMinimized(const Panel* panel) const { panel 188 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 197 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::SavePanelPlacement(Panel* panel) { panel 198 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK(!saved_panel_placement_.panel); panel 199 chrome/browser/ui/panels/detached_panel_collection.cc saved_panel_placement_.panel = panel; panel 200 chrome/browser/ui/panels/detached_panel_collection.cc saved_panel_placement_.position = panel->GetBounds().origin(); panel 204 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK(saved_panel_placement_.panel); panel 206 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect new_bounds(saved_panel_placement_.panel->GetBounds()); panel 208 chrome/browser/ui/panels/detached_panel_collection.cc saved_panel_placement_.panel->SetPanelBounds(new_bounds); panel 214 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK(saved_panel_placement_.panel); panel 215 chrome/browser/ui/panels/detached_panel_collection.cc saved_panel_placement_.panel = NULL; panel 218 chrome/browser/ui/panels/detached_panel_collection.cc panel::Resizability DetachedPanelCollection::GetPanelResizability( panel 219 chrome/browser/ui/panels/detached_panel_collection.cc const Panel* panel) const { panel 220 chrome/browser/ui/panels/detached_panel_collection.cc return panel::RESIZABLE_ALL; panel 224 chrome/browser/ui/panels/detached_panel_collection.cc Panel* panel, const gfx::Rect& new_bounds) { panel 225 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 226 chrome/browser/ui/panels/detached_panel_collection.cc panel->set_full_size(new_bounds.size()); panel 229 chrome/browser/ui/panels/detached_panel_collection.cc bool DetachedPanelCollection::HasPanel(Panel* panel) const { panel 230 chrome/browser/ui/panels/detached_panel_collection.cc return std::find(panels_.begin(), panels_.end(), panel) != panels_.end(); panel 237 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::UpdatePanelOnCollectionChange(Panel* panel) { panel 238 chrome/browser/ui/panels/detached_panel_collection.cc panel->set_attention_mode( panel 241 chrome/browser/ui/panels/detached_panel_collection.cc panel->ShowShadow(true); panel 242 chrome/browser/ui/panels/detached_panel_collection.cc panel->UpdateMinimizeRestoreButtonVisibility(); panel 243 chrome/browser/ui/panels/detached_panel_collection.cc panel->SetWindowCornerStyle(panel::ALL_ROUNDED); panel 246 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::OnPanelExpansionStateChanged(Panel* panel) { panel 250 chrome/browser/ui/panels/detached_panel_collection.cc DCHECK_EQ(Panel::EXPANDED, panel->expansion_state()); panel 252 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 253 chrome/browser/ui/panels/detached_panel_collection.cc bounds.set_height(panel->full_size().height()); panel 254 chrome/browser/ui/panels/detached_panel_collection.cc panel->SetPanelBounds(bounds); panel 257 chrome/browser/ui/panels/detached_panel_collection.cc void DetachedPanelCollection::OnPanelActiveStateChanged(Panel* panel) { panel 29 chrome/browser/ui/panels/detached_panel_collection.h virtual void AddPanel(Panel* panel, panel 31 chrome/browser/ui/panels/detached_panel_collection.h virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE; panel 34 chrome/browser/ui/panels/detached_panel_collection.h Panel* panel, panel 36 chrome/browser/ui/panels/detached_panel_collection.h virtual panel::Resizability GetPanelResizability( panel 37 chrome/browser/ui/panels/detached_panel_collection.h const Panel* panel) const OVERRIDE; panel 38 chrome/browser/ui/panels/detached_panel_collection.h virtual void OnPanelResizedByMouse(Panel* panel, panel 40 chrome/browser/ui/panels/detached_panel_collection.h virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; panel 41 chrome/browser/ui/panels/detached_panel_collection.h virtual void OnPanelTitlebarClicked(Panel* panel, panel 42 chrome/browser/ui/panels/detached_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 43 chrome/browser/ui/panels/detached_panel_collection.h virtual void ActivatePanel(Panel* panel) OVERRIDE; panel 44 chrome/browser/ui/panels/detached_panel_collection.h virtual void MinimizePanel(Panel* panel) OVERRIDE; panel 45 chrome/browser/ui/panels/detached_panel_collection.h virtual void RestorePanel(Panel* panel) OVERRIDE; panel 46 chrome/browser/ui/panels/detached_panel_collection.h virtual void OnMinimizeButtonClicked(Panel* panel, panel 47 chrome/browser/ui/panels/detached_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 48 chrome/browser/ui/panels/detached_panel_collection.h virtual void OnRestoreButtonClicked(Panel* panel, panel 49 chrome/browser/ui/panels/detached_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 50 chrome/browser/ui/panels/detached_panel_collection.h virtual bool CanShowMinimizeButton(const Panel* panel) const OVERRIDE; panel 51 chrome/browser/ui/panels/detached_panel_collection.h virtual bool CanShowRestoreButton(const Panel* panel) const OVERRIDE; panel 52 chrome/browser/ui/panels/detached_panel_collection.h virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE; panel 54 chrome/browser/ui/panels/detached_panel_collection.h virtual void SavePanelPlacement(Panel* panel) OVERRIDE; panel 57 chrome/browser/ui/panels/detached_panel_collection.h virtual void UpdatePanelOnCollectionChange(Panel* panel) OVERRIDE; panel 58 chrome/browser/ui/panels/detached_panel_collection.h virtual void OnPanelExpansionStateChanged(Panel* panel) OVERRIDE; panel 59 chrome/browser/ui/panels/detached_panel_collection.h virtual void OnPanelActiveStateChanged(Panel* panel) OVERRIDE; panel 63 chrome/browser/ui/panels/detached_panel_collection.h bool HasPanel(Panel* panel) const; panel 80 chrome/browser/ui/panels/detached_panel_collection.h Panel* panel; panel 83 chrome/browser/ui/panels/detached_panel_collection.h PanelPlacement() : panel(NULL) { } panel 14 chrome/browser/ui/panels/detached_panel_drag_handler.cc void DetachedPanelDragHandler::HandleDrag(Panel* panel, panel 16 chrome/browser/ui/panels/detached_panel_drag_handler.cc DCHECK_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 18 chrome/browser/ui/panels/detached_panel_drag_handler.cc gfx::Rect new_bounds(panel->GetBounds()); panel 20 chrome/browser/ui/panels/detached_panel_drag_handler.cc panel->SetPanelBoundsInstantly(new_bounds); panel 18 chrome/browser/ui/panels/detached_panel_drag_handler.h static void HandleDrag(Panel* panel, const gfx::Point& target_position); panel 89 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::AddPanel(Panel* panel, panel 92 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(Panel::EXPANDED, panel->expansion_state()); panel 94 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK(panel->initialized()); panel 95 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_NE(this, panel->collection()); panel 96 chrome/browser/ui/panels/docked_panel_collection.cc panel->set_collection(this); panel 102 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Size full_size = panel->full_size(); panel 104 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetPanelBounds(gfx::Rect(pt, full_size)); panel 105 chrome/browser/ui/panels/docked_panel_collection.cc panels_.push_back(panel); panel 108 chrome/browser/ui/panels/docked_panel_collection.cc int x = panel->GetBounds().x(); panel 113 chrome/browser/ui/panels/docked_panel_collection.cc panels_.insert(iter, panel); panel 156 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::RemovePanel(Panel* panel, RemovalReason reason) { panel 157 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 158 chrome/browser/ui/panels/docked_panel_collection.cc panel->set_collection(NULL); panel 162 chrome/browser/ui/panels/docked_panel_collection.cc if (panels_.back() == panel) { panel 167 chrome/browser/ui/panels/docked_panel_collection.cc if (saved_panel_placement_.panel && panel 168 chrome/browser/ui/panels/docked_panel_collection.cc saved_panel_placement_.left_panel == panel) panel 172 chrome/browser/ui/panels/docked_panel_collection.cc Panels::iterator iter = find(panels_.begin(), panels_.end(), panel); panel 178 chrome/browser/ui/panels/docked_panel_collection.cc if (saved_panel_placement_.panel && panel 179 chrome/browser/ui/panels/docked_panel_collection.cc saved_panel_placement_.left_panel == panel) panel 183 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->expansion_state() != Panel::EXPANDED) panel 189 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::SavePanelPlacement(Panel* panel) { panel 190 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK(!saved_panel_placement_.panel); panel 192 chrome/browser/ui/panels/docked_panel_collection.cc saved_panel_placement_.panel = panel; panel 196 chrome/browser/ui/panels/docked_panel_collection.cc Panels::iterator iter = find(panels_.begin(), panels_.end(), panel); panel 203 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK(saved_panel_placement_.panel); panel 205 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel = saved_panel_placement_.panel; panel 208 chrome/browser/ui/panels/docked_panel_collection.cc Panels::iterator iter = std::find(panels_.begin(), panels_.end(), panel); panel 224 chrome/browser/ui/panels/docked_panel_collection.cc panels_.insert(iter_to_insert_before, panel); panel 226 chrome/browser/ui/panels/docked_panel_collection.cc panels_.push_back(panel); panel 236 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK(saved_panel_placement_.panel); panel 237 chrome/browser/ui/panels/docked_panel_collection.cc saved_panel_placement_.panel = NULL; panel 241 chrome/browser/ui/panels/docked_panel_collection.cc panel::Resizability DockedPanelCollection::GetPanelResizability( panel 242 chrome/browser/ui/panels/docked_panel_collection.cc const Panel* panel) const { panel 243 chrome/browser/ui/panels/docked_panel_collection.cc return (panel->expansion_state() == Panel::EXPANDED) ? panel 244 chrome/browser/ui/panels/docked_panel_collection.cc panel::RESIZABLE_EXCEPT_BOTTOM : panel::NOT_RESIZABLE; panel 247 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::OnPanelResizedByMouse(Panel* panel, panel 249 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 250 chrome/browser/ui/panels/docked_panel_collection.cc panel->set_full_size(new_bounds.size()); panel 253 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::OnPanelExpansionStateChanged(Panel* panel) { panel 254 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect panel_bounds = panel->GetBounds(); panel 255 chrome/browser/ui/panels/docked_panel_collection.cc AdjustPanelBoundsPerExpansionState(panel, &panel_bounds); panel 256 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetPanelBounds(panel_bounds); panel 263 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->expansion_state() != Panel::EXPANDED && !minimizing_all_ && panel 264 chrome/browser/ui/panels/docked_panel_collection.cc panel->IsActive()) { panel 265 chrome/browser/ui/panels/docked_panel_collection.cc panel->Deactivate(); panel 271 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::AdjustPanelBoundsPerExpansionState(Panel* panel, panel 273 chrome/browser/ui/panels/docked_panel_collection.cc Panel::ExpansionState expansion_state = panel->expansion_state(); panel 276 chrome/browser/ui/panels/docked_panel_collection.cc bounds->set_height(panel->full_size().height()); panel 280 chrome/browser/ui/panels/docked_panel_collection.cc bounds->set_height(panel->TitleOnlyHeight()); panel 284 chrome/browser/ui/panels/docked_panel_collection.cc bounds->set_height(panel::kMinimizedPanelHeight); panel 296 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::OnPanelAttentionStateChanged(Panel* panel) { panel 297 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 298 chrome/browser/ui/panels/docked_panel_collection.cc Panel::ExpansionState state = panel->expansion_state(); panel 299 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->IsDrawingAttention()) { panel 302 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 312 chrome/browser/ui/panels/docked_panel_collection.cc if (panel_manager_->drag_controller()->dragging_panel() == panel) panel 318 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 325 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetExpansionState(Panel::MINIMIZED); panel 328 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::OnPanelTitlebarClicked(Panel* panel, panel 329 chrome/browser/ui/panels/docked_panel_collection.cc panel::ClickModifier modifier) { panel 330 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 331 chrome/browser/ui/panels/docked_panel_collection.cc if (!IsPanelMinimized(panel)) panel 334 chrome/browser/ui/panels/docked_panel_collection.cc if (modifier == panel::APPLY_TO_ALL) panel 337 chrome/browser/ui/panels/docked_panel_collection.cc RestorePanel(panel); panel 340 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::ActivatePanel(Panel* panel) { panel 341 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 345 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetExpansionState(Panel::EXPANDED); panel 351 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::MinimizePanel(Panel* panel) { panel 352 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 354 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->expansion_state() != Panel::EXPANDED) panel 357 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetExpansionState(panel->IsDrawingAttention() ? panel 361 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::RestorePanel(Panel* panel) { panel 362 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 363 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetExpansionState(Panel::EXPANDED); panel 397 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel, panel::ClickModifier modifier) { panel 398 chrome/browser/ui/panels/docked_panel_collection.cc if (modifier == panel::APPLY_TO_ALL) panel 401 chrome/browser/ui/panels/docked_panel_collection.cc MinimizePanel(panel); panel 405 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel, panel::ClickModifier modifier) { panel 406 chrome/browser/ui/panels/docked_panel_collection.cc if (modifier == panel::APPLY_TO_ALL) panel 409 chrome/browser/ui/panels/docked_panel_collection.cc RestorePanel(panel); panel 412 chrome/browser/ui/panels/docked_panel_collection.cc bool DockedPanelCollection::CanShowMinimizeButton(const Panel* panel) const { panel 413 chrome/browser/ui/panels/docked_panel_collection.cc return !IsPanelMinimized(panel); panel 416 chrome/browser/ui/panels/docked_panel_collection.cc bool DockedPanelCollection::CanShowRestoreButton(const Panel* panel) const { panel 417 chrome/browser/ui/panels/docked_panel_collection.cc return IsPanelMinimized(panel); panel 420 chrome/browser/ui/panels/docked_panel_collection.cc bool DockedPanelCollection::IsPanelMinimized(const Panel* panel) const { panel 421 chrome/browser/ui/panels/docked_panel_collection.cc return panel->expansion_state() != Panel::EXPANDED; panel 446 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel, panel 448 chrome/browser/ui/panels/docked_panel_collection.cc DCHECK_EQ(this, panel->collection()); panel 452 chrome/browser/ui/panels/docked_panel_collection.cc new_size = panel->ClampSize(new_size); panel 454 chrome/browser/ui/panels/docked_panel_collection.cc if (new_size == panel->full_size()) panel 457 chrome/browser/ui/panels/docked_panel_collection.cc panel->set_full_size(new_size); panel 487 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel = *iter; panel 488 chrome/browser/ui/panels/docked_panel_collection.cc Panel::ExpansionState state = panel->expansion_state(); panel 495 chrome/browser/ui/panels/docked_panel_collection.cc if (state == Panel::TITLE_ONLY && panel == dragging_panel) panel 500 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->IsDrawingAttention()) panel 503 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 590 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel = *iter; panel 593 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->IsDrawingAttention()) panel 597 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->expansion_state() == Panel::MINIMIZED) panel 598 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 600 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->expansion_state() == Panel::TITLE_ONLY) panel 601 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetExpansionState(Panel::MINIMIZED); panel 657 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel = *panel_iter; panel 658 chrome/browser/ui/panels/docked_panel_collection.cc if (panel->IsActive()) panel 659 chrome/browser/ui/panels/docked_panel_collection.cc total_active_width += panel->full_size().width(); panel 661 chrome/browser/ui/panels/docked_panel_collection.cc total_inactive_width += panel->full_size().width(); panel 682 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel = *panel_iter; panel 683 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect old_bounds = panel->GetBounds(); panel 685 chrome/browser/ui/panels/docked_panel_collection.cc AdjustPanelBoundsPerExpansionState(panel, &new_bounds); panel 688 chrome/browser/ui/panels/docked_panel_collection.cc WidthToDisplayPanelInCollection(panel->IsActive(), panel 690 chrome/browser/ui/panels/docked_panel_collection.cc panel->full_size().width())); panel 696 chrome/browser/ui/panels/docked_panel_collection.cc moving_left.push(std::make_pair(panel, new_bounds)); panel 698 chrome/browser/ui/panels/docked_panel_collection.cc moving_right.push_back(std::make_pair(panel, new_bounds)); panel 725 chrome/browser/ui/panels/docked_panel_collection.cc Panel* panel = bounds_info.first; panel 727 chrome/browser/ui/panels/docked_panel_collection.cc if (!panel->in_preview_mode() && bounds != panel->GetBounds()) { panel 732 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetPanelBounds(bounds); // Animates. panel 735 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetPanelBoundsInstantly(bounds); panel 749 chrome/browser/ui/panels/docked_panel_collection.cc std::max(panel::kPanelMinWidth, panel 765 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::UpdatePanelOnCollectionChange(Panel* panel) { panel 766 chrome/browser/ui/panels/docked_panel_collection.cc panel->set_attention_mode(Panel::USE_PANEL_ATTENTION); panel 767 chrome/browser/ui/panels/docked_panel_collection.cc panel->ShowShadow(true); panel 768 chrome/browser/ui/panels/docked_panel_collection.cc panel->UpdateMinimizeRestoreButtonVisibility(); panel 769 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetWindowCornerStyle(panel::TOP_ROUNDED); panel 782 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::OnPanelActiveStateChanged(Panel* panel) { panel 797 chrome/browser/ui/panels/docked_panel_collection.cc bool DockedPanelCollection::HasPanel(Panel* panel) const { panel 798 chrome/browser/ui/panels/docked_panel_collection.cc return find(panels_.begin(), panels_.end(), panel) != panels_.end(); panel 43 chrome/browser/ui/panels/docked_panel_collection.h virtual void AddPanel(Panel* panel, panel 48 chrome/browser/ui/panels/docked_panel_collection.h Panel* panel, panel 50 chrome/browser/ui/panels/docked_panel_collection.h virtual panel::Resizability GetPanelResizability( panel 51 chrome/browser/ui/panels/docked_panel_collection.h const Panel* panel) const OVERRIDE; panel 52 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnPanelResizedByMouse(Panel* panel, panel 54 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; panel 55 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnPanelTitlebarClicked(Panel* panel, panel 56 chrome/browser/ui/panels/docked_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 57 chrome/browser/ui/panels/docked_panel_collection.h virtual void ActivatePanel(Panel* panel) OVERRIDE; panel 58 chrome/browser/ui/panels/docked_panel_collection.h virtual void MinimizePanel(Panel* panel) OVERRIDE; panel 59 chrome/browser/ui/panels/docked_panel_collection.h virtual void RestorePanel(Panel* panel) OVERRIDE; panel 60 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnMinimizeButtonClicked(Panel* panel, panel 61 chrome/browser/ui/panels/docked_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 62 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnRestoreButtonClicked(Panel* panel, panel 63 chrome/browser/ui/panels/docked_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 64 chrome/browser/ui/panels/docked_panel_collection.h virtual bool CanShowMinimizeButton(const Panel* panel) const OVERRIDE; panel 65 chrome/browser/ui/panels/docked_panel_collection.h virtual bool CanShowRestoreButton(const Panel* panel) const OVERRIDE; panel 66 chrome/browser/ui/panels/docked_panel_collection.h virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE; panel 68 chrome/browser/ui/panels/docked_panel_collection.h virtual void SavePanelPlacement(Panel* panel) OVERRIDE; panel 71 chrome/browser/ui/panels/docked_panel_collection.h virtual void UpdatePanelOnCollectionChange(Panel* panel) OVERRIDE; panel 72 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnPanelExpansionStateChanged(Panel* panel) OVERRIDE; panel 73 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnPanelActiveStateChanged(Panel* panel) OVERRIDE; panel 96 chrome/browser/ui/panels/docked_panel_collection.h bool HasPanel(Panel* panel) const; panel 122 chrome/browser/ui/panels/docked_panel_collection.h Panel* panel; panel 127 chrome/browser/ui/panels/docked_panel_collection.h PanelPlacement() : panel(NULL), left_panel(NULL) { } panel 154 chrome/browser/ui/panels/docked_panel_collection.h void AdjustPanelBoundsPerExpansionState(Panel* panel, panel 14 chrome/browser/ui/panels/docked_panel_drag_handler.cc void DockedPanelDragHandler::HandleDrag(Panel* panel, panel 16 chrome/browser/ui/panels/docked_panel_drag_handler.cc DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 19 chrome/browser/ui/panels/docked_panel_drag_handler.cc static_cast<DockedPanelCollection*>(panel->collection()); panel 24 chrome/browser/ui/panels/docked_panel_drag_handler.cc gfx::Rect new_bounds(panel->GetBounds()); panel 26 chrome/browser/ui/panels/docked_panel_drag_handler.cc int delta_x = new_bounds.x() - panel->GetBounds().x(); panel 28 chrome/browser/ui/panels/docked_panel_drag_handler.cc panel->expansion_state()); panel 34 chrome/browser/ui/panels/docked_panel_drag_handler.cc panel->SetPanelBoundsInstantly(new_bounds); panel 39 chrome/browser/ui/panels/docked_panel_drag_handler.cc DragRight(panel); panel 41 chrome/browser/ui/panels/docked_panel_drag_handler.cc DragLeft(panel); panel 50 chrome/browser/ui/panels/docked_panel_drag_handler.cc void DockedPanelDragHandler::DragLeft(Panel* panel) { panel 52 chrome/browser/ui/panels/docked_panel_drag_handler.cc static_cast<DockedPanelCollection*>(panel->collection()); panel 56 chrome/browser/ui/panels/docked_panel_drag_handler.cc int dragging_panel_left_boundary = panel->GetBounds().x(); panel 60 chrome/browser/ui/panels/docked_panel_drag_handler.cc find(collection->panels_.begin(), collection->panels_.end(), panel); panel 78 chrome/browser/ui/panels/docked_panel_drag_handler.cc *current_panel_iterator = panel; panel 84 chrome/browser/ui/panels/docked_panel_drag_handler.cc void DockedPanelDragHandler::DragRight(Panel* panel) { panel 86 chrome/browser/ui/panels/docked_panel_drag_handler.cc static_cast<DockedPanelCollection*>(panel->collection()); panel 90 chrome/browser/ui/panels/docked_panel_drag_handler.cc int dragging_panel_right_boundary = panel->GetBounds().x() + panel 91 chrome/browser/ui/panels/docked_panel_drag_handler.cc panel->GetBounds().width() - 1; panel 95 chrome/browser/ui/panels/docked_panel_drag_handler.cc find(collection->panels_.begin(), collection->panels_.end(), panel); panel 112 chrome/browser/ui/panels/docked_panel_drag_handler.cc *current_panel_iterator = panel; panel 18 chrome/browser/ui/panels/docked_panel_drag_handler.h static void HandleDrag(Panel* panel, const gfx::Point& target_position); panel 21 chrome/browser/ui/panels/docked_panel_drag_handler.h static void DragLeft(Panel* panel); panel 22 chrome/browser/ui/panels/docked_panel_drag_handler.h static void DragRight(Panel* panel); panel 79 chrome/browser/ui/panels/native_panel.h virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) = 0; panel 108 chrome/browser/ui/panels/native_panel.h PressLeftMouseButtonTitlebar(mouse_location, panel::NO_MODIFIER); panel 111 chrome/browser/ui/panels/native_panel.h ReleaseMouseButtonTitlebar(panel::NO_MODIFIER); panel 116 chrome/browser/ui/panels/native_panel.h const gfx::Point& mouse_location, panel::ClickModifier modifier) = 0; panel 117 chrome/browser/ui/panels/native_panel.h virtual void ReleaseMouseButtonTitlebar(panel::ClickModifier modifier) = 0; panel 138 chrome/browser/ui/panels/native_panel.h virtual bool IsButtonVisible(panel::TitlebarButtonType button_type) const = 0; panel 140 chrome/browser/ui/panels/native_panel.h virtual panel::CornerStyle GetWindowCornerStyle() const = 0; panel 56 chrome/browser/ui/panels/native_panel_stack_window.h virtual void AddPanel(Panel* panel) = 0; panel 60 chrome/browser/ui/panels/native_panel_stack_window.h virtual void RemovePanel(Panel* panel) = 0; panel 70 chrome/browser/ui/panels/native_panel_stack_window.h virtual bool HasPanel(Panel* panel) const = 0; panel 78 chrome/browser/ui/panels/native_panel_stack_window.h virtual void AddPanelBoundsForBatchUpdate(Panel* panel, panel 94 chrome/browser/ui/panels/native_panel_stack_window.h virtual void OnPanelActivated(Panel* panel) = 0; panel 50 chrome/browser/ui/panels/panel.cc PanelExtensionWindowController(Panel* panel, Profile* profile); panel 72 chrome/browser/ui/panels/panel.cc Panel* panel, Profile* profile) panel 73 chrome/browser/ui/panels/panel.cc : extensions::WindowController(panel, profile), panel 74 chrome/browser/ui/panels/panel.cc panel_(panel) { panel 454 chrome/browser/ui/panels/panel.cc void Panel::OnTitlebarClicked(panel::ClickModifier modifier) { panel 475 chrome/browser/ui/panels/panel.cc void Panel::OnMinimizeButtonClicked(panel::ClickModifier modifier) { panel 480 chrome/browser/ui/panels/panel.cc void Panel::OnRestoreButtonClicked(panel::ClickModifier modifier) { panel 502 chrome/browser/ui/panels/panel.cc panel::Resizability Panel::CanResizeByMouse() const { panel 504 chrome/browser/ui/panels/panel.cc return panel::NOT_RESIZABLE; panel 794 chrome/browser/ui/panels/panel.cc void Panel::SetWindowCornerStyle(panel::CornerStyle corner_style) { panel 149 chrome/browser/ui/panels/panel.h static NativePanel* CreateNativePanel(Panel* panel, panel 158 chrome/browser/ui/panels/panel.h void OnTitlebarClicked(panel::ClickModifier modifier); panel 159 chrome/browser/ui/panels/panel.h void OnMinimizeButtonClicked(panel::ClickModifier modifier); panel 160 chrome/browser/ui/panels/panel.h void OnRestoreButtonClicked(panel::ClickModifier modifier); panel 189 chrome/browser/ui/panels/panel.h panel::Resizability CanResizeByMouse() const; panel 297 chrome/browser/ui/panels/panel.h void SetWindowCornerStyle(panel::CornerStyle corner_style); panel 20 chrome/browser/ui/panels/panel_bounds_animation.cc Panel* panel, panel 24 chrome/browser/ui/panels/panel_bounds_animation.cc panel_(panel), panel 18 chrome/browser/ui/panels/panel_bounds_animation.h Panel* panel, panel 156 chrome/browser/ui/panels/panel_browsertest.cc expected_bounds[index].set_height(panel::kMinimizedPanelHeight); panel 159 chrome/browser/ui/panels/panel_browsertest.cc test_begin_bounds[index].height() - panel::kMinimizedPanelHeight); panel 293 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 294 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel2_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 295 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel3_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 297 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 298 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 299 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 301 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 302 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel2_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 303 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel3_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 306 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_EXCEPT_BOTTOM, panel1->CanResizeByMouse()); panel 307 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::NOT_RESIZABLE, panel2->CanResizeByMouse()); panel 308 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::NOT_RESIZABLE, panel3->CanResizeByMouse()); panel 310 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::TOP_ROUNDED, panel1_testing->GetWindowCornerStyle()); panel 311 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::TOP_ROUNDED, panel1_testing->GetWindowCornerStyle()); panel 312 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::TOP_ROUNDED, panel3_testing->GetWindowCornerStyle()); panel 325 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanel("PanelTest"); panel 328 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 337 chrome/browser/ui/panels/panel_browsertest.cc CloseWindowAndWait(panel); panel 345 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithBounds("BigPanel", work_area); panel 346 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 347 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->max_size().width(), bounds.width()); panel 349 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->max_size().height(), bounds.height()); panel 351 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 356 chrome/browser/ui/panels/panel_browsertest.cc explicit WaitForStableInitialSize(Panel* panel) panel 360 chrome/browser/ui/panels/panel_browsertest.cc panel_(panel) {} panel 372 chrome/browser/ui/panels/panel_browsertest.cc explicit WaitForAutoResizeWider(Panel* panel) panel 376 chrome/browser/ui/panels/panel_browsertest.cc panel_(panel), panel 377 chrome/browser/ui/panels/panel_browsertest.cc initial_size_(panel->GetBounds().size()) {} panel 390 chrome/browser/ui/panels/panel_browsertest.cc explicit WaitForAutoResizeNarrower(Panel* panel) panel 394 chrome/browser/ui/panels/panel_browsertest.cc panel_(panel), panel 395 chrome/browser/ui/panels/panel_browsertest.cc initial_size_(panel->GetBounds().size()) {} panel 420 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 424 chrome/browser/ui/panels/panel_browsertest.cc WaitForStableInitialSize initial_resize(panel); panel 426 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect initial_bounds = panel->GetBounds(); panel 429 chrome/browser/ui/panels/panel_browsertest.cc WaitForAutoResizeWider enlarge(panel); panel 431 chrome/browser/ui/panels/panel_browsertest.cc panel->GetWebContents(), "changeSize(50);")); panel 433 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds_on_grow = panel->GetBounds(); panel 438 chrome/browser/ui/panels/panel_browsertest.cc WaitForAutoResizeNarrower shrink(panel); panel 440 chrome/browser/ui/panels/panel_browsertest.cc panel->GetWebContents(), "changeSize(-30);")); panel 442 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds_on_shrink = panel->GetBounds(); panel 448 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect previous_bounds = panel->GetBounds(); panel 450 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(previous_bounds.size(), panel->GetRestoredBounds().size()); panel 454 chrome/browser/ui/panels/panel_browsertest.cc panel->SetBounds(new_bounds); panel 455 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->auto_resizable()); panel 456 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(new_bounds.size(), panel->GetBounds().size()); panel 457 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); panel 463 chrome/browser/ui/panels/panel_browsertest.cc panel->SetAutoResizable(true); panel 465 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds_auto_resize_enabled = panel->GetBounds(); panel 469 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 476 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanel("TestPanel"); panel 477 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->auto_resizable()); panel 478 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::EXPANDED, panel->expansion_state()); panel 481 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect original_bounds = panel->GetBounds(); panel 483 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(original_bounds.size(), panel->GetRestoredBounds().size()); panel 487 chrome/browser/ui/panels/panel_browsertest.cc panel->SetBounds(new_bounds); panel 488 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->auto_resizable()); panel 489 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(new_bounds.size(), panel->GetBounds().size()); panel 490 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); panel 493 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::MINIMIZED); panel 494 chrome/browser/ui/panels/panel_browsertest.cc int original_height = panel->GetBounds().height(); panel 497 chrome/browser/ui/panels/panel_browsertest.cc panel->SetBounds(new_bounds); panel 498 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(new_bounds.size().width(), panel->GetBounds().width()); panel 499 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(original_height, panel->GetBounds().height()); panel 500 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); panel 502 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 508 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(200, 100, 100, 100)); panel 510 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 514 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 522 chrome/browser/ui/panels/panel_browsertest.cc panel->SetPanelBounds(bounds); panel 526 chrome/browser/ui/panels/panel_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 529 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 533 chrome/browser/ui/panels/panel_browsertest.cc panel->SetPanelBoundsInstantly(bounds); panel 535 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 537 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 541 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 100, 100)); panel 542 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::EXPANDED, panel->expansion_state()); panel 543 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->GetBounds(), panel->GetRestoredBounds()); panel 545 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::MINIMIZED); panel 546 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 547 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 548 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect restored = panel->GetRestoredBounds(); panel 554 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 555 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 556 chrome/browser/ui/panels/panel_browsertest.cc bounds = panel->GetBounds(); panel 557 chrome/browser/ui/panels/panel_browsertest.cc restored = panel->GetRestoredBounds(); panel 563 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::MINIMIZED); panel 564 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 565 chrome/browser/ui/panels/panel_browsertest.cc bounds = panel->GetBounds(); panel 566 chrome/browser/ui/panels/panel_browsertest.cc restored = panel->GetRestoredBounds(); panel 572 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::EXPANDED); panel 573 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->GetBounds(), panel->GetRestoredBounds()); panel 577 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::MINIMIZED); panel 579 chrome/browser/ui/panels/panel_browsertest.cc panel->SetPanelBounds(bounds); panel 580 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(saved_restored_height, panel->GetRestoredBounds().height()); panel 582 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 584 chrome/browser/ui/panels/panel_browsertest.cc panel->SetPanelBounds(bounds); panel 585 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(saved_restored_height, panel->GetRestoredBounds().height()); panel 587 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::EXPANDED); panel 589 chrome/browser/ui/panels/panel_browsertest.cc panel->SetPanelBounds(bounds); panel 590 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(saved_restored_height, panel->GetRestoredBounds().height()); panel 591 chrome/browser/ui/panels/panel_browsertest.cc panel->set_full_size(bounds.size()); panel 592 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_NE(saved_restored_height, panel->GetRestoredBounds().height()); panel 594 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 634 chrome/browser/ui/panels/panel_browsertest.cc panel1->OnRestoreButtonClicked(panel::NO_MODIFIER); panel 640 chrome/browser/ui/panels/panel_browsertest.cc panel1->OnMinimizeButtonClicked(panel::NO_MODIFIER); panel 646 chrome/browser/ui/panels/panel_browsertest.cc panel1->OnMinimizeButtonClicked(panel::NO_MODIFIER); panel 653 chrome/browser/ui/panels/panel_browsertest.cc panel2->OnMinimizeButtonClicked(panel::APPLY_TO_ALL); panel 659 chrome/browser/ui/panels/panel_browsertest.cc panel2->OnRestoreButtonClicked(panel::NO_MODIFIER); panel 665 chrome/browser/ui/panels/panel_browsertest.cc panel3->OnRestoreButtonClicked(panel::APPLY_TO_ALL); panel 696 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 697 chrome/browser/ui/panels/panel_browsertest.cc test_panel2->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 712 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 717 chrome/browser/ui/panels/panel_browsertest.cc test_panel1->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 730 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 731 chrome/browser/ui/panels/panel_browsertest.cc test_panel2->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 744 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 745 chrome/browser/ui/panels/panel_browsertest.cc test_panel2->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 757 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 758 chrome/browser/ui/panels/panel_browsertest.cc test_panel1->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 771 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 772 chrome/browser/ui/panels/panel_browsertest.cc test_panel2->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 790 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 791 chrome/browser/ui/panels/panel_browsertest.cc test_panel3->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 810 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 811 chrome/browser/ui/panels/panel_browsertest.cc test_panel2->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 827 chrome/browser/ui/panels/panel_browsertest.cc panel::APPLY_TO_ALL); panel 828 chrome/browser/ui/panels/panel_browsertest.cc test_panel1->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 853 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanel("1"); panel 854 chrome/browser/ui/panels/panel_browsertest.cc int initial_height = panel->GetBounds().height(); panel 856 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::EXPANDED, panel->expansion_state()); panel 857 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(expected_bottom_on_expanded, panel->GetBounds().bottom()); panel 859 chrome/browser/ui/panels/panel_browsertest.cc panel->Minimize(); panel 860 chrome/browser/ui/panels/panel_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 861 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 862 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::kMinimizedPanelHeight, panel->GetBounds().height()); panel 863 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(expected_bottom_on_minimized, panel->GetBounds().bottom()); panel 865 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 866 chrome/browser/ui/panels/panel_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 867 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 868 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel::kTitlebarHeight, panel->GetBounds().height()); panel 869 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(expected_bottom_on_title_only, panel->GetBounds().bottom()); panel 871 chrome/browser/ui/panels/panel_browsertest.cc panel->Restore(); panel 872 chrome/browser/ui/panels/panel_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 873 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::EXPANDED, panel->expansion_state()); panel 874 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(initial_height, panel->GetBounds().height()); panel 875 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(expected_bottom_on_expanded, panel->GetBounds().bottom()); panel 877 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 899 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanel("PanelTest"); panel 900 chrome/browser/ui/panels/panel_browsertest.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 901 chrome/browser/ui/panels/panel_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 904 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().bottom()); panel 906 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().right()); panel 923 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().bottom()); panel 925 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().right()); panel 942 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().bottom()); panel 944 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().right()); panel 946 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 996 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanel("PanelTest"); panel 998 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 1000 chrome/browser/ui/panels/panel_browsertest.cc WaitForPanelActiveState(panel, SHOW_AS_ACTIVE); // doublecheck active state panel 1004 chrome/browser/ui/panels/panel_browsertest.cc panel->Deactivate(); panel 1005 chrome/browser/ui/panels/panel_browsertest.cc WaitForPanelActiveState(panel, SHOW_AS_INACTIVE); panel 1054 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreateInactivePanel("P1"); panel 1056 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 1059 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::EXPANDED, panel->expansion_state()); panel 1060 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsActive()); panel 1061 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 1062 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(true); panel 1063 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 1067 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(false); panel 1068 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 1072 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(true); panel 1073 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 1075 chrome/browser/ui/panels/panel_browsertest.cc panel->Minimize(); panel 1076 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 1077 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 1080 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(false); panel 1081 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 1082 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 1084 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1199 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanel("P1"); panel 1201 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 1205 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(true); panel 1206 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 1209 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1213 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreateInactivePanel("P1"); panel 1215 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 1217 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(true); panel 1218 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 1222 chrome/browser/ui/panels/panel_browsertest.cc panel->Activate(); panel 1223 chrome/browser/ui/panels/panel_browsertest.cc WaitForPanelActiveState(panel, SHOW_AS_ACTIVE); panel 1224 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 1227 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1232 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreateInactivePanel("P1"); panel 1234 chrome/browser/ui/panels/panel_browsertest.cc panel->Minimize(); panel 1235 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsMinimized()); panel 1236 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(true); panel 1237 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 1241 chrome/browser/ui/panels/panel_browsertest.cc panel->OnActiveStateChanged(true); panel 1242 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); // Unchanged. panel 1246 chrome/browser/ui/panels/panel_browsertest.cc panel->Restore(); panel 1247 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsMinimized()); panel 1248 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); // Unchanged. panel 1250 chrome/browser/ui/panels/panel_browsertest.cc panel->OnActiveStateChanged(true); panel 1251 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); // Attention cleared. panel 1253 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1257 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreateInactivePanel("P1"); panel 1259 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 1261 chrome/browser/ui/panels/panel_browsertest.cc panel->FlashFrame(true); panel 1262 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 1267 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().origin()); panel 1270 chrome/browser/ui/panels/panel_browsertest.cc WaitForPanelActiveState(panel, SHOW_AS_ACTIVE); panel 1271 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 1274 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1287 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1289 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 1291 chrome/browser/ui/panels/panel_browsertest.cc PanelActiveStateObserver signal(panel, false); panel 1292 chrome/browser/ui/panels/panel_browsertest.cc panel->Minimize(); // this should deactivate. panel 1294 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 1296 chrome/browser/ui/panels/panel_browsertest.cc panel->Restore(); panel 1297 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::EXPANDED, panel->expansion_state()); panel 1300 chrome/browser/ui/panels/panel_browsertest.cc panel->Minimize(); panel 1301 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 1303 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1308 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1309 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(Panel::EXPANDED, panel->expansion_state()); panel 1311 chrome/browser/ui/panels/panel_browsertest.cc PanelActiveStateObserver signal(panel, false); panel 1312 chrome/browser/ui/panels/panel_browsertest.cc panel->Minimize(); panel 1314 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1318 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreateInactivePanel("1"); panel 1320 chrome/browser/ui/panels/panel_browsertest.cc panel->Activate(); panel 1321 chrome/browser/ui/panels/panel_browsertest.cc WaitForPanelActiveState(panel, SHOW_AS_ACTIVE); panel 1323 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1398 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1417 chrome/browser/ui/panels/panel_browsertest.cc content::Source<Panel>(panel)); panel 1453 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1457 chrome/browser/ui/panels/panel_browsertest.cc CloseWindowAndWait(panel); panel 1471 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1472 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->min_size().width(), panel->GetBounds().width()); panel 1473 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->min_size().height(), panel->GetBounds().height()); panel 1474 chrome/browser/ui/panels/panel_browsertest.cc int reasonable_width = panel->min_size().width() + 10; panel 1475 chrome/browser/ui/panels/panel_browsertest.cc int reasonable_height = panel->min_size().height() + 20; panel 1477 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1484 chrome/browser/ui/panels/panel_browsertest.cc panel = CreatePanelWithParams(params1); panel 1485 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(reasonable_width, panel->GetBounds().width()); panel 1486 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(reasonable_height, panel->GetBounds().height()); panel 1487 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1493 chrome/browser/ui/panels/panel_browsertest.cc panel = CreatePanelWithParams(params2); panel 1494 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(panel->GetBounds().width(), 0); panel 1495 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(given_height, panel->GetBounds().height()); panel 1496 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1507 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1510 chrome/browser/ui/panels/panel_browsertest.cc WaitForStableInitialSize initial_resize(panel); panel 1513 chrome/browser/ui/panels/panel_browsertest.cc int initial_width = panel->GetBounds().width(); panel 1514 chrome/browser/ui/panels/panel_browsertest.cc int initial_height = panel->GetBounds().height(); panel 1517 chrome/browser/ui/panels/panel_browsertest.cc WaitForAutoResizeWider enlarge(panel); panel 1519 chrome/browser/ui/panels/panel_browsertest.cc panel->GetWebContents(), panel 1527 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(panel->GetBounds().width(), initial_width); panel 1528 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(panel->GetBounds().height(), initial_height); panel 1530 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1543 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); panel 1545 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_max_size = panel->max_size(); panel 1546 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_full_size = panel->full_size(); panel 1552 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_max_size.width(), panel->max_size().width()); panel 1553 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_max_size.height(), panel->max_size().height()); panel 1554 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(smaller_work_area.width(), panel->max_size().width()); panel 1555 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(smaller_work_area.height(), panel->max_size().height()); panel 1556 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_full_size.width(), panel->full_size().width()); panel 1557 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_full_size.height(), panel->full_size().height()); panel 1558 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(panel->max_size().width(), panel->full_size().width()); panel 1559 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(panel->max_size().height(), panel->full_size().height()); panel 1561 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1575 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); panel 1579 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point mouse_location = panel->GetBounds().origin(); panel 1580 chrome/browser/ui/panels/panel_browsertest.cc panel_manager->StartResizingByMouse(panel, panel 1582 chrome/browser/ui/panels/panel_browsertest.cc panel::RESIZE_TOP_LEFT); panel 1583 chrome/browser/ui/panels/panel_browsertest.cc mouse_location.Offset(panel->GetBounds().width() - bigger_size.width(), panel 1584 chrome/browser/ui/panels/panel_browsertest.cc panel->GetBounds().height() - bigger_size.height()); panel 1588 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_max_size = panel->max_size(); panel 1590 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_full_size = panel->full_size(); panel 1597 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_max_size.width(), panel->max_size().width()); panel 1598 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_max_size.height(), panel->max_size().height()); panel 1599 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(smaller_work_area.width(), panel->max_size().width()); panel 1600 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(smaller_work_area.height(), panel->max_size().height()); panel 1601 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_full_size.width(), panel->full_size().width()); panel 1602 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_full_size.height(), panel->full_size().height()); panel 1603 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(panel->max_size().width(), panel->full_size().width()); panel 1604 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(panel->max_size().height(), panel->full_size().height()); panel 1605 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(smaller_work_area.height(), panel->full_size().height()); panel 1607 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1617 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1627 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->ExecuteCommandIfEnabled(IDC_DEV_TOOLS)); panel 1641 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1651 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1661 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_TRUE(panel->ExecuteCommandIfEnabled(IDC_DEV_TOOLS_CONSOLE)); panel 1675 chrome/browser/ui/panels/panel_browsertest.cc panel->Close(); panel 1692 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1698 chrome/browser/ui/panels/panel_browsertest.cc content::Source<Panel>(panel)); panel 1714 chrome/browser/ui/panels/panel_browsertest.cc panel->HandleKeyboardEvent(key_event); panel 1722 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanel("PanelTest"); panel 1723 chrome/browser/ui/panels/panel_browsertest.cc scoped_ptr<NativePanelTesting> panel_testing(CreateNativePanelTesting(panel)); panel 1754 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 1756 chrome/browser/ui/panels/panel_browsertest.cc CreateNativePanelTesting(panel)); panel 64 chrome/browser/ui/panels/panel_collection.h virtual void AddPanel(Panel* panel, PositioningMask positioning_mask) = 0; panel 69 chrome/browser/ui/panels/panel_collection.h virtual void RemovePanel(Panel* panel, RemovalReason reason) = 0; panel 79 chrome/browser/ui/panels/panel_collection.h virtual void ResizePanelWindow(Panel* panel, panel 84 chrome/browser/ui/panels/panel_collection.h virtual panel::Resizability GetPanelResizability( panel 85 chrome/browser/ui/panels/panel_collection.h const Panel* panel) const = 0; panel 91 chrome/browser/ui/panels/panel_collection.h virtual void OnPanelResizedByMouse(Panel* panel, panel 97 chrome/browser/ui/panels/panel_collection.h virtual void OnPanelAttentionStateChanged(Panel* panel) = 0; panel 101 chrome/browser/ui/panels/panel_collection.h virtual void OnPanelTitlebarClicked(Panel* panel, panel 102 chrome/browser/ui/panels/panel_collection.h panel::ClickModifier modifier) = 0; panel 105 chrome/browser/ui/panels/panel_collection.h virtual void OnPanelExpansionStateChanged(Panel* panel) = 0; panel 108 chrome/browser/ui/panels/panel_collection.h virtual void OnPanelActiveStateChanged(Panel* panel) = 0; panel 111 chrome/browser/ui/panels/panel_collection.h virtual void ActivatePanel(Panel* panel) = 0; panel 114 chrome/browser/ui/panels/panel_collection.h virtual void MinimizePanel(Panel* panel) = 0; panel 115 chrome/browser/ui/panels/panel_collection.h virtual void RestorePanel(Panel* panel) = 0; panel 119 chrome/browser/ui/panels/panel_collection.h virtual void OnMinimizeButtonClicked(Panel* panel, panel 120 chrome/browser/ui/panels/panel_collection.h panel::ClickModifier modifier) = 0; panel 121 chrome/browser/ui/panels/panel_collection.h virtual void OnRestoreButtonClicked(Panel* panel, panel 122 chrome/browser/ui/panels/panel_collection.h panel::ClickModifier modifier) = 0; panel 126 chrome/browser/ui/panels/panel_collection.h virtual bool CanShowMinimizeButton(const Panel* panel) const = 0; panel 127 chrome/browser/ui/panels/panel_collection.h virtual bool CanShowRestoreButton(const Panel* panel) const = 0; panel 129 chrome/browser/ui/panels/panel_collection.h virtual bool IsPanelMinimized(const Panel* panel) const = 0; panel 138 chrome/browser/ui/panels/panel_collection.h virtual void SavePanelPlacement(Panel* panel) = 0; panel 145 chrome/browser/ui/panels/panel_collection.h virtual void UpdatePanelOnCollectionChange(Panel* panel) = 0; panel 8 chrome/browser/ui/panels/panel_constants.h namespace panel { panel 39 chrome/browser/ui/panels/panel_drag_browsertest.cc void DragPanelByDelta(Panel* panel, const gfx::Vector2d& delta) { panel 41 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 42 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 49 chrome/browser/ui/panels/panel_drag_browsertest.cc void DragPanelToMouseLocation(Panel* panel, panel 52 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 53 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 54 chrome/browser/ui/panels/panel_drag_browsertest.cc panel_testing->PressLeftMouseButtonTitlebar(panel->GetBounds().origin()); panel 93 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToRemainDetached(Panel* panel) { panel 95 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->manager()->docked_collection()->work_area().bottom() - panel 96 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->GetBounds().bottom(); panel 103 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToAttach(Panel* panel) { panel 105 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->manager()->docked_collection()->work_area().bottom() - panel 106 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->GetBounds().bottom(); panel 184 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToUnsnap(Panel* panel) { panel 194 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); panel 196 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 197 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 202 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 208 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 211 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 216 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 222 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 225 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 230 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 236 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 239 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 244 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 250 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 253 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 258 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 262 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 265 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 270 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 274 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 277 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 512 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreatePanel("panel1"); panel 514 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 516 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->Minimize(); panel 517 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 520 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point hover_point(panel->GetBounds().origin()); panel 521 chrome/browser/ui/panels/panel_drag_browsertest.cc MoveMouseAndWaitForExpansionStateChange(panel, hover_point); panel 522 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 525 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 528 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 529 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 535 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 536 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 541 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 543 chrome/browser/ui/panels/panel_drag_browsertest.cc MoveMouseAndWaitForExpansionStateChange(panel, mouse_location); panel 544 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 546 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->Close(); panel 551 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreatePanel("panel1"); panel 553 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 556 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->Minimize(); panel 557 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 559 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->FlashFrame(true); panel 560 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_TRUE(panel->IsDrawingAttention()); panel 561 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 565 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 568 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 569 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 575 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 577 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->FlashFrame(false); panel 578 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_FALSE(panel->IsDrawingAttention()); panel 579 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 589 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::TITLE_ONLY, panel->expansion_state()); panel 592 chrome/browser/ui/panels/panel_drag_browsertest.cc MoveMouseAndWaitForExpansionStateChange(panel, mouse_location); panel 593 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state()); panel 778 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); panel 783 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 784 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point origin = panel->GetBounds().origin(); panel 787 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(origin, panel->GetBounds().origin()); panel 791 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(origin, panel->GetBounds().origin()); panel 795 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(origin, panel->GetBounds().origin()); panel 798 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(origin, panel->GetBounds().origin()); panel 802 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_position = panel->GetBounds().origin(); panel 806 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(origin, panel->GetBounds().origin()); panel 810 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(origin, panel->GetBounds().origin()); panel 814 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(origin, panel->GetBounds().origin()); panel 817 chrome/browser/ui/panels/panel_drag_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 818 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(original_position, panel->GetBounds().origin()); panel 944 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); panel 948 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 952 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 953 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 964 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 967 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 976 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 980 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 987 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 988 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1006 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); panel 1010 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 1014 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 1015 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 1026 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1029 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1038 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1042 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1049 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1050 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 1068 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(400, 300, 100, 100)); panel 1071 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1073 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 1077 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 1078 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 1084 chrome/browser/ui/panels/panel_drag_browsertest.cc GetDragDeltaToRemainDetached(panel); panel 1089 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1092 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1097 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_attach = GetDragDeltaToAttach(panel); panel 1102 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1104 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1111 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1116 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1134 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(400, 300, 100, 100)); panel 1137 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1139 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 1143 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 1144 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 1150 chrome/browser/ui/panels/panel_drag_browsertest.cc GetDragDeltaToRemainDetached(panel); panel 1155 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1158 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1163 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_attach = GetDragDeltaToAttach(panel); panel 1168 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1170 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1177 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1178 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 1190 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); panel 1194 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); panel 1198 chrome/browser/ui/panels/panel_drag_browsertest.cc CreateNativePanelTesting(panel)); panel 1199 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); panel 1209 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1212 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1215 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_reattach = GetDragDeltaToAttach(panel); panel 1220 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1222 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1230 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1232 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_new_bounds, panel->GetBounds()); panel 1239 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1240 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel_old_bounds, panel->GetBounds()); panel 1459 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); panel 1464 chrome/browser/ui/panels/panel_drag_browsertest.cc DragPanelToMouseLocation(panel, drag_to_location); panel 1465 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1466 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(drag_to_location.x(), panel->GetBounds().origin().x()); panel 1467 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(primary_work_area.y(), panel->GetBounds().origin().y()); panel 1472 chrome/browser/ui/panels/panel_drag_browsertest.cc DragPanelToMouseLocation(panel, drag_to_location); panel 1473 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1474 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(drag_to_location, panel->GetBounds().origin()); panel 1491 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(gfx::Point(), panel_size)); panel 1492 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type()); panel 1497 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->GetBounds().y()); panel 1498 chrome/browser/ui/panels/panel_drag_browsertest.cc DragPanelToMouseLocation(panel, drag_to_location); panel 1499 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1501 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(expected_bounds, panel->GetBounds()); panel 1517 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", initial_panel_bounds); panel 1518 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1519 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(initial_panel_bounds, panel->GetBounds()); panel 1525 chrome/browser/ui/panels/panel_drag_browsertest.cc DragPanelToMouseLocation(panel, drag_to_location); panel 1526 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type()); panel 1528 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(expected_bounds, panel->GetBounds()); panel 2992 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", initial_bounds); panel 2994 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(expected_bounds, panel->GetBounds()); panel 2999 chrome/browser/ui/panels/panel_drag_browsertest.cc primary_work_area.right() - small_distance - panel->GetBounds().width(), panel 3000 chrome/browser/ui/panels/panel_drag_browsertest.cc panel->GetBounds().y()); panel 3001 chrome/browser/ui/panels/panel_drag_browsertest.cc DragPanelToMouseLocation(panel, drag_to_location); panel 3002 chrome/browser/ui/panels/panel_drag_browsertest.cc expected_bounds.set_x(primary_work_area.right() - panel->GetBounds().width()); panel 3003 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(expected_bounds, panel->GetBounds()); panel 3010 chrome/browser/ui/panels/panel_drag_browsertest.cc DragPanelToMouseLocation(panel, drag_to_location); panel 3012 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(expected_bounds, panel->GetBounds()); panel 3017 chrome/browser/ui/panels/panel_drag_browsertest.cc secondary_work_area.right() - small_distance - panel->GetBounds().width(), panel 3019 chrome/browser/ui/panels/panel_drag_browsertest.cc DragPanelToMouseLocation(panel, drag_to_location); panel 3021 chrome/browser/ui/panels/panel_drag_browsertest.cc secondary_work_area.right() - panel->GetBounds().width()); panel 3023 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(expected_bounds, panel->GetBounds()); panel 84 chrome/browser/ui/panels/panel_drag_controller.cc void SetPreviewModeForPanelAndBelow(Panel* panel, bool in_preview) { panel 85 chrome/browser/ui/panels/panel_drag_controller.cc StackedPanelCollection* stack = panel->stack(); panel 92 chrome/browser/ui/panels/panel_drag_controller.cc if (!panel_found && current_panel != panel) panel 99 chrome/browser/ui/panels/panel_drag_controller.cc panel->SetPreviewMode(in_preview); panel 140 chrome/browser/ui/panels/panel_drag_controller.cc void PanelDragController::StartDragging(Panel* panel, panel 145 chrome/browser/ui/panels/panel_drag_controller.cc mouse_location - panel->GetBounds().origin(); panel 147 chrome/browser/ui/panels/panel_drag_controller.cc dragging_panel_ = panel; panel 266 chrome/browser/ui/panels/panel_drag_controller.cc void PanelDragController::OnPanelClosed(Panel* panel) { panel 268 chrome/browser/ui/panels/panel_drag_controller.cc if (dragging_panel_ != panel) panel 497 chrome/browser/ui/panels/panel_drag_controller.cc Panel* panel = *iter; panel 498 chrome/browser/ui/panels/panel_drag_controller.cc if (!panel->in_preview_mode()) panel 500 chrome/browser/ui/panels/panel_drag_controller.cc panels_to_move.push_back(panel); panel 681 chrome/browser/ui/panels/panel_drag_controller.cc Panel* panel = *iter; panel 682 chrome/browser/ui/panels/panel_drag_controller.cc if (dragging_panel_ == panel) panel 685 chrome/browser/ui/panels/panel_drag_controller.cc dragging_panel_->collection() == panel->collection()) panel 687 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect panel_bounds = panel->GetBounds(); panel 700 chrome/browser/ui/panels/panel_drag_controller.cc best_matching_panel = panel; panel 712 chrome/browser/ui/panels/panel_drag_controller.cc best_matching_panel = panel; panel 720 chrome/browser/ui/panels/panel_drag_controller.cc StackedPanelCollection* stack = panel->stack(); panel 727 chrome/browser/ui/panels/panel_drag_controller.cc if ((!stack || panel == stack->top_panel()) && panel 732 chrome/browser/ui/panels/panel_drag_controller.cc best_matching_panel = panel; panel 747 chrome/browser/ui/panels/panel_drag_controller.cc if ((!stack || panel == stack->bottom_panel()) && panel 752 chrome/browser/ui/panels/panel_drag_controller.cc best_matching_panel = panel; panel 766 chrome/browser/ui/panels/panel_drag_controller.cc Panel* panel, panel 769 chrome/browser/ui/panels/panel_drag_controller.cc StackedPanelCollection* stack = panel->stack(); panel 771 chrome/browser/ui/panels/panel_drag_controller.cc panel_manager_->MovePanelToCollection(panel, panel 782 chrome/browser/ui/panels/panel_drag_controller.cc if ((*iter) == panel) panel 29 chrome/browser/ui/panels/panel_drag_controller.h void StartDragging(Panel* panel, const gfx::Point& mouse_location); panel 34 chrome/browser/ui/panels/panel_drag_controller.h void OnPanelClosed(Panel* panel); panel 83 chrome/browser/ui/panels/panel_drag_controller.h Panel* panel, panel 54 chrome/browser/ui/panels/panel_extension_browsertest.cc Panel* panel = PanelManager::GetInstance()->CreatePanel( panel 60 chrome/browser/ui/panels/panel_extension_browsertest.cc panel->ShowInactive(); panel 61 chrome/browser/ui/panels/panel_extension_browsertest.cc return panel; panel 64 chrome/browser/ui/panels/panel_extension_browsertest.cc void WaitForAppIconAvailable(Panel* panel) const { panel 67 chrome/browser/ui/panels/panel_extension_browsertest.cc content::Source<Panel>(panel)); panel 68 chrome/browser/ui/panels/panel_extension_browsertest.cc if (!panel->app_icon().IsEmpty()) panel 71 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(panel->app_icon().IsEmpty()); panel 74 chrome/browser/ui/panels/panel_extension_browsertest.cc static NativePanelTesting* CreateNativePanelTesting(Panel* panel) { panel 75 chrome/browser/ui/panels/panel_extension_browsertest.cc return panel->native_panel()->CreateNativePanelTesting(); panel 84 chrome/browser/ui/panels/panel_extension_browsertest.cc Panel* panel = CreatePanelFromExtension(extension); panel 87 chrome/browser/ui/panels/panel_extension_browsertest.cc WaitForAppIconAvailable(panel); panel 90 chrome/browser/ui/panels/panel_extension_browsertest.cc gfx::ImageSkia app_icon = panel->app_icon().AsImageSkia(); panel 91 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_EQ(panel::kPanelAppIconSize, app_icon.width()); panel 92 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_EQ(panel::kPanelAppIconSize, app_icon.height()); panel 97 chrome/browser/ui/panels/panel_extension_browsertest.cc CreateNativePanelTesting(panel)); panel 101 chrome/browser/ui/panels/panel_extension_browsertest.cc panel->Close(); panel 109 chrome/browser/ui/panels/panel_extension_browsertest.cc Panel* panel = CreatePanelFromExtension(extension); panel 112 chrome/browser/ui/panels/panel_extension_browsertest.cc panel->Close(); panel 145 chrome/browser/ui/panels/panel_extension_browsertest.cc Panel* panel = panel_manager->panels().front(); panel 146 chrome/browser/ui/panels/panel_extension_browsertest.cc content::WebContents* web_contents = panel->GetWebContents(); panel 248 chrome/browser/ui/panels/panel_extension_browsertest.cc Panel* panel = panel_manager->panels().front(); panel 249 chrome/browser/ui/panels/panel_extension_browsertest.cc content::WebContents* web_contents = panel->GetWebContents(); panel 38 chrome/browser/ui/panels/panel_host.cc PanelHost::PanelHost(Panel* panel, Profile* profile) panel 39 chrome/browser/ui/panels/panel_host.cc : panel_(panel), panel 40 chrome/browser/ui/panels/panel_host.h PanelHost(Panel* panel, Profile* profile); panel 251 chrome/browser/ui/panels/panel_manager.cc gfx::Size min_size(panel::kPanelMinWidth, panel::kPanelMinHeight); panel 264 chrome/browser/ui/panels/panel_manager.cc Panel* panel = new Panel(profile, app_name, min_size, max_size); panel 271 chrome/browser/ui/panels/panel_manager.cc panel, adjusted_requested_bounds, mode, &positioning_mask); panel 278 chrome/browser/ui/panels/panel_manager.cc panel->Initialize(url, bounds, collection->UsesAlwaysOnTopPanels()); panel 283 chrome/browser/ui/panels/panel_manager.cc panel->SetAutoResizable(true); panel 287 chrome/browser/ui/panels/panel_manager.cc collection->AddPanel(panel, positioning_mask); panel 288 chrome/browser/ui/panels/panel_manager.cc collection->UpdatePanelOnCollectionChange(panel); panel 290 chrome/browser/ui/panels/panel_manager.cc return panel; panel 331 chrome/browser/ui/panels/panel_manager.cc Panel* panel = stack->bottom_panel(); panel 332 chrome/browser/ui/panels/panel_manager.cc if (panel->profile() != new_panel->profile() || panel 333 chrome/browser/ui/panels/panel_manager.cc panel->extension_id() != new_panel->extension_id()) panel 342 chrome/browser/ui/panels/panel_manager.cc if (!panel->IsShownOnActiveDesktop()) panel 368 chrome/browser/ui/panels/panel_manager.cc Panel* panel = *iter; panel 372 chrome/browser/ui/panels/panel_manager.cc if (panel->profile() != new_panel->profile() || panel 373 chrome/browser/ui/panels/panel_manager.cc panel->extension_id() != new_panel->extension_id()) panel 377 chrome/browser/ui/panels/panel_manager.cc if (panel->IsMinimizedBySystem()) panel 381 chrome/browser/ui/panels/panel_manager.cc if (!panel->IsShownOnActiveDesktop()) panel 385 chrome/browser/ui/panels/panel_manager.cc display_settings_provider_->GetWorkAreaMatching(panel->GetBounds()); panel 387 chrome/browser/ui/panels/panel_manager.cc work_area.bottom() - panel->GetBounds().y() - panel 388 chrome/browser/ui/panels/panel_manager.cc (panel->IsActive() ? panel->GetBounds().height() panel 389 chrome/browser/ui/panels/panel_manager.cc : panel::kTitlebarHeight); panel 392 chrome/browser/ui/panels/panel_manager.cc MovePanelToCollection(panel, panel 405 chrome/browser/ui/panels/panel_manager.cc void PanelManager::OnPanelClosed(Panel* panel) { panel 410 chrome/browser/ui/panels/panel_manager.cc drag_controller_->OnPanelClosed(panel); panel 411 chrome/browser/ui/panels/panel_manager.cc resize_controller_->OnPanelClosed(panel); panel 415 chrome/browser/ui/panels/panel_manager.cc PanelCollection* collection = panel->collection(); panel 416 chrome/browser/ui/panels/panel_manager.cc collection->RemovePanel(panel, PanelCollection::PANEL_CLOSED); panel 437 chrome/browser/ui/panels/panel_manager.cc content::Source<Panel>(panel), panel 454 chrome/browser/ui/panels/panel_manager.cc void PanelManager::StartDragging(Panel* panel, panel 456 chrome/browser/ui/panels/panel_manager.cc drag_controller_->StartDragging(panel, mouse_location); panel 467 chrome/browser/ui/panels/panel_manager.cc void PanelManager::StartResizingByMouse(Panel* panel, panel 469 chrome/browser/ui/panels/panel_manager.cc panel::ResizingSides sides) { panel 470 chrome/browser/ui/panels/panel_manager.cc if (panel->CanResizeByMouse() != panel::NOT_RESIZABLE && panel 471 chrome/browser/ui/panels/panel_manager.cc sides != panel::RESIZE_NONE) panel 472 chrome/browser/ui/panels/panel_manager.cc resize_controller_->StartResizing(panel, mouse_location, sides); panel 488 chrome/browser/ui/panels/panel_manager.cc void PanelManager::OnPanelExpansionStateChanged(Panel* panel) { panel 489 chrome/browser/ui/panels/panel_manager.cc panel->collection()->OnPanelExpansionStateChanged(panel); panel 493 chrome/browser/ui/panels/panel_manager.cc Panel* panel, panel 496 chrome/browser/ui/panels/panel_manager.cc DCHECK(panel); panel 497 chrome/browser/ui/panels/panel_manager.cc PanelCollection* current_collection = panel->collection(); panel 500 chrome/browser/ui/panels/panel_manager.cc current_collection->RemovePanel(panel, panel 503 chrome/browser/ui/panels/panel_manager.cc target_collection->AddPanel(panel, positioning_mask); panel 504 chrome/browser/ui/panels/panel_manager.cc target_collection->UpdatePanelOnCollectionChange(panel); panel 505 chrome/browser/ui/panels/panel_manager.cc panel->SetAlwaysOnTop(target_collection->UsesAlwaysOnTopPanels()); panel 574 chrome/browser/ui/panels/panel_manager.cc void PanelManager::OnPanelAnimationEnded(Panel* panel) { panel 577 chrome/browser/ui/panels/panel_manager.cc content::Source<Panel>(panel), panel 79 chrome/browser/ui/panels/panel_manager.h void OnPanelClosed(Panel* panel); panel 94 chrome/browser/ui/panels/panel_manager.h void StartDragging(Panel* panel, const gfx::Point& mouse_location); panel 100 chrome/browser/ui/panels/panel_manager.h void StartResizingByMouse(Panel* panel, const gfx::Point& mouse_location, panel 101 chrome/browser/ui/panels/panel_manager.h panel::ResizingSides sides); panel 106 chrome/browser/ui/panels/panel_manager.h void OnPanelExpansionStateChanged(Panel* panel); panel 109 chrome/browser/ui/panels/panel_manager.h void MovePanelToCollection(Panel* panel, panel 169 chrome/browser/ui/panels/panel_manager.h void OnPanelAnimationEnded(Panel* panel); panel 31 chrome/browser/ui/panels/panel_resize_browsertest.cc void ResizePanel(Panel* panel, panel 32 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::ResizingSides sides, panel 35 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 38 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_TOP_LEFT: panel 41 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_TOP: panel 44 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_TOP_RIGHT: panel 47 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_LEFT: panel 50 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_RIGHT: panel 54 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_BOTTOM_LEFT: panel 57 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_BOTTOM: panel 61 chrome/browser/ui/panels/panel_resize_browsertest.cc case panel::RESIZE_BOTTOM_RIGHT: panel 68 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, sides); panel 83 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreatePanel("Panel"); panel 85 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(panel::RESIZABLE_EXCEPT_BOTTOM, panel->CanResizeByMouse()); panel 87 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 91 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 92 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP_LEFT); panel 98 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 101 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 105 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 106 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP); panel 112 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 115 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 119 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 120 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_LEFT); panel 126 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 129 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 133 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 134 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP_RIGHT); panel 140 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 143 chrome/browser/ui/panels/panel_resize_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 145 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 149 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 150 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_RIGHT); panel 155 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 158 chrome/browser/ui/panels/panel_resize_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 160 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 164 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 165 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM); panel 168 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 171 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 175 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 176 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_LEFT); panel 179 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 182 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 187 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 188 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_RIGHT); panel 191 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 194 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 196 chrome/browser/ui/panels/panel_resize_browsertest.cc panel->Close(); panel 207 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); panel 209 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(panel::RESIZABLE_ALL, panel->CanResizeByMouse()); panel 211 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 216 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 217 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_RIGHT); panel 222 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 225 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 229 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 230 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_LEFT); panel 236 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 239 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 243 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 244 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP_RIGHT); panel 250 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 253 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 257 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 258 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP_LEFT); panel 264 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 267 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 283 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("1", panel 288 chrome/browser/ui/panels/panel_resize_browsertest.cc int resize_width = panel::kPanelMinWidth / 2 - initial_width; panel 289 chrome/browser/ui/panels/panel_resize_browsertest.cc int resize_height = panel::kPanelMinHeight / 2 - initial_height; panel 290 chrome/browser/ui/panels/panel_resize_browsertest.cc ResizePanel(panel, panel 291 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_RIGHT, panel 294 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(panel::kPanelMinWidth, panel->GetBounds().width()); panel 295 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(panel::kPanelMinHeight, panel->GetBounds().height()); panel 310 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); panel 312 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(panel::RESIZABLE_ALL, panel->CanResizeByMouse()); panel 314 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 319 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 320 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM); panel 324 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_height(panel->min_size().height()); panel 325 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 328 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 333 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 334 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_RIGHT); panel 337 chrome/browser/ui/panels/panel_resize_browsertest.cc int delta_x = panel->max_size().width() + 10 - panel->GetBounds().width(); panel 338 chrome/browser/ui/panels/panel_resize_browsertest.cc int delta_y = panel->max_size().height() + 10 - panel->GetBounds().height(); panel 345 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 348 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 381 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_LEFT); panel 402 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_RIGHT); panel 431 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); panel 434 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(panel::RESIZABLE_ALL, panel->CanResizeByMouse()); panel 436 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect original_bounds = panel->GetBounds(); panel 440 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 443 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 444 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP_RIGHT); panel 450 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 453 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(original_bounds, panel->GetBounds()); panel 456 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds = panel->GetBounds(); panel 458 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, mouse_location, panel 459 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_LEFT); panel 465 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 468 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(original_bounds, panel->GetBounds()); panel 488 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); panel 489 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); panel 493 chrome/browser/ui/panels/panel_resize_browsertest.cc panel_manager->StartResizingByMouse(panel, panel 495 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP_LEFT); panel 506 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 517 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 520 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(bounds, panel->GetBounds()); panel 572 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_TOP_LEFT, panel 603 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM_RIGHT, panel 631 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM, panel 670 chrome/browser/ui/panels/panel_resize_browsertest.cc panel::RESIZE_BOTTOM, panel 12 chrome/browser/ui/panels/panel_resize_controller.cc static bool ResizingLeft(panel::ResizingSides sides) { panel 13 chrome/browser/ui/panels/panel_resize_controller.cc return sides == panel::RESIZE_TOP_LEFT || panel 14 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_LEFT || panel 15 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_BOTTOM_LEFT; panel 18 chrome/browser/ui/panels/panel_resize_controller.cc static bool ResizingRight(panel::ResizingSides sides) { panel 19 chrome/browser/ui/panels/panel_resize_controller.cc return sides == panel::RESIZE_TOP_RIGHT || panel 20 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_RIGHT || panel 21 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_BOTTOM_RIGHT; panel 24 chrome/browser/ui/panels/panel_resize_controller.cc static bool ResizingTop(panel::ResizingSides sides) { panel 25 chrome/browser/ui/panels/panel_resize_controller.cc return sides == panel::RESIZE_TOP_LEFT || panel 26 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_TOP || panel 27 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_TOP_RIGHT; panel 30 chrome/browser/ui/panels/panel_resize_controller.cc static bool ResizingBottom(panel::ResizingSides sides) { panel 31 chrome/browser/ui/panels/panel_resize_controller.cc return sides == panel::RESIZE_BOTTOM_RIGHT || panel 32 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_BOTTOM || panel 33 chrome/browser/ui/panels/panel_resize_controller.cc sides == panel::RESIZE_BOTTOM_LEFT; panel 40 chrome/browser/ui/panels/panel_resize_controller.cc sides_resized_(panel::RESIZE_NONE) { panel 43 chrome/browser/ui/panels/panel_resize_controller.cc void PanelResizeController::StartResizing(Panel* panel, panel 45 chrome/browser/ui/panels/panel_resize_controller.cc panel::ResizingSides sides) { panel 47 chrome/browser/ui/panels/panel_resize_controller.cc DCHECK_NE(panel::RESIZE_NONE, sides); panel 49 chrome/browser/ui/panels/panel_resize_controller.cc panel::Resizability resizability = panel->CanResizeByMouse(); panel 50 chrome/browser/ui/panels/panel_resize_controller.cc DCHECK_NE(panel::NOT_RESIZABLE, resizability); panel 51 chrome/browser/ui/panels/panel_resize_controller.cc panel::Resizability resizability_to_test; panel 53 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_TOP_LEFT: panel 54 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_TOP_LEFT; panel 56 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_TOP: panel 57 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_TOP; panel 59 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_TOP_RIGHT: panel 60 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_TOP_RIGHT; panel 62 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_LEFT: panel 63 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_LEFT; panel 65 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_RIGHT: panel 66 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_RIGHT; panel 68 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_BOTTOM_LEFT: panel 69 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_BOTTOM_LEFT; panel 71 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_BOTTOM: panel 72 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_BOTTOM; panel 74 chrome/browser/ui/panels/panel_resize_controller.cc case panel::RESIZE_BOTTOM_RIGHT: panel 75 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::RESIZABLE_BOTTOM_RIGHT; panel 78 chrome/browser/ui/panels/panel_resize_controller.cc resizability_to_test = panel::NOT_RESIZABLE; panel 87 chrome/browser/ui/panels/panel_resize_controller.cc bounds_at_start_ = panel->GetBounds(); panel 89 chrome/browser/ui/panels/panel_resize_controller.cc resizing_panel_ = panel; panel 95 chrome/browser/ui/panels/panel_resize_controller.cc panel::Resizability resizability = resizing_panel_->CanResizeByMouse(); panel 96 chrome/browser/ui/panels/panel_resize_controller.cc if (panel::NOT_RESIZABLE == resizability) { panel 163 chrome/browser/ui/panels/panel_resize_controller.cc sides_resized_ = panel::RESIZE_NONE; panel 169 chrome/browser/ui/panels/panel_resize_controller.cc void PanelResizeController::OnPanelClosed(Panel* panel) { panel 174 chrome/browser/ui/panels/panel_resize_controller.cc if (resizing_panel_ == panel) panel 27 chrome/browser/ui/panels/panel_resize_controller.h void StartResizing(Panel* panel, panel 29 chrome/browser/ui/panels/panel_resize_controller.h panel::ResizingSides sides); panel 36 chrome/browser/ui/panels/panel_resize_controller.h void OnPanelClosed(Panel* panel); panel 47 chrome/browser/ui/panels/panel_resize_controller.h panel::ResizingSides sides_resized_; panel 49 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 50 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel2_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 51 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel3_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 54 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 56 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 57 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 58 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 60 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 61 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 62 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 87 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_LEFT | panel::RESIZABLE_RIGHT | panel 88 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::RESIZABLE_TOP | panel::RESIZABLE_TOP_LEFT | panel 89 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::RESIZABLE_TOP_RIGHT | panel::RESIZABLE_BOTTOM, panel 91 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_LEFT | panel::RESIZABLE_RIGHT | panel 92 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::RESIZABLE_BOTTOM, panel 94 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_LEFT | panel::RESIZABLE_RIGHT | panel 95 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::RESIZABLE_BOTTOM | panel::RESIZABLE_BOTTOM_LEFT | panel 96 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::RESIZABLE_BOTTOM_RIGHT, panel 99 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::TOP_ROUNDED, panel1_testing->GetWindowCornerStyle()); panel 100 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::NOT_ROUNDED, panel2_testing->GetWindowCornerStyle()); panel 101 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::BOTTOM_ROUNDED, panel3_testing->GetWindowCornerStyle()); panel 151 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 152 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel2_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 153 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel3_testing->IsButtonVisible(panel::CLOSE_BUTTON)); panel 156 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 158 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 159 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 160 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 162 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 163 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 164 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::RESTORE_BUTTON)); panel 190 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_LEFT | panel::RESIZABLE_RIGHT, panel 192 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_LEFT | panel::RESIZABLE_RIGHT, panel 194 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::RESIZABLE_LEFT | panel::RESIZABLE_RIGHT, panel 197 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::TOP_ROUNDED, panel1_testing->GetWindowCornerStyle()); panel 198 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::NOT_ROUNDED, panel2_testing->GetWindowCornerStyle()); panel 199 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(panel::BOTTOM_ROUNDED, panel3_testing->GetWindowCornerStyle()); panel 264 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::APPLY_TO_ALL); panel 265 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel2_testing->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 279 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::APPLY_TO_ALL); panel 280 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1_testing->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 464 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::APPLY_TO_ALL); panel 465 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel2_testing->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 482 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel::APPLY_TO_ALL); panel 483 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel2_testing->ReleaseMouseButtonTitlebar(panel::APPLY_TO_ALL); panel 519 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 521 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 522 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 523 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 538 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 539 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel2_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 541 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 542 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 544 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 562 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_TRUE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 564 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel1_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 565 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel2_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 566 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_FALSE(panel3_testing->IsButtonVisible(panel::MINIMIZE_BUTTON)); panel 589 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1->OnMinimizeButtonClicked(panel::NO_MODIFIER); panel 1140 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1->OnMinimizeButtonClicked(panel::NO_MODIFIER); panel 1181 chrome/browser/ui/panels/stacked_panel_browsertest.cc stack->OnMinimizeButtonClicked(panel1, panel::NO_MODIFIER); panel 86 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel = panels_.front(); panel 87 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 90 chrome/browser/ui/panels/stacked_panel_collection.cc panel->SetPanelBounds(bounds); panel 105 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel = *iter; panel 110 chrome/browser/ui/panels/stacked_panel_collection.cc panel->UpdateMinimizeRestoreButtonVisibility(); panel 113 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 114 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel->in_preview_mode()) { panel 120 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Size full_size = panel->full_size(); panel 122 chrome/browser/ui/panels/stacked_panel_collection.cc panel->set_full_size(full_size); panel 129 chrome/browser/ui/panels/stacked_panel_collection.cc panel->expansion_state() == Panel::EXPANDED ? panel 130 chrome/browser/ui/panels/stacked_panel_collection.cc panel->full_size().height() : panel->TitleOnlyHeight()); panel 132 chrome/browser/ui/panels/stacked_panel_collection.cc GetStackWindowForPanel(panel)->AddPanelBoundsForBatchUpdate(panel, bounds); panel 146 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel = panels_.front(); panel 147 chrome/browser/ui/panels/stacked_panel_collection.cc const extensions::Extension* extension = panel->GetExtension(); panel 149 chrome/browser/ui/panels/stacked_panel_collection.cc extension->name() : panel->app_name()); panel 199 chrome/browser/ui/panels/stacked_panel_collection.cc current_panel->GetBounds().height() - panel::kTitlebarHeight; panel 206 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::AddPanel(Panel* panel, panel 208 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK_NE(this, panel->collection()); panel 209 chrome/browser/ui/panels/stacked_panel_collection.cc panel->set_collection(this); panel 213 chrome/browser/ui/panels/stacked_panel_collection.cc panels_.push_front(panel); panel 218 chrome/browser/ui/panels/stacked_panel_collection.cc int needed_space = panel->GetBounds().height(); panel 224 chrome/browser/ui/panels/stacked_panel_collection.cc panels_.push_back(panel); panel 227 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel->IsActive()) panel 228 chrome/browser/ui/panels/stacked_panel_collection.cc most_recently_active_panels_.push_front(panel); panel 230 chrome/browser/ui/panels/stacked_panel_collection.cc most_recently_active_panels_.push_back(panel); panel 253 chrome/browser/ui/panels/stacked_panel_collection.cc stack_window->AddPanel(panel); panel 259 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::RemovePanel(Panel* panel, RemovalReason reason) { panel 260 chrome/browser/ui/panels/stacked_panel_collection.cc bool is_top = panel == top_panel(); panel 261 chrome/browser/ui/panels/stacked_panel_collection.cc bool is_bottom = panel == bottom_panel(); panel 270 chrome/browser/ui/panels/stacked_panel_collection.cc top_origin = panel->GetBounds().origin(); panel 271 chrome/browser/ui/panels/stacked_panel_collection.cc top_width = panel->GetBounds().width(); panel 274 chrome/browser/ui/panels/stacked_panel_collection.cc panel->set_collection(NULL); panel 275 chrome/browser/ui/panels/stacked_panel_collection.cc panels_.remove(panel); panel 276 chrome/browser/ui/panels/stacked_panel_collection.cc most_recently_active_panels_.remove(panel); panel 291 chrome/browser/ui/panels/stacked_panel_collection.cc panel->IsActive() && panel 311 chrome/browser/ui/panels/stacked_panel_collection.cc GetStackWindowForPanel(panel)->RemovePanel(panel); panel 340 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::OnPanelAttentionStateChanged(Panel* panel) { panel 341 chrome/browser/ui/panels/stacked_panel_collection.cc if ((panel->attention_mode() & Panel::USE_SYSTEM_ATTENTION) != 0) panel 342 chrome/browser/ui/panels/stacked_panel_collection.cc primary_stack_window_->DrawSystemAttention(panel->IsDrawingAttention()); panel 346 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel, panel::ClickModifier modifier) { panel 347 chrome/browser/ui/panels/stacked_panel_collection.cc bool expanded = panel->expansion_state() == Panel::EXPANDED; panel 348 chrome/browser/ui/panels/stacked_panel_collection.cc if (modifier == panel::APPLY_TO_ALL) { panel 352 chrome/browser/ui/panels/stacked_panel_collection.cc RestoreAll(panel); panel 355 chrome/browser/ui/panels/stacked_panel_collection.cc MinimizePanel(panel); panel 357 chrome/browser/ui/panels/stacked_panel_collection.cc RestorePanel(panel); panel 362 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel, panel 366 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::ActivatePanel(Panel* panel) { panel 369 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel->IsMinimized()) panel 370 chrome/browser/ui/panels/stacked_panel_collection.cc panel->SetExpansionState(Panel::EXPANDED); panel 373 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::MinimizePanel(Panel* panel) { panel 374 chrome/browser/ui/panels/stacked_panel_collection.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 377 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::RestorePanel(Panel* panel) { panel 381 chrome/browser/ui/panels/stacked_panel_collection.cc int needed_space = panel->full_size().height() - panel->TitleOnlyHeight(); panel 406 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Size full_size = panel->full_size(); panel 408 chrome/browser/ui/panels/stacked_panel_collection.cc if (reduced_height < panel::kPanelMinHeight) panel 409 chrome/browser/ui/panels/stacked_panel_collection.cc reduced_height = panel::kPanelMinHeight; panel 411 chrome/browser/ui/panels/stacked_panel_collection.cc panel->set_full_size(full_size); panel 414 chrome/browser/ui/panels/stacked_panel_collection.cc panel->SetExpansionState(Panel::EXPANDED); panel 456 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel = *iter; panel 457 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel != panel_clicked) panel 458 chrome/browser/ui/panels/stacked_panel_collection.cc RestorePanel(panel); panel 463 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel, panel::ClickModifier modifier) { panel 465 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK_EQ(top_panel(), panel); panel 471 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel, panel::ClickModifier modifier) { panel 475 chrome/browser/ui/panels/stacked_panel_collection.cc bool StackedPanelCollection::CanShowMinimizeButton(const Panel* panel) const { panel 477 chrome/browser/ui/panels/stacked_panel_collection.cc return PanelManager::CanUseSystemMinimize() && panel == top_panel(); panel 480 chrome/browser/ui/panels/stacked_panel_collection.cc bool StackedPanelCollection::CanShowRestoreButton(const Panel* panel) const { panel 484 chrome/browser/ui/panels/stacked_panel_collection.cc bool StackedPanelCollection::IsPanelMinimized(const Panel* panel) const { panel 485 chrome/browser/ui/panels/stacked_panel_collection.cc return panel->expansion_state() != Panel::EXPANDED; panel 492 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::SavePanelPlacement(Panel* panel) { panel 493 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK(!saved_panel_placement_.panel); panel 494 chrome/browser/ui/panels/stacked_panel_collection.cc saved_panel_placement_.panel = panel; panel 496 chrome/browser/ui/panels/stacked_panel_collection.cc if (top_panel() != panel) panel 499 chrome/browser/ui/panels/stacked_panel_collection.cc saved_panel_placement_.position = panel->GetBounds().origin(); panel 501 chrome/browser/ui/panels/stacked_panel_collection.cc saved_panel_placement_.top_panel = top_panel() != panel ? top_panel() : NULL; panel 505 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK(saved_panel_placement_.panel); panel 524 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK_EQ(top_panel(), saved_panel_placement_.panel); panel 533 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK(saved_panel_placement_.panel); panel 534 chrome/browser/ui/panels/stacked_panel_collection.cc saved_panel_placement_.panel = NULL; panel 538 chrome/browser/ui/panels/stacked_panel_collection.cc panel::Resizability StackedPanelCollection::GetPanelResizability( panel 539 chrome/browser/ui/panels/stacked_panel_collection.cc const Panel* panel) const { panel 546 chrome/browser/ui/panels/stacked_panel_collection.cc panel::Resizability resizability = static_cast<panel::Resizability>( panel 547 chrome/browser/ui/panels/stacked_panel_collection.cc panel::RESIZABLE_LEFT | panel::RESIZABLE_RIGHT); panel 548 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel->IsMinimized()) panel 550 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel == top_panel()) { panel 551 chrome/browser/ui/panels/stacked_panel_collection.cc resizability = static_cast<panel::Resizability>(resizability | panel 552 chrome/browser/ui/panels/stacked_panel_collection.cc panel::RESIZABLE_TOP | panel::RESIZABLE_TOP_LEFT | panel 553 chrome/browser/ui/panels/stacked_panel_collection.cc panel::RESIZABLE_TOP_RIGHT); panel 555 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel == bottom_panel()) { panel 556 chrome/browser/ui/panels/stacked_panel_collection.cc resizability = static_cast<panel::Resizability>(resizability | panel 557 chrome/browser/ui/panels/stacked_panel_collection.cc panel::RESIZABLE_BOTTOM | panel::RESIZABLE_BOTTOM_LEFT | panel 558 chrome/browser/ui/panels/stacked_panel_collection.cc panel::RESIZABLE_BOTTOM_RIGHT); panel 560 chrome/browser/ui/panels/stacked_panel_collection.cc resizability = static_cast<panel::Resizability>(resizability | panel 561 chrome/browser/ui/panels/stacked_panel_collection.cc panel::RESIZABLE_BOTTOM); panel 586 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel = *iter; panel 587 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel == resized_panel) { panel 592 chrome/browser/ui/panels/stacked_panel_collection.cc primary_stack_window_->AddPanelBoundsForBatchUpdate(panel, new_bounds); panel 596 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); panel 606 chrome/browser/ui/panels/stacked_panel_collection.cc if (!panel_below_resized_panel_updated && !panel->IsMinimized()) { panel 616 chrome/browser/ui/panels/stacked_panel_collection.cc if (!panel->IsMinimized()) panel 617 chrome/browser/ui/panels/stacked_panel_collection.cc panel->set_full_size(bounds.size()); panel 619 chrome/browser/ui/panels/stacked_panel_collection.cc primary_stack_window_->AddPanelBoundsForBatchUpdate(panel, bounds); panel 626 chrome/browser/ui/panels/stacked_panel_collection.cc bool StackedPanelCollection::HasPanel(Panel* panel) const { panel 627 chrome/browser/ui/panels/stacked_panel_collection.cc return std::find(panels_.begin(), panels_.end(), panel) != panels_.end(); panel 630 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::UpdatePanelOnCollectionChange(Panel* panel) { panel 631 chrome/browser/ui/panels/stacked_panel_collection.cc panel->set_attention_mode( panel 634 chrome/browser/ui/panels/stacked_panel_collection.cc panel->ShowShadow(false); panel 635 chrome/browser/ui/panels/stacked_panel_collection.cc panel->UpdateMinimizeRestoreButtonVisibility(); panel 636 chrome/browser/ui/panels/stacked_panel_collection.cc UpdatePanelCornerStyle(panel); panel 639 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::OnPanelExpansionStateChanged(Panel* panel) { panel 640 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK_NE(Panel::MINIMIZED, panel->expansion_state()); panel 645 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel->expansion_state() != Panel::EXPANDED && !minimizing_all_ && panel 646 chrome/browser/ui/panels/stacked_panel_collection.cc panel->IsActive()) { panel 647 chrome/browser/ui/panels/stacked_panel_collection.cc panel->Deactivate(); panel 654 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::OnPanelActiveStateChanged(Panel* panel) { panel 655 chrome/browser/ui/panels/stacked_panel_collection.cc if (!panel->IsActive()) panel 660 chrome/browser/ui/panels/stacked_panel_collection.cc most_recently_active_panels_.end(), panel); panel 664 chrome/browser/ui/panels/stacked_panel_collection.cc most_recently_active_panels_.push_front(panel); panel 667 chrome/browser/ui/panels/stacked_panel_collection.cc GetStackWindowForPanel(panel)->OnPanelActivated(panel); panel 680 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* StackedPanelCollection::GetPanelAbove(Panel* panel) const { panel 681 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK(panel); panel 688 chrome/browser/ui/panels/stacked_panel_collection.cc if (*iter == panel) panel 695 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* StackedPanelCollection::GetPanelBelow(Panel* panel) const { panel 696 chrome/browser/ui/panels/stacked_panel_collection.cc DCHECK(panel); panel 701 chrome/browser/ui/panels/stacked_panel_collection.cc std::find(panels_.begin(), panels_.end(), panel); panel 712 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel = *iter; panel 713 chrome/browser/ui/panels/stacked_panel_collection.cc if (panel->in_preview_mode()) { panel 714 chrome/browser/ui/panels/stacked_panel_collection.cc GetStackWindowForPanel(panel)->MovePanelsBy(delta_origin); panel 724 chrome/browser/ui/panels/stacked_panel_collection.cc bool StackedPanelCollection::IsAnimatingPanelBounds(Panel* panel) const { panel 725 chrome/browser/ui/panels/stacked_panel_collection.cc return GetStackWindowForPanel(panel)->IsAnimatingPanelBounds(); panel 728 chrome/browser/ui/panels/stacked_panel_collection.cc void StackedPanelCollection::UpdatePanelCornerStyle(Panel* panel) { panel 729 chrome/browser/ui/panels/stacked_panel_collection.cc panel::CornerStyle corner_style; panel 730 chrome/browser/ui/panels/stacked_panel_collection.cc bool at_top = panel == top_panel(); panel 731 chrome/browser/ui/panels/stacked_panel_collection.cc bool at_bottom = panel == bottom_panel(); panel 733 chrome/browser/ui/panels/stacked_panel_collection.cc corner_style = panel::ALL_ROUNDED; panel 735 chrome/browser/ui/panels/stacked_panel_collection.cc corner_style = panel::TOP_ROUNDED; panel 737 chrome/browser/ui/panels/stacked_panel_collection.cc corner_style = panel::BOTTOM_ROUNDED; panel 739 chrome/browser/ui/panels/stacked_panel_collection.cc corner_style = panel::NOT_ROUNDED; panel 740 chrome/browser/ui/panels/stacked_panel_collection.cc panel->SetWindowCornerStyle(corner_style); panel 781 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel = *iter; panel 783 chrome/browser/ui/panels/stacked_panel_collection.cc if (iter == panels_.begin() && panel->IsActive()) panel 784 chrome/browser/ui/panels/stacked_panel_collection.cc bottom += panel->GetBounds().height(); panel 786 chrome/browser/ui/panels/stacked_panel_collection.cc bottom += panel::kTitlebarHeight; panel 795 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* panel) const { panel 796 chrome/browser/ui/panels/stacked_panel_collection.cc return secondary_stack_window_ && secondary_stack_window_->HasPanel(panel) ? panel 32 chrome/browser/ui/panels/stacked_panel_collection.h virtual void AddPanel(Panel* panel, panel 34 chrome/browser/ui/panels/stacked_panel_collection.h virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE; panel 37 chrome/browser/ui/panels/stacked_panel_collection.h Panel* panel, panel 39 chrome/browser/ui/panels/stacked_panel_collection.h virtual panel::Resizability GetPanelResizability( panel 40 chrome/browser/ui/panels/stacked_panel_collection.h const Panel* panel) const OVERRIDE; panel 41 chrome/browser/ui/panels/stacked_panel_collection.h virtual void OnPanelResizedByMouse(Panel* panel, panel 43 chrome/browser/ui/panels/stacked_panel_collection.h virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; panel 44 chrome/browser/ui/panels/stacked_panel_collection.h virtual void OnPanelTitlebarClicked(Panel* panel, panel 45 chrome/browser/ui/panels/stacked_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 46 chrome/browser/ui/panels/stacked_panel_collection.h virtual void ActivatePanel(Panel* panel) OVERRIDE; panel 47 chrome/browser/ui/panels/stacked_panel_collection.h virtual void MinimizePanel(Panel* panel) OVERRIDE; panel 48 chrome/browser/ui/panels/stacked_panel_collection.h virtual void RestorePanel(Panel* panel) OVERRIDE; panel 49 chrome/browser/ui/panels/stacked_panel_collection.h virtual void OnMinimizeButtonClicked(Panel* panel, panel 50 chrome/browser/ui/panels/stacked_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 51 chrome/browser/ui/panels/stacked_panel_collection.h virtual void OnRestoreButtonClicked(Panel* panel, panel 52 chrome/browser/ui/panels/stacked_panel_collection.h panel::ClickModifier modifier) OVERRIDE; panel 53 chrome/browser/ui/panels/stacked_panel_collection.h virtual bool CanShowMinimizeButton(const Panel* panel) const OVERRIDE; panel 54 chrome/browser/ui/panels/stacked_panel_collection.h virtual bool CanShowRestoreButton(const Panel* panel) const OVERRIDE; panel 55 chrome/browser/ui/panels/stacked_panel_collection.h virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE; panel 57 chrome/browser/ui/panels/stacked_panel_collection.h virtual void SavePanelPlacement(Panel* panel) OVERRIDE; panel 60 chrome/browser/ui/panels/stacked_panel_collection.h virtual void UpdatePanelOnCollectionChange(Panel* panel) OVERRIDE; panel 61 chrome/browser/ui/panels/stacked_panel_collection.h virtual void OnPanelExpansionStateChanged(Panel* panel) OVERRIDE; panel 62 chrome/browser/ui/panels/stacked_panel_collection.h virtual void OnPanelActiveStateChanged(Panel* panel) OVERRIDE; panel 66 chrome/browser/ui/panels/stacked_panel_collection.h Panel* GetPanelAbove(Panel* panel) const; panel 67 chrome/browser/ui/panels/stacked_panel_collection.h Panel* GetPanelBelow(Panel* panel) const; panel 68 chrome/browser/ui/panels/stacked_panel_collection.h bool HasPanel(Panel* panel) const; panel 73 chrome/browser/ui/panels/stacked_panel_collection.h bool IsAnimatingPanelBounds(Panel* panel) const; panel 94 chrome/browser/ui/panels/stacked_panel_collection.h Panel* panel; panel 103 chrome/browser/ui/panels/stacked_panel_collection.h PanelPlacement() : panel(NULL), top_panel(NULL) { } panel 143 chrome/browser/ui/panels/stacked_panel_collection.h void UpdatePanelCornerStyle(Panel* panel); panel 145 chrome/browser/ui/panels/stacked_panel_collection.h NativePanelStackWindow* GetStackWindowForPanel(Panel* panel) const; panel 15 chrome/browser/ui/panels/stacked_panel_drag_handler.cc void StackedPanelDragHandler::HandleDrag(Panel* panel, panel 18 chrome/browser/ui/panels/stacked_panel_drag_handler.cc DCHECK_EQ(PanelCollection::STACKED, panel->collection()->type()); panel 20 chrome/browser/ui/panels/stacked_panel_drag_handler.cc StackedPanelCollection* stack = panel->stack(); panel 24 chrome/browser/ui/panels/stacked_panel_drag_handler.cc if (in_orginal_collection && panel != stack->top_panel()) panel 38 chrome/browser/ui/panels/stacked_panel_drag_handler.cc gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin(); panel 51 chrome/browser/ui/panels/stacked_panel_drag_handler.cc void StackedPanelDragHandler::FinalizeDrag(Panel* panel) { panel 52 chrome/browser/ui/panels/stacked_panel_drag_handler.cc DCHECK_EQ(PanelCollection::STACKED, panel->collection()->type()); panel 54 chrome/browser/ui/panels/stacked_panel_drag_handler.cc StackedPanelCollection* stack = panel->stack(); panel 59 chrome/browser/ui/panels/stacked_panel_drag_handler.cc if (stack->top_panel() != panel) panel 69 chrome/browser/ui/panels/stacked_panel_drag_handler.cc Panel* panel = *iter; panel 70 chrome/browser/ui/panels/stacked_panel_drag_handler.cc if (!panel->in_preview_mode()) { panel 71 chrome/browser/ui/panels/stacked_panel_drag_handler.cc first_non_dragging_panel = panel; panel 79 chrome/browser/ui/panels/stacked_panel_drag_handler.cc first_non_dragging_panel->GetBounds().x() - panel->GetBounds().x(), panel 18 chrome/browser/ui/panels/stacked_panel_drag_handler.h static void HandleDrag(Panel* panel, panel 22 chrome/browser/ui/panels/stacked_panel_drag_handler.h static void FinalizeDrag(Panel* panel); panel 12 chrome/browser/ui/panels/test_panel_active_state_observer.cc Panel* panel, panel 16 chrome/browser/ui/panels/test_panel_active_state_observer.cc content::Source<Panel>(panel)), panel 17 chrome/browser/ui/panels/test_panel_active_state_observer.cc panel_(panel), panel 19 chrome/browser/ui/panels/test_panel_active_state_observer.h PanelActiveStateObserver(Panel* panel, bool expect_active); panel 23 chrome/browser/ui/panels/test_panel_collection_squeeze_observer.cc bool PanelCollectionSqueezeObserver::IsSqueezed(Panel* panel) { panel 24 chrome/browser/ui/panels/test_panel_collection_squeeze_observer.cc return panel->GetBounds().width() < panel->GetRestoredBounds().width(); panel 30 chrome/browser/ui/panels/test_panel_collection_squeeze_observer.h bool IsSqueezed(Panel* panel); panel 70 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetTopLeftCornerImage(panel::CornerStyle corner_style) { panel 78 chrome/browser/ui/views/panels/panel_frame_view.cc return (corner_style & panel::TOP_ROUNDED) ? *rounded_image panel 82 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetTopRightCornerImage(panel::CornerStyle corner_style) { panel 90 chrome/browser/ui/views/panels/panel_frame_view.cc return (corner_style & panel::TOP_ROUNDED) ? *rounded_image panel 95 chrome/browser/ui/views/panels/panel_frame_view.cc panel::CornerStyle corner_style) { panel 103 chrome/browser/ui/views/panels/panel_frame_view.cc return (corner_style & panel::BOTTOM_ROUNDED) ? *rounded_image panel 108 chrome/browser/ui/views/panels/panel_frame_view.cc panel::CornerStyle corner_style) { panel 116 chrome/browser/ui/views/panels/panel_frame_view.cc return (corner_style & panel::BOTTOM_ROUNDED) ? *rounded_image panel 188 chrome/browser/ui/views/panels/panel_frame_view.cc panel::Resizability resizability) { panel 194 chrome/browser/ui/views/panels/panel_frame_view.cc if (y < resize_area_size && (resizability & panel::RESIZABLE_TOP_LEFT)) { panel 197 chrome/browser/ui/views/panels/panel_frame_view.cc (resizability & panel::RESIZABLE_BOTTOM_LEFT)) { panel 199 chrome/browser/ui/views/panels/panel_frame_view.cc } else if (resizability & panel::RESIZABLE_LEFT) { panel 203 chrome/browser/ui/views/panels/panel_frame_view.cc if (y < resize_area_size && (resizability & panel::RESIZABLE_TOP_RIGHT)) { panel 206 chrome/browser/ui/views/panels/panel_frame_view.cc (resizability & panel::RESIZABLE_BOTTOM_RIGHT)) { panel 208 chrome/browser/ui/views/panels/panel_frame_view.cc } else if (resizability & panel::RESIZABLE_RIGHT) { panel 213 chrome/browser/ui/views/panels/panel_frame_view.cc if (y < resize_area_size && (resizability & panel::RESIZABLE_TOP)) { panel 216 chrome/browser/ui/views/panels/panel_frame_view.cc (resizability & panel::RESIZABLE_BOTTOM)) { panel 253 chrome/browser/ui/views/panels/panel_frame_view.cc corner_style_(panel::ALL_ROUNDED) { panel 309 chrome/browser/ui/views/panels/panel_frame_view.cc panel_view_->panel()->GetWindowTitle(), panel 341 chrome/browser/ui/views/panels/panel_frame_view.cc Panel* panel = panel_view_->panel(); panel 342 chrome/browser/ui/views/panels/panel_frame_view.cc minimize_button_->SetVisible(panel->CanShowMinimizeButton()); panel 343 chrome/browser/ui/views/panels/panel_frame_view.cc restore_button_->SetVisible(panel->CanShowRestoreButton()); panel 351 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::SetWindowCornerStyle(panel::CornerStyle corner_style) { panel 415 chrome/browser/ui/views/panels/panel_frame_view.cc panel::Resizability resizability = panel_view_->panel()->CanResizeByMouse(); panel 450 chrome/browser/ui/views/panels/panel_frame_view.cc if (corner_style_ & panel::TOP_ROUNDED) { panel 466 chrome/browser/ui/views/panels/panel_frame_view.cc if (corner_style_ & panel::BOTTOM_ROUNDED) { panel 494 chrome/browser/ui/views/panels/panel_frame_view.cc title_label_->SetText(panel_view_->panel()->GetWindowTitle()); panel 523 chrome/browser/ui/views/panels/panel_frame_view.cc width() - panel::kTitlebarRightPadding - panel::kPanelButtonSize, panel 524 chrome/browser/ui/views/panels/panel_frame_view.cc (TitlebarHeight() - panel::kPanelButtonSize) / 2 + panel 526 chrome/browser/ui/views/panels/panel_frame_view.cc panel::kPanelButtonSize, panel 527 chrome/browser/ui/views/panels/panel_frame_view.cc panel::kPanelButtonSize); panel 533 chrome/browser/ui/views/panels/panel_frame_view.cc right - panel::kButtonPadding - panel::kPanelButtonSize, panel 534 chrome/browser/ui/views/panels/panel_frame_view.cc (TitlebarHeight() - panel::kPanelButtonSize) / 2 + panel 536 chrome/browser/ui/views/panels/panel_frame_view.cc panel::kPanelButtonSize, panel 537 chrome/browser/ui/views/panels/panel_frame_view.cc panel::kPanelButtonSize); panel 544 chrome/browser/ui/views/panels/panel_frame_view.cc panel::kTitlebarLeftPadding, panel 550 chrome/browser/ui/views/panels/panel_frame_view.cc int title_x = title_icon_->bounds().right() + panel::kIconAndTitlePadding; panel 555 chrome/browser/ui/views/panels/panel_frame_view.cc std::max(0, right - panel::kTitleAndButtonPadding - title_x), panel 602 chrome/browser/ui/views/panels/panel_frame_view.cc event.IsControlDown() ? panel::APPLY_TO_ALL : panel::NO_MODIFIER)) panel 618 chrome/browser/ui/views/panels/panel_frame_view.cc panel::ClickModifier modifier = panel 619 chrome/browser/ui/views/panels/panel_frame_view.cc event.IsControlDown() ? panel::APPLY_TO_ALL : panel::NO_MODIFIER; panel 621 chrome/browser/ui/views/panels/panel_frame_view.cc panel_view_->panel()->OnMinimizeButtonClicked(modifier); panel 623 chrome/browser/ui/views/panels/panel_frame_view.cc panel_view_->panel()->OnRestoreButtonClicked(modifier); panel 631 chrome/browser/ui/views/panels/panel_frame_view.cc content::WebContents* contents = panel_view_->panel()->GetWebContents(); panel 650 chrome/browser/ui/views/panels/panel_frame_view.cc return panel::kTitlebarHeight; panel 658 chrome/browser/ui/views/panels/panel_frame_view.cc if (panel_view_->panel()->IsDrawingAttention()) panel 660 chrome/browser/ui/views/panels/panel_frame_view.cc if (bounds().height() <= panel::kMinimizedPanelHeight) panel 40 chrome/browser/ui/views/panels/panel_frame_view.h void SetWindowCornerStyle(panel::CornerStyle corner_style); panel 55 chrome/browser/ui/views/panels/panel_frame_view.h panel::CornerStyle corner_style() const { return corner_style_; } panel 112 chrome/browser/ui/views/panels/panel_frame_view.h panel::CornerStyle corner_style_; panel 147 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::AddPanel(Panel* panel) { panel 148 chrome/browser/ui/views/panels/panel_stack_view.cc panels_.push_back(panel); panel 151 chrome/browser/ui/views/panels/panel_stack_view.cc MakeStackWindowOwnPanelWindow(panel, this); panel 158 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::RemovePanel(Panel* panel) { panel 161 chrome/browser/ui/views/panels/panel_stack_view.cc bounds_updates_.erase(panel); panel 167 chrome/browser/ui/views/panels/panel_stack_view.cc panels_.remove(panel); panel 169 chrome/browser/ui/views/panels/panel_stack_view.cc MakeStackWindowOwnPanelWindow(panel, NULL); panel 178 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel = *iter; panel 179 chrome/browser/ui/views/panels/panel_stack_view.cc panels_.push_back(panel); panel 180 chrome/browser/ui/views/panels/panel_stack_view.cc MakeStackWindowOwnPanelWindow(panel, this); panel 191 chrome/browser/ui/views/panels/panel_stack_view.cc bool PanelStackView::HasPanel(Panel* panel) const { panel 192 chrome/browser/ui/views/panels/panel_stack_view.cc return std::find(panels_.begin(), panels_.end(), panel) != panels_.end(); panel 199 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel = *iter; panel 200 chrome/browser/ui/views/panels/panel_stack_view.cc AddPanelBoundsForBatchUpdate(panel, panel->GetBounds() + delta); panel 215 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::AddPanelBoundsForBatchUpdate(Panel* panel, panel 220 chrome/browser/ui/views/panels/panel_stack_view.cc if (panel->GetBounds() == new_bounds) panel 224 chrome/browser/ui/views/panels/panel_stack_view.cc bounds_updates_[panel] = panel->GetBounds(); panel 228 chrome/browser/ui/views/panels/panel_stack_view.cc static_cast<PanelView*>(panel->native_panel())->set_cached_bounds_directly( panel 300 chrome/browser/ui/views/panels/panel_stack_view.cc fwi.uCount = panel::kNumberOfTimesToFlashPanelForAttention; panel 338 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::OnPanelActivated(Panel* panel) { panel 395 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel = iter->first; panel 396 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Rect target_bounds = panel->GetBounds(); panel 405 chrome/browser/ui/views/panels/panel_stack_view.cc PanelView* panel_view = static_cast<PanelView*>(panel->native_panel()); panel 421 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel = *iter; panel 422 chrome/browser/ui/views/panels/panel_stack_view.cc if (bounds_updates_.find(panel) == bounds_updates_.end()) panel 423 chrome/browser/ui/views/panels/panel_stack_view.cc enclosing_bounds = UnionRects(enclosing_bounds, panel->GetBounds()); panel 442 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel = *iter; panel 443 chrome/browser/ui/views/panels/panel_stack_view.cc enclosing_bounds = UnionRects(enclosing_bounds, panel->GetBounds()); panel 460 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel, PanelStackView* stack_window) { panel 464 chrome/browser/ui/views/panels/panel_stack_view.cc static_cast<PanelView*>(panel->native_panel())->window(); panel 505 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel = panels_.front(); panel 508 chrome/browser/ui/views/panels/panel_stack_view.cc base::UTF8ToWide(panel->app_name()), panel->profile()->GetPath()), panel 562 chrome/browser/ui/views/panels/panel_stack_view.cc Panel* panel = *iter; panel 565 chrome/browser/ui/views/panels/panel_stack_view.cc static_cast<PanelView*>(panel->native_panel())->window())); panel 46 chrome/browser/ui/views/panels/panel_stack_view.h virtual void AddPanel(Panel* panel) OVERRIDE; panel 47 chrome/browser/ui/views/panels/panel_stack_view.h virtual void RemovePanel(Panel* panel) OVERRIDE; panel 50 chrome/browser/ui/views/panels/panel_stack_view.h virtual bool HasPanel(Panel* panel) const OVERRIDE; panel 54 chrome/browser/ui/views/panels/panel_stack_view.h Panel* panel, const gfx::Rect& new_bounds) OVERRIDE; panel 60 chrome/browser/ui/views/panels/panel_stack_view.h virtual void OnPanelActivated(Panel* panel) OVERRIDE; panel 93 chrome/browser/ui/views/panels/panel_stack_view.h static void MakeStackWindowOwnPanelWindow(Panel* panel, panel 46 chrome/browser/ui/views/panels/panel_view.cc panel::kTitlebarHeight + 20; panel 99 chrome/browser/ui/views/panels/panel_view.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE; panel 101 chrome/browser/ui/views/panels/panel_view.cc panel::ClickModifier modifier) OVERRIDE; panel 113 chrome/browser/ui/views/panels/panel_view.cc panel::TitlebarButtonType button_type) const OVERRIDE; panel 114 chrome/browser/ui/views/panels/panel_view.cc virtual panel::CornerStyle GetWindowCornerStyle() const OVERRIDE; panel 125 chrome/browser/ui/views/panels/panel_view.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) { panel 130 chrome/browser/ui/views/panels/panel_view.cc panel::ClickModifier modifier) { panel 143 chrome/browser/ui/views/panels/panel_view.cc panel_view_->OnTitlebarMouseReleased(panel::NO_MODIFIER); panel 171 chrome/browser/ui/views/panels/panel_view.cc bitmap->width() == panel::kPanelAppIconSize && panel 172 chrome/browser/ui/views/panels/panel_view.cc bitmap->height() == panel::kPanelAppIconSize; panel 220 chrome/browser/ui/views/panels/panel_view.cc panel::TitlebarButtonType button_type) const { panel 224 chrome/browser/ui/views/panels/panel_view.cc case panel::CLOSE_BUTTON: panel 226 chrome/browser/ui/views/panels/panel_view.cc case panel::MINIMIZE_BUTTON: panel 228 chrome/browser/ui/views/panels/panel_view.cc case panel::RESTORE_BUTTON: panel 236 chrome/browser/ui/views/panels/panel_view.cc panel::CornerStyle NativePanelTestingWin::GetWindowCornerStyle() const { panel 248 chrome/browser/ui/views/panels/panel_view.cc NativePanel* Panel::CreateNativePanel(Panel* panel, panel 251 chrome/browser/ui/views/panels/panel_view.cc return new PanelView(panel, bounds, always_on_top); panel 258 chrome/browser/ui/views/panels/panel_view.cc PanelView::PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top) panel 259 chrome/browser/ui/views/panels/panel_view.cc : panel_(panel), panel 307 chrome/browser/ui/views/panels/panel_view.cc base::UTF8ToWide(panel->app_name()), panel->profile()->GetPath()), panel 550 chrome/browser/ui/views/panels/panel_view.cc fwi.uCount = panel::kNumberOfTimesToFlashPanelForAttention; panel 624 chrome/browser/ui/views/panels/panel_view.cc void PanelView::SetWindowCornerStyle(panel::CornerStyle corner_style) { panel 687 chrome/browser/ui/views/panels/panel_view.cc return panel::kTitlebarHeight; panel 911 chrome/browser/ui/views/panels/panel_view.cc gfx::Size(panel::kPanelMinWidth, panel::kPanelMinHeight); panel 925 chrome/browser/ui/views/panels/panel_view.cc panel_->GetBounds().y() - panel::kTitlebarHeight); panel 994 chrome/browser/ui/views/panels/panel_view.cc panel()->OnActiveStateChanged(focused); panel 1007 chrome/browser/ui/views/panels/panel_view.cc panel()->collection()->OnPanelResizedByMouse(panel(), new_bounds); panel 1043 chrome/browser/ui/views/panels/panel_view.cc bool PanelView::OnTitlebarMouseReleased(panel::ClickModifier modifier) { panel 39 chrome/browser/ui/views/panels/panel_view.h PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top); panel 68 chrome/browser/ui/views/panels/panel_view.h virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; panel 93 chrome/browser/ui/views/panels/panel_view.h bool OnTitlebarMouseReleased(panel::ClickModifier modifier); panel 105 chrome/browser/ui/views/panels/panel_view.h Panel* panel() const { return panel_.get(); } panel 30 chrome/browser/ui/views/panels/panel_view_browsertest.cc PanelView* GetPanelView(Panel* panel) const { panel 31 chrome/browser/ui/views/panels/panel_view_browsertest.cc return static_cast<PanelView*>(panel->native_panel()); panel 37 chrome/browser/ui/views/panels/panel_view_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 38 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_TRUE(panel->IsActive()); panel 43 chrome/browser/ui/views/panels/panel_view_browsertest.cc HWND native_window = views::HWNDForWidget(GetPanelView(panel)->window()); panel 60 chrome/browser/ui/views/panels/panel_view_browsertest.cc panel->Close(); panel 65 chrome/browser/ui/views/panels/panel_view_browsertest.cc Panel* panel = CreatePanelWithParams(params); panel 66 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_FALSE(panel->IsActive()); panel 71 chrome/browser/ui/views/panels/panel_view_browsertest.cc HWND native_window = views::HWNDForWidget(GetPanelView(panel)->window()); panel 88 chrome/browser/ui/views/panels/panel_view_browsertest.cc panel->Close(); panel 94 chrome/browser/ui/views/panels/panel_view_browsertest.cc Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 200, 50)); panel 95 chrome/browser/ui/views/panels/panel_view_browsertest.cc PanelFrameView* frame_view = GetPanelView(panel)->GetFrameView(); panel 120 chrome/browser/ui/views/panels/panel_view_browsertest.cc int titlebar_height = panel::kTitlebarHeight; panel 140 chrome/browser/ui/views/panels/panel_view_browsertest.cc Panel* panel = CreatePanelWithBounds("PanelTest", bounds); panel 143 chrome/browser/ui/views/panels/panel_view_browsertest.cc panel->SetExpansionState(Panel::TITLE_ONLY); panel 144 chrome/browser/ui/views/panels/panel_view_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 145 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_EQ(panel->TitleOnlyHeight(), panel->GetBounds().height()); panel 146 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_EQ(0, GetPanelView(panel)->height()); // client area height. panel 148 chrome/browser/ui/views/panels/panel_view_browsertest.cc panel->Close(); panel 153 chrome/browser/ui/views/panels/panel_view_browsertest.cc Panel* panel = CreatePanelWithBounds("PanelTest", bounds); panel 156 chrome/browser/ui/views/panels/panel_view_browsertest.cc panel->SetExpansionState(Panel::MINIMIZED); panel 157 chrome/browser/ui/views/panels/panel_view_browsertest.cc WaitForBoundsAnimationFinished(panel); panel 158 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_EQ(panel::kMinimizedPanelHeight, panel->GetBounds().height()); panel 159 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_EQ(0, GetPanelView(panel)->height()); // client area height. panel 161 chrome/browser/ui/views/panels/panel_view_browsertest.cc panel->Close();