/external/chromium_org/chrome/browser/ui/views/frame/ |
D | browser_view_unittest.cc | 28 gfx::Point ExpectedTabStripOrigin(BrowserView* browser_view) { in ExpectedTabStripOrigin() argument 30 browser_view->frame()->GetBoundsForTabStrip(browser_view->tabstrip())); in ExpectedTabStripOrigin() 32 views::View::ConvertPointToTarget(browser_view->parent(), in ExpectedTabStripOrigin() 33 browser_view, in ExpectedTabStripOrigin() 47 EXPECT_TRUE(browser_view()->browser()); in TEST_F() 50 EXPECT_TRUE(browser_view()->IsTabStripVisible()); in TEST_F() 51 EXPECT_FALSE(browser_view()->IsOffTheRecord()); in TEST_F() 52 EXPECT_EQ(IDR_OTR_ICON, browser_view()->GetOTRIconResourceID()); in TEST_F() 53 EXPECT_FALSE(browser_view()->IsGuestSession()); in TEST_F() 54 EXPECT_FALSE(browser_view()->ShouldShowAvatar()); in TEST_F() [all …]
|
D | browser_non_client_frame_view_ash.cc | 76 BrowserFrame* frame, BrowserView* browser_view) in BrowserNonClientFrameViewAsh() argument 77 : BrowserNonClientFrameView(frame, browser_view), in BrowserNonClientFrameViewAsh() 94 if (browser_view()->ShouldShowWindowIcon()) { in Init() 133 if (browser_view()->IsTabStripVisible()) { in GetTopInset() 143 if (browser_view()->IsToolbarVisible()) in GetTopInset() 195 gfx::Rect tabstrip_bounds(browser_view()->tabstrip()->bounds()); in NonClientHitTest() 257 if (browser_view()->ShouldShowWindowTitle()) in OnPaint() 259 if (browser_view()->IsToolbarVisible()) in OnPaint() 267 if (browser_view()->IsTabStripVisible()) { in Layout() 269 browser_view()->tabstrip()->GetPreferredSize().height(); in Layout() [all …]
|
D | immersive_mode_controller_ash_unittest.cc | 40 controller_ = browser_view()->immersive_mode_controller(); in SetUp() 64 browser_view()->GetContentsWebViewForTest()->GetWebContents(); in SetTabFullscreen() 101 TabStrip* tabstrip = browser_view()->tabstrip(); in TEST_F() 102 ToolbarView* toolbar = browser_view()->toolbar(); in TEST_F() 104 browser_view()->GetContentsWebViewForTest(); in TEST_F() 107 ASSERT_FALSE(browser_view()->GetWidget()->IsFullscreen()); in TEST_F() 115 EXPECT_TRUE(browser_view()->GetWidget()->IsFullscreen()); in TEST_F() 143 EXPECT_EQ(0, GetBoundsInWidget(browser_view()->top_container()).y()); in TEST_F() 162 EXPECT_EQ(0, GetBoundsInWidget(browser_view()->top_container()).y()); in TEST_F() 181 EXPECT_FALSE(browser_view()->GetWidget()->IsFullscreen()); in TEST_F() [all …]
|
D | glass_browser_frame_view.cc | 85 BrowserView* browser_view) in GlassBrowserFrameView() argument 86 : BrowserNonClientFrameView(frame, browser_view), in GlassBrowserFrameView() 89 if (browser_view->ShouldShowWindowIcon()) in GlassBrowserFrameView() 92 if (browser_view->IsRegularOrGuestSession() && in GlassBrowserFrameView() 98 if (!browser_view->IsOffTheRecord()) { in GlassBrowserFrameView() 122 int tabstrip_x = browser_view()->ShouldShowAvatar() ? in GetBoundsForTabStrip() 131 if (!browser_view()->ShouldShowAvatar() && frame()->IsMaximized()) in GetBoundsForTabStrip() 133 else if (browser_view()->IsRegularOrGuestSession() && in GetBoundsForTabStrip() 168 gfx::Size min_size(browser_view()->GetMinimumSize()); in GetMinimumSize() 178 if (browser_view()->IsTabStripVisible()) { in GetMinimumSize() [all …]
|
D | browser_non_client_frame_view_factory_aura.cc | 21 BrowserFrame* frame, BrowserView* browser_view) { in CreateBrowserNonClientFrameView() argument 23 if (browser_view->browser()-> in CreateBrowserNonClientFrameView() 26 return new GlassBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView() 27 return new OpaqueBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView() 32 new BrowserNonClientFrameViewAsh(frame, browser_view); in CreateBrowserNonClientFrameView() 36 return new OpaqueBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView()
|
D | opaque_browser_frame_view.cc | 85 BrowserView* browser_view) in OpaqueBrowserFrameView() argument 86 : BrowserNonClientFrameView(frame, browser_view), in OpaqueBrowserFrameView() 125 if (browser_view->ShouldShowWindowIcon()) { in OpaqueBrowserFrameView() 133 window_title_ = new views::Label(browser_view->GetWindowTitle(), in OpaqueBrowserFrameView() 135 window_title_->SetVisible(browser_view->ShouldShowWindowTitle()); in OpaqueBrowserFrameView() 144 if (browser_view->IsRegularOrGuestSession() && in OpaqueBrowserFrameView() 150 if (!browser_view->IsOffTheRecord()) { in OpaqueBrowserFrameView() 174 return browser_view()->IsTabStripVisible() ? in GetTopInset() 307 TabStrip* tabstrip = browser_view()->tabstrip(); in HitTestRect() 308 if (!tabstrip || !browser_view()->IsTabStripVisible()) in HitTestRect() [all …]
|
D | browser_non_client_frame_view_ash_browsertest.cc | 30 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); in IN_PROC_BROWSER_TEST_F() local 31 Widget* widget = browser_view->GetWidget(); in IN_PROC_BROWSER_TEST_F() 59 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); in IN_PROC_BROWSER_TEST_F() local 60 content::WebContents* web_contents = browser_view->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() 61 Widget* widget = browser_view->GetWidget(); in IN_PROC_BROWSER_TEST_F() 80 EXPECT_FALSE(browser_view->immersive_mode_controller()->IsEnabled()); in IN_PROC_BROWSER_TEST_F() 102 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); in IN_PROC_BROWSER_TEST_F() local 103 content::WebContents* web_contents = browser_view->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() 104 Widget* widget = browser_view->GetWidget(); in IN_PROC_BROWSER_TEST_F() 111 browser_view->immersive_mode_controller(); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | native_browser_frame_factory_auralinux.cc | 15 BrowserView* browser_view) { in Create() argument 17 if (ShouldCreateForAshDesktop(browser_view)) in Create() 18 return new BrowserFrameAsh(browser_frame, browser_view); in Create() 20 return new DesktopBrowserFrameAura(browser_frame, browser_view); in Create()
|
D | native_browser_frame_factory_aurawin.cc | 16 BrowserView* browser_view) { in Create() argument 18 if (ShouldCreateForAshDesktop(browser_view)) in Create() 19 return new BrowserFrameAshWin(browser_frame, browser_view); in Create() 21 return new DesktopBrowserFrameAura(browser_frame, browser_view); in Create()
|
D | browser_view_interactive_uitest.cc | 48 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); in IN_PROC_BROWSER_TEST_F() local 49 LocationBarView* location_bar_view = browser_view->GetLocationBarView(); in IN_PROC_BROWSER_TEST_F() 50 FocusManager* focus_manager = browser_view->GetFocusManager(); in IN_PROC_BROWSER_TEST_F() 56 EXPECT_TRUE(browser_view->IsFullscreen()); in IN_PROC_BROWSER_TEST_F()
|
D | browser_desktop_root_window_host_x11.cc | 13 BrowserView* browser_view) in BrowserDesktopRootWindowHostX11() argument 16 browser_view_(browser_view) { in BrowserDesktopRootWindowHostX11() 68 BrowserView* browser_view, in CreateBrowserDesktopRootWindowHost() argument 72 browser_view); in CreateBrowserDesktopRootWindowHost()
|
D | browser_non_client_frame_view_factory_win.cc | 14 BrowserFrame* frame, BrowserView* browser_view) { in CreateBrowserNonClientFrameView() argument 16 return new GlassBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView() 17 return new OpaqueBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView()
|
D | browser_non_client_frame_view_factory_x11.cc | 16 BrowserFrame* frame, BrowserView* browser_view) { in CreateBrowserNonClientFrameView() argument 17 Browser::Type type = browser_view->browser()->type(); in CreateBrowserNonClientFrameView() 22 return new OpaqueBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView()
|
D | immersive_mode_controller_ash_browsertest.cc | 24 BrowserView* browser_view() { return browser_view_; } in browser_view() function in ImmersiveModeControllerAshTest 45 content::WebContents* contents = browser_view()->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() 51 ASSERT_TRUE(browser_view()->IsFullscreen()); in IN_PROC_BROWSER_TEST_F() 72 ASSERT_FALSE(browser_view()->IsFullscreen()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/chromeos/frame/ |
D | browser_frame_chromeos.cc | 13 BrowserFrame* BrowserFrame::Create(BrowserView* browser_view, in Create() argument 16 new chromeos::BrowserFrameChromeos(browser_view, profile); in Create() 24 BrowserView* browser_view, Profile* profile) in BrowserFrameChromeos() argument 25 : BrowserFrameGtk(browser_view, profile) { in BrowserFrameChromeos() 34 if (!browser_view()->IsBrowserTypePopup()) { in InitBrowserFrame() 43 bool is_popup = browser_view()->IsBrowserTypePopup(); in IsMaximized()
|
D | browser_non_client_frame_view_factory_chromeos.cc | 14 BrowserFrame* frame, BrowserView* browser_view) { in CreateBrowserNonClientFrameView() argument 15 if (browser_view->IsBrowserTypePopup()) in CreateBrowserNonClientFrameView() 18 return new chromeos::BrowserFrameViewChromeos(frame, browser_view); in CreateBrowserNonClientFrameView()
|
/external/chromium/chrome/browser/sidebar/ |
D | sidebar_browsertest.cc | 93 EXPECT_GT(browser_view()->GetSidebarWidth(), 0); in ExpandSidebar() 100 EXPECT_EQ(0, browser_view()->GetSidebarWidth()); in CollapseSidebar() 107 EXPECT_EQ(0, browser_view()->GetSidebarWidth()); in HideSidebar() 114 BrowserView* browser_view() const { in browser_view() function in __anon95aae7880111::SidebarTest 151 EXPECT_EQ(0, browser_view()->GetSidebarWidth()); in IN_PROC_BROWSER_TEST_F() 157 EXPECT_GT(browser_view()->GetSidebarWidth(), 0); in IN_PROC_BROWSER_TEST_F() 175 EXPECT_EQ(0, browser_view()->GetSidebarWidth()); in IN_PROC_BROWSER_TEST_F() 181 EXPECT_EQ(0, browser_view()->GetSidebarWidth()); in IN_PROC_BROWSER_TEST_F() 186 EXPECT_GT(browser_view()->GetSidebarWidth(), 0); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/ui/touch/frame/ |
D | touch_browser_frame_view.cc | 48 BrowserView* browser_view) in TouchBrowserFrameView() argument 49 : OpaqueBrowserFrameView(frame, browser_view), in TouchBrowserFrameView() 63 browser_view->browser()->tabstrip_model()->AddObserver(this); in TouchBrowserFrameView() 71 browser_view()->browser()->tabstrip_model()->RemoveObserver(this); in ~TouchBrowserFrameView() 134 Profile* keyboard_profile = browser_view()->browser()->profile(); in InitVirtualKeyboard() 162 browser_view()->set_clip_y(ui::Tween::ValueBetween( in UpdateKeyboardAndLayout() 177 TabContents* contents = browser_view()->browser()->GetSelectedTabContents(); in DecideKeyboardStateForView() 226 Browser* browser = browser_view()->browser(); in Observe() 260 browser_view()->set_clip_y( in AnimationProgressed() 266 browser_view()->set_clip_y(0); in AnimationEnded() [all …]
|
D | browser_non_client_frame_view_factory_touch.cc | 13 BrowserFrame* frame, BrowserView* browser_view) { in CreateBrowserNonClientFrameView() argument 14 if (browser_view->IsBrowserTypePopup()) { in CreateBrowserNonClientFrameView() 19 return new TouchBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView()
|
/external/chromium/chrome/browser/ui/views/frame/ |
D | browser_non_client_frame_view_factory_win.cc | 14 BrowserFrame* frame, BrowserView* browser_view) { in CreateBrowserNonClientFrameView() argument 15 if (browser_view->IsBrowserTypePanel()) in CreateBrowserNonClientFrameView() 16 return new AppPanelBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView() 18 return new OpaqueBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView()
|
D | browser_frame_gtk.cc | 22 BrowserFrame* BrowserFrame::Create(BrowserView* browser_view, in Create() argument 24 BrowserFrameGtk* frame = new BrowserFrameGtk(browser_view, profile); in Create() 36 BrowserFrameGtk::BrowserFrameGtk(BrowserView* browser_view, Profile* profile) in BrowserFrameGtk() argument 37 : BrowserFrame(browser_view), in BrowserFrameGtk() 38 WindowGtk(browser_view), in BrowserFrameGtk() 40 browser_view_(browser_view) { in BrowserFrameGtk()
|
D | browser_non_client_frame_view_factory_gtk.cc | 14 BrowserFrame* frame, BrowserView* browser_view) { in CreateBrowserNonClientFrameView() argument 15 if (browser_view->IsBrowserTypePopup()) in CreateBrowserNonClientFrameView() 18 return new OpaqueBrowserFrameView(frame, browser_view); in CreateBrowserNonClientFrameView()
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | zoom_bubble_view_browsertest.cc | 26 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); in IN_PROC_BROWSER_TEST_F() local 27 content::WebContents* web_contents = browser_view->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() 46 ASSERT_FALSE(browser_view->immersive_mode_controller()->IsEnabled()); in IN_PROC_BROWSER_TEST_F() 70 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window()); in IN_PROC_BROWSER_TEST_F() local 71 content::WebContents* web_contents = browser_view->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() 74 browser_view->immersive_mode_controller(); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | native_focus_tracker_views_aura.cc | 14 BrowserView* browser_view = in GetBrowserForNativeView() local 16 if (browser_view) in GetBrowserForNativeView() 17 return browser_view->browser(); in GetBrowserForNativeView()
|
D | native_focus_tracker_views_win.cc | 13 BrowserView* browser_view = in GetBrowserForNativeView() local 15 return browser_view ? browser_view->browser() : NULL; in GetBrowserForNativeView()
|