| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_NON_CLIENT_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "views/window/non_client_view.h" | 10 #include "ui/views/window/non_client_view.h" |
| 11 | 11 |
| 12 class AvatarMenuButton; | 12 class AvatarMenuButton; |
| 13 class BrowserFrame; | 13 class BrowserFrame; |
| 14 class BrowserView; | 14 class BrowserView; |
| 15 | 15 |
| 16 // A specialization of the NonClientFrameView object that provides additional | 16 // A specialization of the NonClientFrameView object that provides additional |
| 17 // Browser-specific methods. | 17 // Browser-specific methods. |
| 18 class BrowserNonClientFrameView : public views::NonClientFrameView { | 18 class BrowserNonClientFrameView : public views::NonClientFrameView { |
| 19 public: | 19 public: |
| 20 BrowserNonClientFrameView(BrowserFrame* frame, BrowserView* browser_view); | 20 BrowserNonClientFrameView(BrowserFrame* frame, BrowserView* browser_view); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 namespace browser { | 56 namespace browser { |
| 57 | 57 |
| 58 // Provided by a browser_non_client_frame_view_factory_*.cc implementation | 58 // Provided by a browser_non_client_frame_view_factory_*.cc implementation |
| 59 BrowserNonClientFrameView* CreateBrowserNonClientFrameView( | 59 BrowserNonClientFrameView* CreateBrowserNonClientFrameView( |
| 60 BrowserFrame* frame, BrowserView* browser_view); | 60 BrowserFrame* frame, BrowserView* browser_view); |
| 61 | 61 |
| 62 } // browser | 62 } // browser |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ | 64 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ |
| OLD | NEW |