| 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define UI_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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 218 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
| 219 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 219 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
| 220 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 220 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 221 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 221 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 222 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 222 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 223 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 223 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
| 224 virtual void MoveToTop() OVERRIDE; | 224 virtual void MoveToTop() OVERRIDE; |
| 225 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 225 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
| 226 virtual void Close() OVERRIDE; | 226 virtual void Close() OVERRIDE; |
| 227 virtual void CloseNow() OVERRIDE; | 227 virtual void CloseNow() OVERRIDE; |
| 228 virtual void EnableClose(bool enable) OVERRIDE; | |
| 229 virtual void Show() OVERRIDE; | 228 virtual void Show() OVERRIDE; |
| 230 virtual void Hide() OVERRIDE; | 229 virtual void Hide() OVERRIDE; |
| 231 virtual void ShowMaximizedWithBounds( | 230 virtual void ShowMaximizedWithBounds( |
| 232 const gfx::Rect& restored_bounds) OVERRIDE; | 231 const gfx::Rect& restored_bounds) OVERRIDE; |
| 233 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; | 232 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; |
| 234 virtual bool IsVisible() const OVERRIDE; | 233 virtual bool IsVisible() const OVERRIDE; |
| 235 virtual void Activate() OVERRIDE; | 234 virtual void Activate() OVERRIDE; |
| 236 virtual void Deactivate() OVERRIDE; | 235 virtual void Deactivate() OVERRIDE; |
| 237 virtual bool IsActive() const OVERRIDE; | 236 virtual bool IsActive() const OVERRIDE; |
| 238 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 237 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 // rather than asking the Widget for the non_client_view so that we know at | 654 // rather than asking the Widget for the non_client_view so that we know at |
| 656 // Init time, before the Widget has created the NonClientView. | 655 // Init time, before the Widget has created the NonClientView. |
| 657 bool has_non_client_view_; | 656 bool has_non_client_view_; |
| 658 | 657 |
| 659 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 658 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 660 }; | 659 }; |
| 661 | 660 |
| 662 } // namespace views | 661 } // namespace views |
| 663 | 662 |
| 664 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 663 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| OLD | NEW |