| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 const SkBitmap& app_icon) OVERRIDE; | 213 const SkBitmap& app_icon) OVERRIDE; |
| 214 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 214 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
| 215 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 215 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
| 216 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 216 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
| 217 virtual void BecomeModal() OVERRIDE; | 217 virtual void BecomeModal() OVERRIDE; |
| 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 StackAbove(gfx::NativeView native_view) OVERRIDE; |
| 224 virtual void MoveToTop() OVERRIDE; | 224 virtual void StackAtTop() 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; | 228 virtual void EnableClose(bool enable) OVERRIDE; |
| 229 virtual void Show() OVERRIDE; | 229 virtual void Show() OVERRIDE; |
| 230 virtual void Hide() OVERRIDE; | 230 virtual void Hide() OVERRIDE; |
| 231 virtual void ShowMaximizedWithBounds( | 231 virtual void ShowMaximizedWithBounds( |
| 232 const gfx::Rect& restored_bounds) OVERRIDE; | 232 const gfx::Rect& restored_bounds) OVERRIDE; |
| 233 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; | 233 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; |
| 234 virtual bool IsVisible() const OVERRIDE; | 234 virtual bool IsVisible() const OVERRIDE; |
| (...skipping 420 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 | 655 // 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. | 656 // Init time, before the Widget has created the NonClientView. |
| 657 bool has_non_client_view_; | 657 bool has_non_client_view_; |
| 658 | 658 |
| 659 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 659 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 660 }; | 660 }; |
| 661 | 661 |
| 662 } // namespace views | 662 } // namespace views |
| 663 | 663 |
| 664 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 664 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| OLD | NEW |