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_PRIVATE_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "ui/base/ui_base_types.h" | 9 #include "ui/base/ui_base_types.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; | 224 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; |
225 virtual ui::NativeTheme* GetNativeTheme() const = 0; | 225 virtual ui::NativeTheme* GetNativeTheme() const = 0; |
226 virtual void OnRootViewLayout() = 0; | 226 virtual void OnRootViewLayout() = 0; |
227 virtual bool IsTranslucentWindowOpacitySupported() const = 0; | 227 virtual bool IsTranslucentWindowOpacitySupported() const = 0; |
228 virtual void OnSizeConstraintsChanged() = 0; | 228 virtual void OnSizeConstraintsChanged() = 0; |
229 | 229 |
230 // Repost an unhandled event to the native widget for default OS processing. | 230 // Repost an unhandled event to the native widget for default OS processing. |
231 virtual void RepostNativeEvent(gfx::NativeEvent native_event) = 0; | 231 virtual void RepostNativeEvent(gfx::NativeEvent native_event) = 0; |
232 | 232 |
233 // Overridden from NativeWidget: | 233 // Overridden from NativeWidget: |
234 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; | 234 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override; |
235 }; | 235 }; |
236 | 236 |
237 } // namespace internal | 237 } // namespace internal |
238 } // namespace views | 238 } // namespace views |
239 | 239 |
240 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ | 240 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ |
OLD | NEW |