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

Side by Side Diff: views/widget/native_widget_delegate.h

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (Closed) Base URL: svn://svn.chromium.org/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/widget/native_widget_aura.h ('k') | views/widget/native_widget_gtk.cc » ('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_WIDGET_NATIVE_WIDGET_DELEGATE_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_DELEGATE_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_DELEGATE_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/views_export.h" 9 #include "views/views_export.h"
10 #include "ui/base/events.h"
10 11
11 namespace gfx { 12 namespace gfx {
12 class Canvas; 13 class Canvas;
14 class Point;
13 class Size; 15 class Size;
14 } 16 }
15 17
16 #if defined(TOUCH_UI)
17 namespace ui {
18 enum TouchStatus;
19 }
20 #endif
21
22 namespace views { 18 namespace views {
23 class InputMethod; 19 class InputMethod;
20 class KeyEvent;
21 class MouseEvent;
22 class TouchEvent;
24 23
25 namespace internal { 24 namespace internal {
26 25
27 //////////////////////////////////////////////////////////////////////////////// 26 ////////////////////////////////////////////////////////////////////////////////
28 // NativeWidgetDelegate 27 // NativeWidgetDelegate
29 // 28 //
30 // An interface implemented by the object that handles events sent by a 29 // An interface implemented by the object that handles events sent by a
31 // NativeWidget implementation. 30 // NativeWidget implementation.
32 // 31 //
33 class VIEWS_EXPORT NativeWidgetDelegate { 32 class VIEWS_EXPORT NativeWidgetDelegate {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 107
109 // 108 //
110 virtual Widget* AsWidget() = 0; 109 virtual Widget* AsWidget() = 0;
111 virtual const Widget* AsWidget() const = 0; 110 virtual const Widget* AsWidget() const = 0;
112 }; 111 };
113 112
114 } // namespace internal 113 } // namespace internal
115 } // namespace views 114 } // namespace views
116 115
117 #endif // VIEWS_WIDGET_NATIVE_WIDGET_DELEGATE_H_ 116 #endif // VIEWS_WIDGET_NATIVE_WIDGET_DELEGATE_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_aura.h ('k') | views/widget/native_widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698