| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 void OnBoundsChanged(const gfx::Rect& old_bounds, | 147 void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 148 const gfx::Rect& new_bounds) override; | 148 const gfx::Rect& new_bounds) override; |
| 149 ui::TextInputClient* GetFocusedTextInputClient() override; | 149 ui::TextInputClient* GetFocusedTextInputClient() override; |
| 150 gfx::NativeCursor GetCursor(const gfx::Point& point) override; | 150 gfx::NativeCursor GetCursor(const gfx::Point& point) override; |
| 151 int GetNonClientComponent(const gfx::Point& point) const override; | 151 int GetNonClientComponent(const gfx::Point& point) const override; |
| 152 bool ShouldDescendIntoChildForEventHandling( | 152 bool ShouldDescendIntoChildForEventHandling( |
| 153 aura::Window* child, | 153 aura::Window* child, |
| 154 const gfx::Point& location) override; | 154 const gfx::Point& location) override; |
| 155 bool CanFocus() override; | 155 bool CanFocus() override; |
| 156 void OnCaptureLost() override; | 156 void OnCaptureLost() override; |
| 157 void OnPaint(gfx::Canvas* canvas) override; | 157 void OnPaint(const ui::PaintContext& context) override; |
| 158 void OnDeviceScaleFactorChanged(float device_scale_factor) override; | 158 void OnDeviceScaleFactorChanged(float device_scale_factor) override; |
| 159 void OnWindowDestroying(aura::Window* window) override; | 159 void OnWindowDestroying(aura::Window* window) override; |
| 160 void OnWindowDestroyed(aura::Window* window) override; | 160 void OnWindowDestroyed(aura::Window* window) override; |
| 161 void OnWindowTargetVisibilityChanged(bool visible) override; | 161 void OnWindowTargetVisibilityChanged(bool visible) override; |
| 162 bool HasHitTestMask() const override; | 162 bool HasHitTestMask() const override; |
| 163 void GetHitTestMask(gfx::Path* mask) const override; | 163 void GetHitTestMask(gfx::Path* mask) const override; |
| 164 | 164 |
| 165 // Overridden from aura::WindowObserver: | 165 // Overridden from aura::WindowObserver: |
| 166 void OnWindowPropertyChanged(aura::Window* window, | 166 void OnWindowPropertyChanged(aura::Window* window, |
| 167 const void* key, | 167 const void* key, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 // The following factory is used for calls to close the NativeWidgetAura | 230 // The following factory is used for calls to close the NativeWidgetAura |
| 231 // instance. | 231 // instance. |
| 232 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 232 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 233 | 233 |
| 234 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 234 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 235 }; | 235 }; |
| 236 | 236 |
| 237 } // namespace views | 237 } // namespace views |
| 238 | 238 |
| 239 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 239 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |