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

Side by Side Diff: ui/views/widget/native_widget_aura.h

Issue 10831240: Remove TouchEvent interface, and rename TouchEventImpl to TouchEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge-tot Created 8 years, 4 months 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 | « ui/views/events/event_aura.cc ('k') | ui/views/widget/native_widget_aura.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) 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/aura/client/activation_delegate.h" 10 #include "ui/aura/client/activation_delegate.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const gfx::Rect& new_bounds) OVERRIDE; 132 const gfx::Rect& new_bounds) OVERRIDE;
133 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; 133 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE;
134 virtual void OnBlur() OVERRIDE; 134 virtual void OnBlur() OVERRIDE;
135 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 135 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
136 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 136 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
137 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 137 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
138 virtual bool ShouldDescendIntoChildForEventHandling( 138 virtual bool ShouldDescendIntoChildForEventHandling(
139 aura::Window* child, 139 aura::Window* child,
140 const gfx::Point& location) OVERRIDE; 140 const gfx::Point& location) OVERRIDE;
141 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 141 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
142 virtual ui::TouchStatus OnTouchEvent(ui::TouchEventImpl* event) OVERRIDE; 142 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
143 virtual ui::GestureStatus OnGestureEvent( 143 virtual ui::GestureStatus OnGestureEvent(
144 ui::GestureEventImpl* event) OVERRIDE; 144 ui::GestureEventImpl* event) OVERRIDE;
145 virtual bool CanFocus() OVERRIDE; 145 virtual bool CanFocus() OVERRIDE;
146 virtual void OnCaptureLost() OVERRIDE; 146 virtual void OnCaptureLost() OVERRIDE;
147 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 147 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
148 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 148 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
149 virtual void OnWindowDestroying() OVERRIDE; 149 virtual void OnWindowDestroying() OVERRIDE;
150 virtual void OnWindowDestroyed() OVERRIDE; 150 virtual void OnWindowDestroyed() OVERRIDE;
151 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 151 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
152 virtual bool HasHitTestMask() const OVERRIDE; 152 virtual bool HasHitTestMask() const OVERRIDE;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 scoped_ptr<DropHelper> drop_helper_; 204 scoped_ptr<DropHelper> drop_helper_;
205 int last_drop_operation_; 205 int last_drop_operation_;
206 206
207 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 207 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
208 }; 208 };
209 209
210 } // namespace views 210 } // namespace views
211 211
212 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 212 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/events/event_aura.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698