| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 virtual void Hide() = 0; | 181 virtual void Hide() = 0; |
| 182 // Invoked if the initial show should maximize the window. |restored_bounds| | 182 // Invoked if the initial show should maximize the window. |restored_bounds| |
| 183 // is the bounds of the window when not maximized. | 183 // is the bounds of the window when not maximized. |
| 184 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; | 184 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; |
| 185 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0; | 185 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0; |
| 186 virtual bool IsVisible() const = 0; | 186 virtual bool IsVisible() const = 0; |
| 187 virtual void Activate() = 0; | 187 virtual void Activate() = 0; |
| 188 virtual void Deactivate() = 0; | 188 virtual void Deactivate() = 0; |
| 189 virtual bool IsActive() const = 0; | 189 virtual bool IsActive() const = 0; |
| 190 virtual void SetAlwaysOnTop(bool always_on_top) = 0; | 190 virtual void SetAlwaysOnTop(bool always_on_top) = 0; |
| 191 virtual bool IsAlwaysOnTop() const = 0; |
| 191 virtual void Maximize() = 0; | 192 virtual void Maximize() = 0; |
| 192 virtual void Minimize() = 0; | 193 virtual void Minimize() = 0; |
| 193 virtual bool IsMaximized() const = 0; | 194 virtual bool IsMaximized() const = 0; |
| 194 virtual bool IsMinimized() const = 0; | 195 virtual bool IsMinimized() const = 0; |
| 195 virtual void Restore() = 0; | 196 virtual void Restore() = 0; |
| 196 virtual void SetFullscreen(bool fullscreen) = 0; | 197 virtual void SetFullscreen(bool fullscreen) = 0; |
| 197 virtual bool IsFullscreen() const = 0; | 198 virtual bool IsFullscreen() const = 0; |
| 198 virtual void SetOpacity(unsigned char opacity) = 0; | 199 virtual void SetOpacity(unsigned char opacity) = 0; |
| 199 virtual void SetUseDragFrame(bool use_drag_frame) = 0; | 200 virtual void SetUseDragFrame(bool use_drag_frame) = 0; |
| 200 virtual void FlashFrame(bool flash) = 0; | 201 virtual void FlashFrame(bool flash) = 0; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 220 | 221 |
| 221 // Overridden from NativeWidget: | 222 // Overridden from NativeWidget: |
| 222 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; | 223 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; |
| 223 virtual ui::EventHandler* GetEventHandler() = 0; | 224 virtual ui::EventHandler* GetEventHandler() = 0; |
| 224 }; | 225 }; |
| 225 | 226 |
| 226 } // namespace internal | 227 } // namespace internal |
| 227 } // namespace views | 228 } // namespace views |
| 228 | 229 |
| 229 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ | 230 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ |
| OLD | NEW |