OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_WIDGET_WIN_H_ | 5 #ifndef VIEWS_WIDGET_WIDGET_WIN_H_ |
6 #define VIEWS_WIDGET_WIDGET_WIN_H_ | 6 #define VIEWS_WIDGET_WIDGET_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 MSG_WM_VSCROLL(OnVScroll) | 176 MSG_WM_VSCROLL(OnVScroll) |
177 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging) | 177 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging) |
178 MSG_WM_WINDOWPOSCHANGED(OnWindowPosChanged) | 178 MSG_WM_WINDOWPOSCHANGED(OnWindowPosChanged) |
179 END_MSG_MAP() | 179 END_MSG_MAP() |
180 | 180 |
181 // Overridden from Widget: | 181 // Overridden from Widget: |
182 virtual void Init(gfx::NativeView parent, const gfx::Rect& bounds); | 182 virtual void Init(gfx::NativeView parent, const gfx::Rect& bounds); |
183 virtual void SetContentsView(View* view); | 183 virtual void SetContentsView(View* view); |
184 virtual void GetBounds(gfx::Rect* out, bool including_frame) const; | 184 virtual void GetBounds(gfx::Rect* out, bool including_frame) const; |
185 virtual void SetBounds(const gfx::Rect& bounds); | 185 virtual void SetBounds(const gfx::Rect& bounds); |
| 186 virtual void MoveAbove(Widget* widget); |
186 virtual void SetShape(const gfx::Path& shape); | 187 virtual void SetShape(const gfx::Path& shape); |
187 virtual void Close(); | 188 virtual void Close(); |
188 virtual void CloseNow(); | 189 virtual void CloseNow(); |
189 virtual void Show(); | 190 virtual void Show(); |
190 virtual void Hide(); | 191 virtual void Hide(); |
191 virtual gfx::NativeView GetNativeView() const; | 192 virtual gfx::NativeView GetNativeView() const; |
192 virtual void PaintNow(const gfx::Rect& update_rect); | 193 virtual void PaintNow(const gfx::Rect& update_rect); |
193 virtual void SetOpacity(unsigned char opacity); | 194 virtual void SetOpacity(unsigned char opacity); |
| 195 virtual void SetAlwaysOnTop(bool on_top); |
194 virtual RootView* GetRootView(); | 196 virtual RootView* GetRootView(); |
195 virtual Widget* GetRootWidget() const; | 197 virtual Widget* GetRootWidget() const; |
196 virtual bool IsVisible() const; | 198 virtual bool IsVisible() const; |
197 virtual bool IsActive() const; | 199 virtual bool IsActive() const; |
198 virtual void GenerateMousePressedForView(View* view, | 200 virtual void GenerateMousePressedForView(View* view, |
199 const gfx::Point& point); | 201 const gfx::Point& point); |
200 virtual TooltipManager* GetTooltipManager(); | 202 virtual TooltipManager* GetTooltipManager(); |
201 virtual ThemeProvider* GetThemeProvider() const; | 203 virtual ThemeProvider* GetThemeProvider() const; |
202 virtual Window* GetWindow(); | 204 virtual Window* GetWindow(); |
203 virtual const Window* GetWindow() const; | 205 virtual const Window* GetWindow() const; |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 | 540 |
539 // Instance of accessibility information and handling for MSAA root | 541 // Instance of accessibility information and handling for MSAA root |
540 ScopedComPtr<IAccessible> accessibility_root_; | 542 ScopedComPtr<IAccessible> accessibility_root_; |
541 | 543 |
542 scoped_ptr<DefaultThemeProvider> default_theme_provider_; | 544 scoped_ptr<DefaultThemeProvider> default_theme_provider_; |
543 }; | 545 }; |
544 | 546 |
545 } // namespace views | 547 } // namespace views |
546 | 548 |
547 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ | 549 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ |
OLD | NEW |