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

Side by Side Diff: views/window/window.h

Issue 115378: Move Always On Top setting out of Window/WindowDelegate and into task manager... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef VIEWS_WINDOW_WINDOW_H_ 5 #ifndef VIEWS_WINDOW_WINDOW_H_
6 #define VIEWS_WINDOW_WINDOW_H_ 6 #define VIEWS_WINDOW_WINDOW_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // again. There is no ability to control the state through this API as this 104 // again. There is no ability to control the state through this API as this
105 // leads to sync problems. 105 // leads to sync problems.
106 virtual void DisableInactiveRendering() = 0; 106 virtual void DisableInactiveRendering() = 0;
107 107
108 // Tell the window to update its title from the delegate. 108 // Tell the window to update its title from the delegate.
109 virtual void UpdateWindowTitle() = 0; 109 virtual void UpdateWindowTitle() = 0;
110 110
111 // Tell the window to update its icon from the delegate. 111 // Tell the window to update its icon from the delegate.
112 virtual void UpdateWindowIcon() = 0; 112 virtual void UpdateWindowIcon() = 0;
113 113
114 // Sets whether or not the window is always-on-top.
115 virtual void SetIsAlwaysOnTop(bool always_on_top) = 0;
116
114 // Creates an appropriate NonClientFrameView for this window. 117 // Creates an appropriate NonClientFrameView for this window.
115 virtual NonClientFrameView* CreateFrameViewForWindow() = 0; 118 virtual NonClientFrameView* CreateFrameViewForWindow() = 0;
116 119
117 // Updates the frame after an event caused it to be changed. 120 // Updates the frame after an event caused it to be changed.
118 virtual void UpdateFrameAfterFrameChange() = 0; 121 virtual void UpdateFrameAfterFrameChange() = 0;
119 122
120 // Retrieves the Window's delegate. 123 // Retrieves the Window's delegate.
121 virtual WindowDelegate* GetDelegate() const = 0; 124 virtual WindowDelegate* GetDelegate() const = 0;
122 125
123 // Retrieves the Window's non-client view. 126 // Retrieves the Window's non-client view.
124 virtual NonClientView* GetNonClientView() const = 0; 127 virtual NonClientView* GetNonClientView() const = 0;
125 128
126 // Retrieves the Window's client view. 129 // Retrieves the Window's client view.
127 virtual ClientView* GetClientView() const = 0; 130 virtual ClientView* GetClientView() const = 0;
128 131
129 // Retrieves the Window's native window handle. 132 // Retrieves the Window's native window handle.
130 virtual gfx::NativeWindow GetNativeWindow() const = 0; 133 virtual gfx::NativeWindow GetNativeWindow() const = 0;
131 }; 134 };
132 135
133 } // namespace views 136 } // namespace views
134 137
135 #endif // #ifndef VIEWS_WINDOW_WINDOW_H_ 138 #endif // #ifndef VIEWS_WINDOW_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698