| 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_WINDOW_NATIVE_WINDOW_VIEWS_H_ | 5 #ifndef VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ |
| 6 #define VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ | 6 #define VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "views/window/native_window.h" | 10 #include "views/window/native_window.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 public: | 22 public: |
| 23 NativeWindowViews(View* host, internal::NativeWindowDelegate* delegate); | 23 NativeWindowViews(View* host, internal::NativeWindowDelegate* delegate); |
| 24 virtual ~NativeWindowViews(); | 24 virtual ~NativeWindowViews(); |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 // Overridden from NativeWindow: | 27 // Overridden from NativeWindow: |
| 28 virtual Window* GetWindow() OVERRIDE; | 28 virtual Window* GetWindow() OVERRIDE; |
| 29 virtual const Window* GetWindow() const OVERRIDE; | 29 virtual const Window* GetWindow() const OVERRIDE; |
| 30 virtual NativeWidget* AsNativeWidget() OVERRIDE; | 30 virtual NativeWidget* AsNativeWidget() OVERRIDE; |
| 31 virtual const NativeWidget* AsNativeWidget() const OVERRIDE; | 31 virtual const NativeWidget* AsNativeWidget() const OVERRIDE; |
| 32 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | |
| 33 virtual void ShowNativeWindow(ShowState state) OVERRIDE; | |
| 34 virtual void BecomeModal() OVERRIDE; | 32 virtual void BecomeModal() OVERRIDE; |
| 35 virtual void EnableClose(bool enable) OVERRIDE; | |
| 36 | 33 |
| 37 internal::NativeWindowDelegate* delegate_; | 34 internal::NativeWindowDelegate* delegate_; |
| 38 | 35 |
| 39 DISALLOW_COPY_AND_ASSIGN(NativeWindowViews); | 36 DISALLOW_COPY_AND_ASSIGN(NativeWindowViews); |
| 40 }; | 37 }; |
| 41 | 38 |
| 42 } | 39 } |
| 43 | 40 |
| 44 #endif // VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ | 41 #endif // VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ |
| OLD | NEW |