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_WAYLAND_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <wayland-client.h> | 9 #include <wayland-client.h> |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 const SkBitmap& app_icon) OVERRIDE; | 84 const SkBitmap& app_icon) OVERRIDE; |
85 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 85 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
86 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 86 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
87 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 87 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
88 virtual void BecomeModal() OVERRIDE; | 88 virtual void BecomeModal() OVERRIDE; |
89 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 89 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
90 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 90 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
91 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 91 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
92 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 92 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
93 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 93 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
94 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | |
95 Widget* other_widget) OVERRIDE; | |
96 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 94 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
97 virtual void MoveToTop() OVERRIDE; | 95 virtual void MoveToTop() OVERRIDE; |
98 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 96 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
99 virtual void Close() OVERRIDE; | 97 virtual void Close() OVERRIDE; |
100 virtual void CloseNow() OVERRIDE; | 98 virtual void CloseNow() OVERRIDE; |
101 virtual void EnableClose(bool enable) OVERRIDE; | 99 virtual void EnableClose(bool enable) OVERRIDE; |
102 virtual void Show() OVERRIDE; | 100 virtual void Show() OVERRIDE; |
103 virtual void Hide() OVERRIDE; | 101 virtual void Hide() OVERRIDE; |
104 virtual void ShowMaximizedWithBounds( | 102 virtual void ShowMaximizedWithBounds( |
105 const gfx::Rect& restored_bounds) OVERRIDE; | 103 const gfx::Rect& restored_bounds) OVERRIDE; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 // and the compositor will have these, so we don't need to worry about them. | 201 // and the compositor will have these, so we don't need to worry about them. |
204 scoped_refptr<gfx::GLSurface> surface_; | 202 scoped_refptr<gfx::GLSurface> surface_; |
205 scoped_refptr<gfx::GLContext> context_; | 203 scoped_refptr<gfx::GLContext> context_; |
206 | 204 |
207 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWayland); | 205 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWayland); |
208 }; | 206 }; |
209 | 207 |
210 } // namespace views | 208 } // namespace views |
211 | 209 |
212 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 210 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
OLD | NEW |