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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 const SkBitmap& app_icon) OVERRIDE; | 224 const SkBitmap& app_icon) OVERRIDE; |
225 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 225 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
226 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 226 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
227 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 227 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
228 virtual void BecomeModal() OVERRIDE; | 228 virtual void BecomeModal() OVERRIDE; |
229 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 229 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
230 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 230 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
231 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 231 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
232 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 232 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
233 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 233 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
234 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | |
235 Widget* other_widget) OVERRIDE; | |
236 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 234 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
237 virtual void MoveToTop() OVERRIDE; | 235 virtual void MoveToTop() OVERRIDE; |
238 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 236 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
239 virtual void Close() OVERRIDE; | 237 virtual void Close() OVERRIDE; |
240 virtual void CloseNow() OVERRIDE; | 238 virtual void CloseNow() OVERRIDE; |
241 virtual void EnableClose(bool enable) OVERRIDE; | 239 virtual void EnableClose(bool enable) OVERRIDE; |
242 virtual void Show() OVERRIDE; | 240 virtual void Show() OVERRIDE; |
243 virtual void Hide() OVERRIDE; | 241 virtual void Hide() OVERRIDE; |
244 virtual void ShowMaximizedWithBounds( | 242 virtual void ShowMaximizedWithBounds( |
245 const gfx::Rect& restored_bounds) OVERRIDE; | 243 const gfx::Rect& restored_bounds) OVERRIDE; |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 // rather than asking the Widget for the non_client_view so that we know at | 666 // rather than asking the Widget for the non_client_view so that we know at |
669 // Init time, before the Widget has created the NonClientView. | 667 // Init time, before the Widget has created the NonClientView. |
670 bool has_non_client_view_; | 668 bool has_non_client_view_; |
671 | 669 |
672 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 670 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
673 }; | 671 }; |
674 | 672 |
675 } // namespace views | 673 } // namespace views |
676 | 674 |
677 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 675 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |