| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 188 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
| 189 virtual void BecomeModal() OVERRIDE; | 189 virtual void BecomeModal() OVERRIDE; |
| 190 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 190 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
| 191 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 191 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
| 192 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 192 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 193 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 193 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 194 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 194 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 195 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 195 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
| 196 Widget* other_widget) OVERRIDE; | 196 Widget* other_widget) OVERRIDE; |
| 197 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 197 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
| 198 virtual void MoveToTop() OVERRIDE; |
| 198 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 199 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
| 199 virtual void Close() OVERRIDE; | 200 virtual void Close() OVERRIDE; |
| 200 virtual void CloseNow() OVERRIDE; | 201 virtual void CloseNow() OVERRIDE; |
| 201 virtual void EnableClose(bool enable) OVERRIDE; | 202 virtual void EnableClose(bool enable) OVERRIDE; |
| 202 virtual void Show() OVERRIDE; | 203 virtual void Show() OVERRIDE; |
| 203 virtual void Hide() OVERRIDE; | 204 virtual void Hide() OVERRIDE; |
| 204 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 205 virtual void ShowNativeWidget(ShowState state) OVERRIDE; |
| 205 virtual bool IsVisible() const OVERRIDE; | 206 virtual bool IsVisible() const OVERRIDE; |
| 206 virtual void Activate() OVERRIDE; | 207 virtual void Activate() OVERRIDE; |
| 207 virtual void Deactivate() OVERRIDE; | 208 virtual void Deactivate() OVERRIDE; |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 bool painted_; | 447 bool painted_; |
| 447 | 448 |
| 448 scoped_ptr<InputMethod> input_method_; | 449 scoped_ptr<InputMethod> input_method_; |
| 449 | 450 |
| 450 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); | 451 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); |
| 451 }; | 452 }; |
| 452 | 453 |
| 453 } // namespace views | 454 } // namespace views |
| 454 | 455 |
| 455 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 456 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| OLD | NEW |