| 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 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; | 136 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; |
| 137 virtual void OnBlur() OVERRIDE; | 137 virtual void OnBlur() OVERRIDE; |
| 138 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 138 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
| 139 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 139 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
| 140 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 140 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
| 141 virtual bool ShouldDescendIntoChildForEventHandling( | 141 virtual bool ShouldDescendIntoChildForEventHandling( |
| 142 aura::Window* child, | 142 aura::Window* child, |
| 143 const gfx::Point& location) OVERRIDE; | 143 const gfx::Point& location) OVERRIDE; |
| 144 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 144 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
| 145 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 145 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
| 146 virtual ui::GestureStatus OnGestureEvent( | 146 virtual ui::EventResult OnGestureEvent( |
| 147 ui::GestureEvent* event) OVERRIDE; | 147 ui::GestureEvent* event) OVERRIDE; |
| 148 virtual bool CanFocus() OVERRIDE; | 148 virtual bool CanFocus() OVERRIDE; |
| 149 virtual void OnCaptureLost() OVERRIDE; | 149 virtual void OnCaptureLost() OVERRIDE; |
| 150 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 150 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 151 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 151 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 152 virtual void OnWindowDestroying() OVERRIDE; | 152 virtual void OnWindowDestroying() OVERRIDE; |
| 153 virtual void OnWindowDestroyed() OVERRIDE; | 153 virtual void OnWindowDestroyed() OVERRIDE; |
| 154 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; | 154 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
| 155 virtual bool HasHitTestMask() const OVERRIDE; | 155 virtual bool HasHitTestMask() const OVERRIDE; |
| 156 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 156 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 206 |
| 207 scoped_ptr<DropHelper> drop_helper_; | 207 scoped_ptr<DropHelper> drop_helper_; |
| 208 int last_drop_operation_; | 208 int last_drop_operation_; |
| 209 | 209 |
| 210 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 210 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 } // namespace views | 213 } // namespace views |
| 214 | 214 |
| 215 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 215 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |