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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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* other); | 186 virtual void MoveAbove(Widget* other); |
187 virtual void SetShape(const gfx::Path& shape); | 187 virtual void SetShape(gfx::NativeRegion region); |
188 virtual void Close(); | 188 virtual void Close(); |
189 virtual void CloseNow(); | 189 virtual void CloseNow(); |
190 virtual void Show(); | 190 virtual void Show(); |
191 virtual void Hide(); | 191 virtual void Hide(); |
192 virtual gfx::NativeView GetNativeView() const; | 192 virtual gfx::NativeView GetNativeView() const; |
193 virtual void PaintNow(const gfx::Rect& update_rect); | 193 virtual void PaintNow(const gfx::Rect& update_rect); |
194 virtual void SetOpacity(unsigned char opacity); | 194 virtual void SetOpacity(unsigned char opacity); |
195 virtual void SetAlwaysOnTop(bool on_top); | 195 virtual void SetAlwaysOnTop(bool on_top); |
196 virtual RootView* GetRootView(); | 196 virtual RootView* GetRootView(); |
197 virtual Widget* GetRootWidget() const; | 197 virtual Widget* GetRootWidget() const; |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 536 |
537 // Instance of accessibility information and handling for MSAA root | 537 // Instance of accessibility information and handling for MSAA root |
538 ScopedComPtr<IAccessible> accessibility_root_; | 538 ScopedComPtr<IAccessible> accessibility_root_; |
539 | 539 |
540 scoped_ptr<DefaultThemeProvider> default_theme_provider_; | 540 scoped_ptr<DefaultThemeProvider> default_theme_provider_; |
541 }; | 541 }; |
542 | 542 |
543 } // namespace views | 543 } // namespace views |
544 | 544 |
545 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ | 545 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ |
OLD | NEW |