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

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

Issue 8620002: s/Move/Stack/ in names of stacking-related methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a test 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_gtk.cc ('k') | views/widget/native_widget_win.h » ('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_PRIVATE_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // Makes the NativeWindow modal. 161 // Makes the NativeWindow modal.
162 virtual void BecomeModal() = 0; 162 virtual void BecomeModal() = 0;
163 163
164 // See method documentation in Widget. 164 // See method documentation in Widget.
165 virtual gfx::Rect GetWindowScreenBounds() const = 0; 165 virtual gfx::Rect GetWindowScreenBounds() const = 0;
166 virtual gfx::Rect GetClientAreaScreenBounds() const = 0; 166 virtual gfx::Rect GetClientAreaScreenBounds() const = 0;
167 virtual gfx::Rect GetRestoredBounds() const = 0; 167 virtual gfx::Rect GetRestoredBounds() const = 0;
168 virtual void SetBounds(const gfx::Rect& bounds) = 0; 168 virtual void SetBounds(const gfx::Rect& bounds) = 0;
169 virtual void SetSize(const gfx::Size& size) = 0; 169 virtual void SetSize(const gfx::Size& size) = 0;
170 virtual void MoveAbove(gfx::NativeView native_view) = 0; 170 virtual void StackAbove(gfx::NativeView native_view) = 0;
171 virtual void MoveToTop() = 0; 171 virtual void StackAtTop() = 0;
172 virtual void SetShape(gfx::NativeRegion shape) = 0; 172 virtual void SetShape(gfx::NativeRegion shape) = 0;
173 virtual void Close() = 0; 173 virtual void Close() = 0;
174 virtual void CloseNow() = 0; 174 virtual void CloseNow() = 0;
175 virtual void EnableClose(bool enable) = 0; 175 virtual void EnableClose(bool enable) = 0;
176 virtual void Show() = 0; 176 virtual void Show() = 0;
177 virtual void Hide() = 0; 177 virtual void Hide() = 0;
178 // Invoked if the initial show should maximize the window. |restored_bounds| 178 // Invoked if the initial show should maximize the window. |restored_bounds|
179 // is the bounds of the window when not maximized. 179 // is the bounds of the window when not maximized.
180 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; 180 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0;
181 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0; 181 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0;
(...skipping 25 matching lines...) Expand all
207 virtual void SetInactiveRenderingDisabled(bool value) = 0; 207 virtual void SetInactiveRenderingDisabled(bool value) = 0;
208 208
209 // Overridden from NativeWidget: 209 // Overridden from NativeWidget:
210 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 210 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
211 }; 211 };
212 212
213 } // namespace internal 213 } // namespace internal
214 } // namespace views 214 } // namespace views
215 215
216 #endif // VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 216 #endif // VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_gtk.cc ('k') | views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698