| 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_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 "ui/views/window/non_client_view.h" | 10 #include "ui/views/window/non_client_view.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 BrowserFrame* frame_; | 51 BrowserFrame* frame_; |
| 52 | 52 |
| 53 // The BrowserView hosted within this View. | 53 // The BrowserView hosted within this View. |
| 54 BrowserView* browser_view_; | 54 BrowserView* browser_view_; |
| 55 | 55 |
| 56 // Menu button that displays that either the incognito icon or the profile | 56 // Menu button that displays that either the incognito icon or the profile |
| 57 // icon. May be NULL for some frame styles. | 57 // icon. May be NULL for some frame styles. |
| 58 scoped_ptr<AvatarMenuButton> avatar_button_; | 58 scoped_ptr<AvatarMenuButton> avatar_button_; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 namespace browser { | 61 namespace chrome { |
| 62 | 62 |
| 63 // Provided by a browser_non_client_frame_view_factory_*.cc implementation | 63 // Provided by a browser_non_client_frame_view_factory_*.cc implementation |
| 64 BrowserNonClientFrameView* CreateBrowserNonClientFrameView( | 64 BrowserNonClientFrameView* CreateBrowserNonClientFrameView( |
| 65 BrowserFrame* frame, BrowserView* browser_view); | 65 BrowserFrame* frame, BrowserView* browser_view); |
| 66 | 66 |
| 67 } // browser | 67 } // namespace chrome |
| 68 | 68 |
| 69 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ | 69 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ |
| OLD | NEW |