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

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

Issue 7185005: Add View::ReorderChildView and Widget::MoveToTop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 6 months 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_gtk.cc ('k') | views/widget/native_widget_views.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_VIEWS_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "views/widget/native_widget.h" 10 #include "views/widget/native_widget.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 69 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
70 virtual void BecomeModal() OVERRIDE; 70 virtual void BecomeModal() OVERRIDE;
71 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; 71 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE;
72 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; 72 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE;
73 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 73 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
74 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 74 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
75 virtual void SetSize(const gfx::Size& size) OVERRIDE; 75 virtual void SetSize(const gfx::Size& size) OVERRIDE;
76 virtual void SetBoundsConstrained(const gfx::Rect& bounds, 76 virtual void SetBoundsConstrained(const gfx::Rect& bounds,
77 Widget* other_widget) OVERRIDE; 77 Widget* other_widget) OVERRIDE;
78 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; 78 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE;
79 virtual void MoveToTop() OVERRIDE;
79 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; 80 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE;
80 virtual void Close() OVERRIDE; 81 virtual void Close() OVERRIDE;
81 virtual void CloseNow() OVERRIDE; 82 virtual void CloseNow() OVERRIDE;
82 virtual void EnableClose(bool enable) OVERRIDE; 83 virtual void EnableClose(bool enable) OVERRIDE;
83 virtual void Show() OVERRIDE; 84 virtual void Show() OVERRIDE;
84 virtual void Hide() OVERRIDE; 85 virtual void Hide() OVERRIDE;
85 virtual void ShowNativeWidget(ShowState state) OVERRIDE; 86 virtual void ShowNativeWidget(ShowState state) OVERRIDE;
86 virtual bool IsVisible() const OVERRIDE; 87 virtual bool IsVisible() const OVERRIDE;
87 virtual void Activate() OVERRIDE; 88 virtual void Activate() OVERRIDE;
88 virtual void Deactivate() OVERRIDE; 89 virtual void Deactivate() OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // The following factory is used for calls to close the NativeWidgetViews 121 // The following factory is used for calls to close the NativeWidgetViews
121 // instance. 122 // instance.
122 ScopedRunnableMethodFactory<NativeWidgetViews> close_widget_factory_; 123 ScopedRunnableMethodFactory<NativeWidgetViews> close_widget_factory_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); 125 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews);
125 }; 126 };
126 127
127 } 128 }
128 129
129 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 130 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_gtk.cc ('k') | views/widget/native_widget_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698