Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: views/controls/menu/native_menu_host.h

Issue 8536004: Cleanup: Remove unneeded forward declarations in views. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/controls/menu/menu_item_view.h ('k') | views/controls/menu/native_menu_host_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_H_ 5 #ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_H_
6 #define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_H_ 6 #define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 namespace gfx { 10 namespace views {
11 class Rect;
12 }
13 11
14 namespace views {
15 class NativeWidget; 12 class NativeWidget;
13
16 namespace internal { 14 namespace internal {
17 class NativeMenuHostDelegate; 15 class NativeMenuHostDelegate;
18 } 16 }
19 17
20 class NativeMenuHost { 18 class NativeMenuHost {
21 public: 19 public:
22 virtual ~NativeMenuHost() {} 20 virtual ~NativeMenuHost() {}
23 21
24 static NativeMenuHost* CreateNativeMenuHost( 22 static NativeMenuHost* CreateNativeMenuHost(
25 internal::NativeMenuHostDelegate* delegate); 23 internal::NativeMenuHostDelegate* delegate);
26 24
27 // Starts capturing input events. 25 // Starts capturing input events.
28 virtual void StartCapturing() = 0; 26 virtual void StartCapturing() = 0;
29 27
30 virtual NativeWidget* AsNativeWidget() = 0; 28 virtual NativeWidget* AsNativeWidget() = 0;
31 }; 29 };
32 30
33 } // namespace views 31 } // namespace views
34 32
35 #endif // VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_H_ 33 #endif // VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_item_view.h ('k') | views/controls/menu/native_menu_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698