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

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

Issue 2360803002: Remove some pre-MD code from toolbar/tabstrip/frame. (Closed)
Patch Set: pkasting review Created 4 years, 3 months 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_ H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_ H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_ H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGATE_ H_
7 7
8 namespace gfx { 8 namespace gfx {
9 class Size; 9 class Size;
10 } 10 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual bool IsFullscreen() const = 0; 44 virtual bool IsFullscreen() const = 0;
45 45
46 virtual bool IsTabStripVisible() const = 0; 46 virtual bool IsTabStripVisible() const = 0;
47 virtual int GetTabStripHeight() const = 0; 47 virtual int GetTabStripHeight() const = 0;
48 virtual bool IsToolbarVisible() const = 0; 48 virtual bool IsToolbarVisible() const = 0;
49 49
50 // Returns the tabstrips preferred size so the frame layout can work around 50 // Returns the tabstrips preferred size so the frame layout can work around
51 // it. 51 // it.
52 virtual gfx::Size GetTabstripPreferredSize() const = 0; 52 virtual gfx::Size GetTabstripPreferredSize() const = 0;
53 53
54 // Returns the width of the portion of the toolbar's leading-edge rounded
55 // corner that is within the client area. This is only necessary pre-Material
56 // Design.
57 virtual int GetToolbarLeadingCornerClientWidth() const = 0;
58
59 protected: 54 protected:
60 virtual ~OpaqueBrowserFrameViewLayoutDelegate() {} 55 virtual ~OpaqueBrowserFrameViewLayoutDelegate() {}
61 }; 56 };
62 57
63 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGA TE_H_ 58 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGA TE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698