| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 128 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
| 129 virtual Widget::MoveLoopResult RunMoveLoop( | 129 virtual Widget::MoveLoopResult RunMoveLoop( |
| 130 const gfx::Vector2d& drag_offset, | 130 const gfx::Vector2d& drag_offset, |
| 131 Widget::MoveLoopSource source, | 131 Widget::MoveLoopSource source, |
| 132 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; | 132 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; |
| 133 virtual void EndMoveLoop() OVERRIDE; | 133 virtual void EndMoveLoop() OVERRIDE; |
| 134 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 134 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
| 135 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; | 135 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; |
| 136 virtual void OnRootViewLayout() OVERRIDE; | 136 virtual void OnRootViewLayout() OVERRIDE; |
| 137 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; | 137 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; |
| 138 virtual void OnSizeConstraintsChanged() OVERRIDE; |
| 138 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; | 139 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; |
| 139 | 140 |
| 140 // Overridden from views::InputMethodDelegate: | 141 // Overridden from views::InputMethodDelegate: |
| 141 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE; | 142 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE; |
| 142 | 143 |
| 143 // Overridden from aura::WindowDelegate: | 144 // Overridden from aura::WindowDelegate: |
| 144 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 145 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 145 virtual gfx::Size GetMaximumSize() const OVERRIDE; | 146 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
| 146 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 147 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 147 const gfx::Rect& new_bounds) OVERRIDE; | 148 const gfx::Rect& new_bounds) OVERRIDE; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 229 |
| 229 scoped_ptr<DropHelper> drop_helper_; | 230 scoped_ptr<DropHelper> drop_helper_; |
| 230 int last_drop_operation_; | 231 int last_drop_operation_; |
| 231 | 232 |
| 232 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 233 }; | 234 }; |
| 234 | 235 |
| 235 } // namespace views | 236 } // namespace views |
| 236 | 237 |
| 237 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |