| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |