| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 131 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 132 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 132 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 133 const gfx::Rect& new_bounds) OVERRIDE; | 133 const gfx::Rect& new_bounds) OVERRIDE; |
| 134 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; | 134 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; |
| 135 virtual void OnBlur() OVERRIDE; | 135 virtual void OnBlur() OVERRIDE; |
| 136 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 136 virtual bool OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
| 137 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 137 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
| 138 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 138 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
| 139 virtual bool ShouldDescendIntoChildForEventHandling( | 139 virtual bool ShouldDescendIntoChildForEventHandling( |
| 140 aura::Window* child, | 140 aura::Window* child, |
| 141 const gfx::Point& location) OVERRIDE; | 141 const gfx::Point& event_location, |
| 142 ui::EventType event_type) OVERRIDE; |
| 142 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 143 virtual bool OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
| 143 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 144 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
| 144 virtual ui::GestureStatus OnGestureEvent( | 145 virtual ui::GestureStatus OnGestureEvent( |
| 145 ui::GestureEvent* event) OVERRIDE; | 146 ui::GestureEvent* event) OVERRIDE; |
| 146 virtual bool CanFocus() OVERRIDE; | 147 virtual bool CanFocus() OVERRIDE; |
| 147 virtual void OnCaptureLost() OVERRIDE; | 148 virtual void OnCaptureLost() OVERRIDE; |
| 148 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 149 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 149 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 150 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 150 virtual void OnWindowDestroying() OVERRIDE; | 151 virtual void OnWindowDestroying() OVERRIDE; |
| 151 virtual void OnWindowDestroyed() OVERRIDE; | 152 virtual void OnWindowDestroyed() OVERRIDE; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 205 |
| 205 scoped_ptr<DropHelper> drop_helper_; | 206 scoped_ptr<DropHelper> drop_helper_; |
| 206 int last_drop_operation_; | 207 int last_drop_operation_; |
| 207 | 208 |
| 208 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 209 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 } // namespace views | 212 } // namespace views |
| 212 | 213 |
| 213 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 214 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |