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

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

Issue 272543003: Remove unused code for the metro window switcher button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual gfx::ImageSkia GetOTRAvatarIcon() const = 0; 47 virtual gfx::ImageSkia GetOTRAvatarIcon() const = 0;
48 48
49 // Controls window state. 49 // Controls window state.
50 virtual bool IsMaximized() const = 0; 50 virtual bool IsMaximized() const = 0;
51 virtual bool IsMinimized() const = 0; 51 virtual bool IsMinimized() const = 0;
52 virtual bool IsFullscreen() const = 0; 52 virtual bool IsFullscreen() const = 0;
53 53
54 virtual bool IsTabStripVisible() const = 0; 54 virtual bool IsTabStripVisible() const = 0;
55 virtual int GetTabStripHeight() const = 0; 55 virtual int GetTabStripHeight() const = 0;
56 56
57 // Various platforms need to be able to add more space to the
58 // tabstrip. Windows 8 metro mode uses this to account for the window
59 // switcher button.
60 virtual int GetAdditionalReservedSpaceInTabStrip() const = 0;
61
62 // Returns the tabstrips preferred size so the frame layout can work around 57 // Returns the tabstrips preferred size so the frame layout can work around
63 // it. 58 // it.
64 virtual gfx::Size GetTabstripPreferredSize() const = 0; 59 virtual gfx::Size GetTabstripPreferredSize() const = 0;
65 60
66 protected: 61 protected:
67 virtual ~OpaqueBrowserFrameViewLayoutDelegate() {} 62 virtual ~OpaqueBrowserFrameViewLayoutDelegate() {}
68 }; 63 };
69 64
70 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGA TE_H_ 65 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_DELEGA TE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698