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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 const SkBitmap& app_icon) OVERRIDE; | 178 const SkBitmap& app_icon) OVERRIDE; |
179 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 179 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
180 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 180 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
181 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 181 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
182 virtual void BecomeModal() OVERRIDE; | 182 virtual void BecomeModal() OVERRIDE; |
183 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 183 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
184 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 184 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
185 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 185 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
186 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 186 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
187 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 187 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
188 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 188 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; |
189 virtual void MoveToTop() OVERRIDE; | 189 virtual void StackAtTop() OVERRIDE; |
190 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 190 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
191 virtual void Close() OVERRIDE; | 191 virtual void Close() OVERRIDE; |
192 virtual void CloseNow() OVERRIDE; | 192 virtual void CloseNow() OVERRIDE; |
193 virtual void EnableClose(bool enable) OVERRIDE; | 193 virtual void EnableClose(bool enable) OVERRIDE; |
194 virtual void Show() OVERRIDE; | 194 virtual void Show() OVERRIDE; |
195 virtual void Hide() OVERRIDE; | 195 virtual void Hide() OVERRIDE; |
196 virtual void ShowMaximizedWithBounds( | 196 virtual void ShowMaximizedWithBounds( |
197 const gfx::Rect& restored_bounds) OVERRIDE; | 197 const gfx::Rect& restored_bounds) OVERRIDE; |
198 virtual void ShowWithWindowState(ui::WindowShowState window_state) OVERRIDE; | 198 virtual void ShowWithWindowState(ui::WindowShowState window_state) OVERRIDE; |
199 virtual bool IsVisible() const OVERRIDE; | 199 virtual bool IsVisible() const OVERRIDE; |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 bool is_menu_; | 466 bool is_menu_; |
467 | 467 |
468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; | 468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; |
469 | 469 |
470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); | 470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); |
471 }; | 471 }; |
472 | 472 |
473 } // namespace views | 473 } // namespace views |
474 | 474 |
475 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 475 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
OLD | NEW |