| 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/focus_change_observer.h" | 10 #include "ui/aura/client/focus_change_observer.h" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; | 136 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; |
| 137 | 137 |
| 138 // Overridden from views::InputMethodDelegate: | 138 // Overridden from views::InputMethodDelegate: |
| 139 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE; | 139 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE; |
| 140 | 140 |
| 141 // Overridden from aura::WindowDelegate: | 141 // Overridden from aura::WindowDelegate: |
| 142 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 142 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 143 virtual gfx::Size GetMaximumSize() const OVERRIDE; | 143 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
| 144 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 144 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 145 const gfx::Rect& new_bounds) OVERRIDE; | 145 const gfx::Rect& new_bounds) OVERRIDE; |
| 146 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE; |
| 146 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 147 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
| 147 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 148 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
| 148 virtual bool ShouldDescendIntoChildForEventHandling( | 149 virtual bool ShouldDescendIntoChildForEventHandling( |
| 149 aura::Window* child, | 150 aura::Window* child, |
| 150 const gfx::Point& location) OVERRIDE; | 151 const gfx::Point& location) OVERRIDE; |
| 151 virtual bool CanFocus() OVERRIDE; | 152 virtual bool CanFocus() OVERRIDE; |
| 152 virtual void OnCaptureLost() OVERRIDE; | 153 virtual void OnCaptureLost() OVERRIDE; |
| 153 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 154 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 154 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 155 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 155 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 156 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 222 |
| 222 scoped_ptr<DropHelper> drop_helper_; | 223 scoped_ptr<DropHelper> drop_helper_; |
| 223 int last_drop_operation_; | 224 int last_drop_operation_; |
| 224 | 225 |
| 225 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 226 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 226 }; | 227 }; |
| 227 | 228 |
| 228 } // namespace views | 229 } // namespace views |
| 229 | 230 |
| 230 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 231 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |