OLD | NEW |
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_WIN_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Overridden from internal::NativeWidgetPrivate: | 192 // Overridden from internal::NativeWidgetPrivate: |
193 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; | 193 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; |
194 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 194 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
195 virtual void UpdateFrameAfterFrameChange() OVERRIDE; | 195 virtual void UpdateFrameAfterFrameChange() OVERRIDE; |
196 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 196 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
197 virtual void FrameTypeChanged() OVERRIDE; | 197 virtual void FrameTypeChanged() OVERRIDE; |
198 virtual Widget* GetWidget() OVERRIDE; | 198 virtual Widget* GetWidget() OVERRIDE; |
199 virtual const Widget* GetWidget() const OVERRIDE; | 199 virtual const Widget* GetWidget() const OVERRIDE; |
200 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 200 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
201 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 201 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| 202 virtual Widget* GetTopLevelWidget() OVERRIDE; |
202 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 203 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
203 virtual ui::Compositor* GetCompositor() OVERRIDE; | 204 virtual ui::Compositor* GetCompositor() OVERRIDE; |
204 virtual void MarkLayerDirty() OVERRIDE; | 205 virtual void MarkLayerDirty() OVERRIDE; |
205 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, | 206 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, |
206 View** ancestor) OVERRIDE; | 207 View** ancestor) OVERRIDE; |
207 virtual void ViewRemoved(View* view) OVERRIDE; | 208 virtual void ViewRemoved(View* view) OVERRIDE; |
208 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; | 209 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; |
209 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; | 210 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; |
210 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 211 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
211 virtual bool IsScreenReaderActive() const OVERRIDE; | 212 virtual bool IsScreenReaderActive() const OVERRIDE; |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 | 662 |
662 // The compositor for accelerated drawing. | 663 // The compositor for accelerated drawing. |
663 scoped_refptr<ui::Compositor> compositor_; | 664 scoped_refptr<ui::Compositor> compositor_; |
664 | 665 |
665 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 666 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
666 }; | 667 }; |
667 | 668 |
668 } // namespace views | 669 } // namespace views |
669 | 670 |
670 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 671 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |