Home
last modified time | relevance | path

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

123

/external/chromium_org/chrome/browser/ui/panels/
Ddocked_panel_browsertest.cc46 EXPECT_EQ(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
47 EXPECT_EQ(panel2->GetBounds().width(), panel2->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
48 EXPECT_EQ(panel3->GetBounds().width(), panel3->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
61 EXPECT_EQ(panel7->GetBounds().width(), panel7->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
65 EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
66 EXPECT_LT(panel2->GetBounds().width(), panel2->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
67 EXPECT_LT(panel3->GetBounds().width(), panel3->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
68 EXPECT_LT(panel4->GetBounds().width(), panel4->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
69 EXPECT_LT(panel5->GetBounds().width(), panel5->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
70 EXPECT_LT(panel6->GetBounds().width(), panel6->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dtest_panel_collection_squeeze_observer.cc24 return panel->GetBounds().width() < panel->GetRestoredBounds().width(); in IsSqueezed()
Dpanel_browsertest.cc450 EXPECT_EQ(previous_bounds.size(), panel->GetRestoredBounds().size()); in IN_PROC_BROWSER_TEST_F()
457 EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); in IN_PROC_BROWSER_TEST_F()
483 EXPECT_EQ(original_bounds.size(), panel->GetRestoredBounds().size()); in IN_PROC_BROWSER_TEST_F()
490 EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); in IN_PROC_BROWSER_TEST_F()
500 EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); in IN_PROC_BROWSER_TEST_F()
543 EXPECT_EQ(panel->GetBounds(), panel->GetRestoredBounds()); in IN_PROC_BROWSER_TEST_F()
548 gfx::Rect restored = panel->GetRestoredBounds(); in IN_PROC_BROWSER_TEST_F()
557 restored = panel->GetRestoredBounds(); in IN_PROC_BROWSER_TEST_F()
566 restored = panel->GetRestoredBounds(); in IN_PROC_BROWSER_TEST_F()
573 EXPECT_EQ(panel->GetBounds(), panel->GetRestoredBounds()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dpanel.h121 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
/external/chromium_org/chrome/browser/prefs/
Dpref_service_browsertest.cc139 gfx::Rect bounds = browser()->window()->GetRestoredBounds(); in IN_PROC_BROWSER_TEST_F()
197 gfx::Rect bounds = browser()->window()->GetRestoredBounds(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/base/
Dbase_window.h45 virtual gfx::Rect GetRestoredBounds() const = 0;
/external/chromium_org/ash/keyboard_overlay/
Dkeyboard_overlay_delegate_unittest.cc52 gfx::Rect bounds = widget->GetRestoredBounds(); in TEST_P()
/external/chromium_org/chrome/browser/extensions/
Dwindow_controller.cc55 bounds = window()->GetRestoredBounds(); in CreateWindowValue()
/external/chromium_org/chrome/test/base/
Dtest_browser_window.cc109 gfx::Rect TestBrowserWindow::GetRestoredBounds() const { in GetRestoredBounds() function in TestBrowserWindow
Dtest_browser_window.h58 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_root_window_host.h93 virtual gfx::Rect GetRestoredBounds() const = 0;
Ddesktop_root_window_host_x11.h95 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
/external/chromium_org/chrome/browser/ui/
Dbrowser_tabrestore.cc123 browser->window()->GetRestoredBounds().size()); in AddRestoredTab()
Dbrowser_commands.cc618 new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), in DuplicateTabAt()
619 browser->window()->GetRestoredBounds().size())); in DuplicateTabAt()
1104 new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), in ViewSource()
1105 browser->window()->GetRestoredBounds().size())); in ViewSource()
/external/chromium_org/ui/views/widget/
Dwidget_unittest.cc858 TEST_F(WidgetTest, GetRestoredBounds) { in TEST_F() argument
861 toplevel->GetRestoredBounds().ToString()); in TEST_F()
866 toplevel->GetRestoredBounds().ToString()); in TEST_F()
867 EXPECT_GT(toplevel->GetRestoredBounds().width(), 0); in TEST_F()
868 EXPECT_GT(toplevel->GetRestoredBounds().height(), 0); in TEST_F()
873 toplevel->GetRestoredBounds().ToString()); in TEST_F()
878 toplevel->GetRestoredBounds().ToString()); in TEST_F()
879 EXPECT_GT(toplevel->GetRestoredBounds().width(), 0); in TEST_F()
880 EXPECT_GT(toplevel->GetRestoredBounds().height(), 0); in TEST_F()
Dnative_widget_private.h171 virtual gfx::Rect GetRestoredBounds() const = 0;
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_cocoa.h52 virtual gfx::Rect GetRestoredBounds() const;
/external/chromium/chrome/browser/ui/panels/
Dpanel.h59 virtual gfx::Rect GetRestoredBounds() const;
Dpanel.cc108 gfx::Rect Panel::GetRestoredBounds() const { in GetRestoredBounds() function in Panel
/external/chromium_org/chrome/browser/ui/gtk/apps/
Dnative_app_window_gtk.h43 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
/external/chromium/chrome/browser/ui/
Dbrowser_window.h127 virtual gfx::Rect GetRestoredBounds() const = 0;
/external/chromium_org/chrome/browser/ui/cocoa/apps/
Dnative_app_window_cocoa.h56 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view_unittest.cc182 virtual gfx::Rect GetRestoredBounds() const OVERRIDE { in GetRestoredBounds() function in BrowserViewIncognitoSwitcherTest::TestBrowserView
/external/chromium_org/chrome/browser/ui/cocoa/
Dbrowser_window_cocoa.h68 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/apps/
Dnative_app_window_views.h106 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;

123