Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: chrome/browser/ui/views/frame/browser_view_layout_delegate.h

Issue 1412833008: Draw the same portion of the frame background behind the tabstrip in maximized (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@match_frame_alignment
Patch Set: Add comment Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_DELEGATE_H_
7 7
8 class ExclusiveAccessBubbleViews; 8 class ExclusiveAccessBubbleViews;
9 9
10 namespace gfx { 10 namespace gfx {
11 class Rect; 11 class Rect;
12 } 12 }
13 namespace views { 13 namespace views {
14 class View; 14 class View;
15 } 15 }
16 16
17 // Delegate class to allow BrowserViewLayout to be decoupled from BrowserView 17 // Delegate class to allow BrowserViewLayout to be decoupled from BrowserView
18 // for testing. 18 // for testing.
19 class BrowserViewLayoutDelegate { 19 class BrowserViewLayoutDelegate {
20 public: 20 public:
21 virtual ~BrowserViewLayoutDelegate() {} 21 virtual ~BrowserViewLayoutDelegate() {}
22 22
23 virtual views::View* GetContentsWebView() const = 0; 23 virtual views::View* GetContentsWebView() const = 0;
24 virtual bool IsTabStripVisible() const = 0; 24 virtual bool IsTabStripVisible() const = 0;
25 virtual gfx::Rect GetBoundsForTabStripInBrowserView() const = 0; 25 virtual gfx::Rect GetBoundsForTabStripInBrowserView() const = 0;
26 virtual int GetTopInsetInBrowserView() const = 0; 26 virtual int GetTopInsetInBrowserView(bool restored) const = 0;
27 virtual int GetThemeBackgroundXInset() const = 0; 27 virtual int GetThemeBackgroundXInset() const = 0;
28 virtual bool IsToolbarVisible() const = 0; 28 virtual bool IsToolbarVisible() const = 0;
29 virtual bool IsBookmarkBarVisible() const = 0; 29 virtual bool IsBookmarkBarVisible() const = 0;
30 virtual bool DownloadShelfNeedsLayout() const = 0; 30 virtual bool DownloadShelfNeedsLayout() const = 0;
31 virtual ExclusiveAccessBubbleViews* GetExclusiveAccessBubble() const = 0; 31 virtual ExclusiveAccessBubbleViews* GetExclusiveAccessBubble() const = 0;
32 }; 32 };
33 33
34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_DELEGATE_H_ 34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout.cc ('k') | chrome/browser/ui/views/frame/browser_view_layout_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698