| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUS_NATIVE_WIDGET_MUS_H_ | 5 #ifndef UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
| 6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 Widget::MoveLoopResult RunMoveLoop( | 185 Widget::MoveLoopResult RunMoveLoop( |
| 186 const gfx::Vector2d& drag_offset, | 186 const gfx::Vector2d& drag_offset, |
| 187 Widget::MoveLoopSource source, | 187 Widget::MoveLoopSource source, |
| 188 Widget::MoveLoopEscapeBehavior escape_behavior) override; | 188 Widget::MoveLoopEscapeBehavior escape_behavior) override; |
| 189 void EndMoveLoop() override; | 189 void EndMoveLoop() override; |
| 190 void SetVisibilityChangedAnimationsEnabled(bool value) override; | 190 void SetVisibilityChangedAnimationsEnabled(bool value) override; |
| 191 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; | 191 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; |
| 192 void SetVisibilityAnimationTransition( | 192 void SetVisibilityAnimationTransition( |
| 193 Widget::VisibilityTransition transition) override; | 193 Widget::VisibilityTransition transition) override; |
| 194 ui::NativeTheme* GetNativeTheme() const override; | 194 ui::NativeTheme* GetNativeTheme() const override; |
| 195 void OnRootViewLayout() override; | |
| 196 bool IsTranslucentWindowOpacitySupported() const override; | 195 bool IsTranslucentWindowOpacitySupported() const override; |
| 197 void OnSizeConstraintsChanged() override; | 196 void OnSizeConstraintsChanged() override; |
| 198 void RepostNativeEvent(gfx::NativeEvent native_event) override; | 197 void RepostNativeEvent(gfx::NativeEvent native_event) override; |
| 199 std::string GetName() const override; | 198 std::string GetName() const override; |
| 200 | 199 |
| 201 // Overridden from aura::WindowDelegate: | 200 // Overridden from aura::WindowDelegate: |
| 202 gfx::Size GetMinimumSize() const override; | 201 gfx::Size GetMinimumSize() const override; |
| 203 gfx::Size GetMaximumSize() const override; | 202 gfx::Size GetMaximumSize() const override; |
| 204 void OnBoundsChanged(const gfx::Rect& old_bounds, | 203 void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 205 const gfx::Rect& new_bounds) override; | 204 const gfx::Rect& new_bounds) override; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 std::unique_ptr<InputMethodMus> input_method_; | 306 std::unique_ptr<InputMethodMus> input_method_; |
| 308 | 307 |
| 309 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; | 308 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; |
| 310 | 309 |
| 311 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); | 310 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); |
| 312 }; | 311 }; |
| 313 | 312 |
| 314 } // namespace views | 313 } // namespace views |
| 315 | 314 |
| 316 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 315 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
| OLD | NEW |