| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "ui/gfx/transform.h" | 10 #include "ui/gfx/transform.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 85 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
| 86 Widget* other_widget) OVERRIDE; | 86 Widget* other_widget) OVERRIDE; |
| 87 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 87 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
| 88 virtual void MoveToTop() OVERRIDE; | 88 virtual void MoveToTop() OVERRIDE; |
| 89 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 89 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
| 90 virtual void Close() OVERRIDE; | 90 virtual void Close() OVERRIDE; |
| 91 virtual void CloseNow() OVERRIDE; | 91 virtual void CloseNow() OVERRIDE; |
| 92 virtual void EnableClose(bool enable) OVERRIDE; | 92 virtual void EnableClose(bool enable) OVERRIDE; |
| 93 virtual void Show() OVERRIDE; | 93 virtual void Show() OVERRIDE; |
| 94 virtual void Hide() OVERRIDE; | 94 virtual void Hide() OVERRIDE; |
| 95 virtual void ShowMaximized(const gfx::Rect& restored_bounds) OVERRIDE; |
| 95 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 96 virtual void ShowNativeWidget(ShowState state) OVERRIDE; |
| 96 virtual bool IsVisible() const OVERRIDE; | 97 virtual bool IsVisible() const OVERRIDE; |
| 97 virtual void Activate() OVERRIDE; | 98 virtual void Activate() OVERRIDE; |
| 98 virtual void Deactivate() OVERRIDE; | 99 virtual void Deactivate() OVERRIDE; |
| 99 virtual bool IsActive() const OVERRIDE; | 100 virtual bool IsActive() const OVERRIDE; |
| 100 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 101 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| 101 virtual void Maximize() OVERRIDE; | 102 virtual void Maximize() OVERRIDE; |
| 102 virtual void Minimize() OVERRIDE; | 103 virtual void Minimize() OVERRIDE; |
| 103 virtual bool IsMaximized() const OVERRIDE; | 104 virtual bool IsMaximized() const OVERRIDE; |
| 104 virtual bool IsMinimized() const OVERRIDE; | 105 virtual bool IsMinimized() const OVERRIDE; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 Widget::InitParams::Ownership ownership_; | 144 Widget::InitParams::Ownership ownership_; |
| 144 | 145 |
| 145 bool delete_native_view_; | 146 bool delete_native_view_; |
| 146 | 147 |
| 147 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); | 148 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 } // namespace views | 151 } // namespace views |
| 151 | 152 |
| 152 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 153 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
| OLD | NEW |