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

Side by Side Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.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 (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_OPAQUE_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/view_ids.h" 9 #include "chrome/browser/ui/view_ids.h"
10 #include "chrome/browser/ui/views/frame/browser_frame.h" 10 #include "chrome/browser/ui/views/frame/browser_frame.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual gfx::Size GetBrowserViewMinimumSize() const OVERRIDE; 88 virtual gfx::Size GetBrowserViewMinimumSize() const OVERRIDE;
89 virtual bool ShouldShowCaptionButtons() const OVERRIDE; 89 virtual bool ShouldShowCaptionButtons() const OVERRIDE;
90 virtual bool ShouldShowAvatar() const OVERRIDE; 90 virtual bool ShouldShowAvatar() const OVERRIDE;
91 virtual bool IsRegularOrGuestSession() const OVERRIDE; 91 virtual bool IsRegularOrGuestSession() const OVERRIDE;
92 virtual gfx::ImageSkia GetOTRAvatarIcon() const OVERRIDE; 92 virtual gfx::ImageSkia GetOTRAvatarIcon() const OVERRIDE;
93 virtual bool IsMaximized() const OVERRIDE; 93 virtual bool IsMaximized() const OVERRIDE;
94 virtual bool IsMinimized() const OVERRIDE; 94 virtual bool IsMinimized() const OVERRIDE;
95 virtual bool IsFullscreen() const OVERRIDE; 95 virtual bool IsFullscreen() const OVERRIDE;
96 virtual bool IsTabStripVisible() const OVERRIDE; 96 virtual bool IsTabStripVisible() const OVERRIDE;
97 virtual int GetTabStripHeight() const OVERRIDE; 97 virtual int GetTabStripHeight() const OVERRIDE;
98 virtual int GetAdditionalReservedSpaceInTabStrip() const OVERRIDE;
99 virtual gfx::Size GetTabstripPreferredSize() const OVERRIDE; 98 virtual gfx::Size GetTabstripPreferredSize() const OVERRIDE;
100 99
101 protected: 100 protected:
102 views::ImageButton* minimize_button() const { return minimize_button_; } 101 views::ImageButton* minimize_button() const { return minimize_button_; }
103 views::ImageButton* maximize_button() const { return maximize_button_; } 102 views::ImageButton* maximize_button() const { return maximize_button_; }
104 views::ImageButton* restore_button() const { return restore_button_; } 103 views::ImageButton* restore_button() const { return restore_button_; }
105 views::ImageButton* close_button() const { return close_button_; } 104 views::ImageButton* close_button() const { return close_button_; }
106 105
107 // Overridden from views::View: 106 // Overridden from views::View:
108 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 107 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Background painter for the window frame. 171 // Background painter for the window frame.
173 scoped_ptr<views::FrameBackground> frame_background_; 172 scoped_ptr<views::FrameBackground> frame_background_;
174 173
175 // Observer that handles platform dependent configuration. 174 // Observer that handles platform dependent configuration.
176 scoped_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; 175 scoped_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_;
177 176
178 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); 177 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView);
179 }; 178 };
180 179
181 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 180 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698