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_FRAME_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.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 "ui/views/context_menu_controller.h" | 13 #include "ui/views/context_menu_controller.h" |
14 #include "ui/views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
15 | 15 |
16 class AvatarMenuButton; | |
17 class BrowserRootView; | 16 class BrowserRootView; |
18 class BrowserView; | 17 class BrowserView; |
19 class NativeBrowserFrame; | 18 class NativeBrowserFrame; |
20 class NonClientFrameView; | 19 class NonClientFrameView; |
21 class SystemMenuModelBuilder; | 20 class SystemMenuModelBuilder; |
22 | 21 |
23 namespace content { | 22 namespace content { |
24 struct NativeWebKeyboardEvent; | 23 struct NativeWebKeyboardEvent; |
25 } | 24 } |
26 | 25 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // Used to show the system menu. Only used if | 151 // Used to show the system menu. Only used if |
153 // NativeBrowserFrame::UsesNativeSystemMenu() returns false. | 152 // NativeBrowserFrame::UsesNativeSystemMenu() returns false. |
154 std::unique_ptr<views::MenuRunner> menu_runner_; | 153 std::unique_ptr<views::MenuRunner> menu_runner_; |
155 | 154 |
156 std::unique_ptr<ui::EventHandler> browser_command_handler_; | 155 std::unique_ptr<ui::EventHandler> browser_command_handler_; |
157 | 156 |
158 DISALLOW_COPY_AND_ASSIGN(BrowserFrame); | 157 DISALLOW_COPY_AND_ASSIGN(BrowserFrame); |
159 }; | 158 }; |
160 | 159 |
161 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_ | 160 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_H_ |
OLD | NEW |