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

Side by Side Diff: views/widget/native_widget_gtk.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_aura.cc ('k') | views/widget/native_widget_gtk.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_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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const SkBitmap& app_icon) OVERRIDE; 179 const SkBitmap& app_icon) OVERRIDE;
180 virtual void SetAccessibleName(const string16& name) OVERRIDE; 180 virtual void SetAccessibleName(const string16& name) OVERRIDE;
181 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; 181 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
182 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; 182 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
183 virtual void BecomeModal() OVERRIDE; 183 virtual void BecomeModal() OVERRIDE;
184 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; 184 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE;
185 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; 185 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE;
186 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 186 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
187 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 187 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
188 virtual void SetSize(const gfx::Size& size) OVERRIDE; 188 virtual void SetSize(const gfx::Size& size) OVERRIDE;
189 virtual void SetBoundsConstrained(const gfx::Rect& bounds,
190 Widget* other_widget) OVERRIDE;
191 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; 189 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE;
192 virtual void MoveToTop() OVERRIDE; 190 virtual void MoveToTop() OVERRIDE;
193 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; 191 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE;
194 virtual void Close() OVERRIDE; 192 virtual void Close() OVERRIDE;
195 virtual void CloseNow() OVERRIDE; 193 virtual void CloseNow() OVERRIDE;
196 virtual void EnableClose(bool enable) OVERRIDE; 194 virtual void EnableClose(bool enable) OVERRIDE;
197 virtual void Show() OVERRIDE; 195 virtual void Show() OVERRIDE;
198 virtual void Hide() OVERRIDE; 196 virtual void Hide() OVERRIDE;
199 virtual void ShowMaximizedWithBounds( 197 virtual void ShowMaximizedWithBounds(
200 const gfx::Rect& restored_bounds) OVERRIDE; 198 const gfx::Rect& restored_bounds) OVERRIDE;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 bool is_menu_; 457 bool is_menu_;
460 458
461 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; 459 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_;
462 460
463 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); 461 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
464 }; 462 };
465 463
466 } // namespace views 464 } // namespace views
467 465
468 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 466 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_aura.cc ('k') | views/widget/native_widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698