| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/views/frame/browser_frame.h" | 8 #include "chrome/browser/views/frame/browser_frame.h" |
| 9 #include "chrome/browser/views/tab_icon_view.h" | 9 #include "chrome/browser/views/tab_icon_view.h" |
| 10 #include "views/controls/button/button.h" | 10 #include "views/controls/button/button.h" |
| 11 #include "views/window/non_client_view.h" | 11 #include "views/window/non_client_view.h" |
| 12 | 12 |
| 13 class BrowserView; | 13 class BrowserView; |
| 14 class ChromeFont; | 14 namespace gfx { |
| 15 class Font; |
| 16 } |
| 15 class TabContents; | 17 class TabContents; |
| 16 class TabStrip; | 18 class TabStrip; |
| 17 namespace views { | 19 namespace views { |
| 18 class ImageButton; | 20 class ImageButton; |
| 19 } | 21 } |
| 20 | 22 |
| 21 class OpaqueBrowserFrameView : public BrowserNonClientFrameView, | 23 class OpaqueBrowserFrameView : public BrowserNonClientFrameView, |
| 22 public views::ButtonListener, | 24 public views::ButtonListener, |
| 23 public TabIconView::TabIconViewModel { | 25 public TabIconView::TabIconViewModel { |
| 24 public: | 26 public: |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 145 |
| 144 // The bounds of the ClientView. | 146 // The bounds of the ClientView. |
| 145 gfx::Rect client_view_bounds_; | 147 gfx::Rect client_view_bounds_; |
| 146 | 148 |
| 147 // The accessible name of this view. | 149 // The accessible name of this view. |
| 148 std::wstring accessible_name_; | 150 std::wstring accessible_name_; |
| 149 | 151 |
| 150 static void InitClass(); | 152 static void InitClass(); |
| 151 static void InitAppWindowResources(); | 153 static void InitAppWindowResources(); |
| 152 static SkBitmap* distributor_logo_; | 154 static SkBitmap* distributor_logo_; |
| 153 static ChromeFont* title_font_; | 155 static gfx::Font* title_font_; |
| 154 | 156 |
| 155 DISALLOW_EVIL_CONSTRUCTORS(OpaqueBrowserFrameView); | 157 DISALLOW_EVIL_CONSTRUCTORS(OpaqueBrowserFrameView); |
| 156 }; | 158 }; |
| 157 | 159 |
| 158 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 160 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |