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

Side by Side Diff: ui/views/widget/native_widget_win.h

Issue 13699002: add HideAndClose in preference to having Close sometimes magically defer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: non aura Created 7 years, 8 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 | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/native_widget_win.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 104 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
105 virtual void SetSize(const gfx::Size& size) OVERRIDE; 105 virtual void SetSize(const gfx::Size& size) OVERRIDE;
106 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; 106 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE;
107 virtual void StackAtTop() OVERRIDE; 107 virtual void StackAtTop() OVERRIDE;
108 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; 108 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE;
109 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; 109 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE;
110 virtual void Close() OVERRIDE; 110 virtual void Close() OVERRIDE;
111 virtual void CloseNow() OVERRIDE; 111 virtual void CloseNow() OVERRIDE;
112 virtual void Show() OVERRIDE; 112 virtual void Show() OVERRIDE;
113 virtual void Hide() OVERRIDE; 113 virtual void Hide() OVERRIDE;
114 virtual void HideAndClose() OVERRIDE;
114 virtual void ShowMaximizedWithBounds( 115 virtual void ShowMaximizedWithBounds(
115 const gfx::Rect& restored_bounds) OVERRIDE; 116 const gfx::Rect& restored_bounds) OVERRIDE;
116 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; 117 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE;
117 virtual bool IsVisible() const OVERRIDE; 118 virtual bool IsVisible() const OVERRIDE;
118 virtual void Activate() OVERRIDE; 119 virtual void Activate() OVERRIDE;
119 virtual void Deactivate() OVERRIDE; 120 virtual void Deactivate() OVERRIDE;
120 virtual bool IsActive() const OVERRIDE; 121 virtual bool IsActive() const OVERRIDE;
121 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 122 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
122 virtual void Maximize() OVERRIDE; 123 virtual void Maximize() OVERRIDE;
123 virtual void Minimize() OVERRIDE; 124 virtual void Minimize() OVERRIDE;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 bool has_non_client_view_; 262 bool has_non_client_view_;
262 263
263 scoped_ptr<HWNDMessageHandler> message_handler_; 264 scoped_ptr<HWNDMessageHandler> message_handler_;
264 265
265 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 266 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
266 }; 267 };
267 268
268 } // namespace views 269 } // namespace views
269 270
270 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 271 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698