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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 virtual void RunShellDrag(View* view, | 262 virtual void RunShellDrag(View* view, |
263 const ui::OSExchangeData& data, | 263 const ui::OSExchangeData& data, |
264 int operation) OVERRIDE; | 264 int operation) OVERRIDE; |
265 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 265 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
266 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 266 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
267 virtual void ClearNativeFocus() OVERRIDE; | 267 virtual void ClearNativeFocus() OVERRIDE; |
268 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; | 268 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; |
269 virtual bool ConvertPointFromAncestor( | 269 virtual bool ConvertPointFromAncestor( |
270 const Widget* ancestor, gfx::Point* point) const OVERRIDE; | 270 const Widget* ancestor, gfx::Point* point) const OVERRIDE; |
271 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 271 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
| 272 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
272 | 273 |
273 protected: | 274 protected: |
274 // Information saved before going into fullscreen mode, used to restore the | 275 // Information saved before going into fullscreen mode, used to restore the |
275 // window afterwards. | 276 // window afterwards. |
276 struct SavedWindowInfo { | 277 struct SavedWindowInfo { |
277 bool maximized; | 278 bool maximized; |
278 LONG style; | 279 LONG style; |
279 LONG ex_style; | 280 LONG ex_style; |
280 RECT window_rect; | 281 RECT window_rect; |
281 }; | 282 }; |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 // rather than asking the Widget for the non_client_view so that we know at | 668 // rather than asking the Widget for the non_client_view so that we know at |
668 // Init time, before the Widget has created the NonClientView. | 669 // Init time, before the Widget has created the NonClientView. |
669 bool has_non_client_view_; | 670 bool has_non_client_view_; |
670 | 671 |
671 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 672 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
672 }; | 673 }; |
673 | 674 |
674 } // namespace views | 675 } // namespace views |
675 | 676 |
676 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 677 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |