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_GTK_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 201 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
202 Widget* other_widget) OVERRIDE; | 202 Widget* other_widget) OVERRIDE; |
203 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 203 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
204 virtual void MoveToTop() OVERRIDE; | 204 virtual void MoveToTop() OVERRIDE; |
205 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 205 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
206 virtual void Close() OVERRIDE; | 206 virtual void Close() OVERRIDE; |
207 virtual void CloseNow() OVERRIDE; | 207 virtual void CloseNow() OVERRIDE; |
208 virtual void EnableClose(bool enable) OVERRIDE; | 208 virtual void EnableClose(bool enable) OVERRIDE; |
209 virtual void Show() OVERRIDE; | 209 virtual void Show() OVERRIDE; |
210 virtual void Hide() OVERRIDE; | 210 virtual void Hide() OVERRIDE; |
| 211 virtual void ShowMaximized(const gfx::Rect& restored_bounds) OVERRIDE; |
211 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 212 virtual void ShowNativeWidget(ShowState state) OVERRIDE; |
212 virtual bool IsVisible() const OVERRIDE; | 213 virtual bool IsVisible() const OVERRIDE; |
213 virtual void Activate() OVERRIDE; | 214 virtual void Activate() OVERRIDE; |
214 virtual void Deactivate() OVERRIDE; | 215 virtual void Deactivate() OVERRIDE; |
215 virtual bool IsActive() const OVERRIDE; | 216 virtual bool IsActive() const OVERRIDE; |
216 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 217 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
217 virtual void Maximize() OVERRIDE; | 218 virtual void Maximize() OVERRIDE; |
218 virtual void Minimize() OVERRIDE; | 219 virtual void Minimize() OVERRIDE; |
219 virtual bool IsMaximized() const OVERRIDE; | 220 virtual bool IsMaximized() const OVERRIDE; |
220 virtual bool IsMinimized() const OVERRIDE; | 221 virtual bool IsMinimized() const OVERRIDE; |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 454 |
454 // The compositor for accelerated drawing. | 455 // The compositor for accelerated drawing. |
455 scoped_refptr<ui::Compositor> compositor_; | 456 scoped_refptr<ui::Compositor> compositor_; |
456 | 457 |
457 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); | 458 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); |
458 }; | 459 }; |
459 | 460 |
460 } // namespace views | 461 } // namespace views |
461 | 462 |
462 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 463 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
OLD | NEW |