Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: views/widget/native_widget_wayland.h

Issue 8477019: Adds Window::MoveChildToFront, with surrounding changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/widget/native_widget_views.cc ('k') | views/widget/native_widget_wayland.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « views/widget/native_widget_views.cc ('k') | views/widget/native_widget_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698