| 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/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/ui/view_ids.h" | 10 #include "chrome/browser/ui/view_ids.h" |
| 11 #include "chrome/browser/ui/views/frame/browser_frame.h" | 11 #include "chrome/browser/ui/views/frame/browser_frame.h" |
| 12 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 12 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
| 13 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegat
e.h" | 13 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegat
e.h" |
| 14 #include "chrome/browser/ui/views/tab_icon_view_model.h" | 14 #include "chrome/browser/ui/views/tab_icon_view_model.h" |
| 15 #include "ui/views/controls/button/button.h" | 15 #include "ui/views/controls/button/button.h" |
| 16 #include "ui/views/controls/button/menu_button_listener.h" | 16 #include "ui/views/controls/button/menu_button_listener.h" |
| 17 #include "ui/views/window/non_client_view.h" | 17 #include "ui/views/window/non_client_view.h" |
| 18 | 18 |
| 19 class BrowserView; | 19 class BrowserView; |
| 20 class OpaqueBrowserFrameViewLayout; | 20 class OpaqueBrowserFrameViewLayout; |
| 21 class OpaqueBrowserFrameViewPlatformSpecific; | 21 class OpaqueBrowserFrameViewPlatformSpecific; |
| 22 class TabIconView; | 22 class TabIconView; |
| 23 class NewAvatarButton; | |
| 24 | 23 |
| 25 namespace views { | 24 namespace views { |
| 26 class ImageButton; | 25 class ImageButton; |
| 27 class FrameBackground; | 26 class FrameBackground; |
| 28 class Label; | 27 class Label; |
| 29 } | 28 } |
| 30 | 29 |
| 31 class OpaqueBrowserFrameView : public BrowserNonClientFrameView, | 30 class OpaqueBrowserFrameView : public BrowserNonClientFrameView, |
| 32 public views::ButtonListener, | 31 public views::ButtonListener, |
| 33 public views::MenuButtonListener, | 32 public views::MenuButtonListener, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // Background painter for the window frame. | 161 // Background painter for the window frame. |
| 163 scoped_ptr<views::FrameBackground> frame_background_; | 162 scoped_ptr<views::FrameBackground> frame_background_; |
| 164 | 163 |
| 165 // Observer that handles platform dependent configuration. | 164 // Observer that handles platform dependent configuration. |
| 166 scoped_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; | 165 scoped_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; |
| 167 | 166 |
| 168 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); | 167 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); |
| 169 }; | 168 }; |
| 170 | 169 |
| 171 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 170 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |