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

Side by Side Diff: views/controls/menu/native_menu_host_delegate.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
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_DELEGATE_H_ 5 #ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_
6 #define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_ 6 #define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_
7 7
8 namespace views { 8 namespace views {
9
9 class MenuHost; 10 class MenuHost;
10 class RootView; 11
11 namespace internal { 12 namespace internal {
13
12 class NativeWidgetDelegate; 14 class NativeWidgetDelegate;
13 15
14 class NativeMenuHostDelegate { 16 class NativeMenuHostDelegate {
15 public: 17 public:
16 virtual ~NativeMenuHostDelegate() {} 18 virtual ~NativeMenuHostDelegate() {}
17 19
18 // Called when the NativeMenuHost is being destroyed. 20 // Called when the NativeMenuHost is being destroyed.
19 virtual void OnNativeMenuHostDestroy() = 0; 21 virtual void OnNativeMenuHostDestroy() = 0;
20 22
21 // Called when the NativeMenuHost is losing input capture. 23 // Called when the NativeMenuHost is losing input capture.
22 virtual void OnNativeMenuHostCancelCapture() = 0; 24 virtual void OnNativeMenuHostCancelCapture() = 0;
23 25
24 virtual NativeWidgetDelegate* AsNativeWidgetDelegate() = 0; 26 virtual NativeWidgetDelegate* AsNativeWidgetDelegate() = 0;
25 }; 27 };
26 28
27 } // namespace internal 29 } // namespace internal
28 } // namespace views 30 } // namespace views
29 31
30 #endif // VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_ 32 #endif // VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_
31
OLDNEW
« no previous file with comments | « views/controls/menu/native_menu_host.h ('k') | views/controls/scrollbar/native_scroll_bar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698