| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AURA_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_WIN_H_ |
| 6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ui/aura/root_window_host.h" | 10 #include "ui/aura/root_window_host.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 virtual void SetRootWindow(RootWindow* root_window) OVERRIDE; | 21 virtual void SetRootWindow(RootWindow* root_window) OVERRIDE; |
| 22 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 22 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 23 virtual void Show() OVERRIDE; | 23 virtual void Show() OVERRIDE; |
| 24 virtual void ToggleFullScreen() OVERRIDE; | 24 virtual void ToggleFullScreen() OVERRIDE; |
| 25 virtual gfx::Size GetSize() const OVERRIDE; | 25 virtual gfx::Size GetSize() const OVERRIDE; |
| 26 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 26 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 27 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 27 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| 28 virtual void SetCapture() OVERRIDE; | 28 virtual void SetCapture() OVERRIDE; |
| 29 virtual void ReleaseCapture() OVERRIDE; | 29 virtual void ReleaseCapture() OVERRIDE; |
| 30 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 30 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
| 31 virtual void SetCustomCursor(const gfx::PlatformCursor& cursor) OVERRIDE; |
| 31 virtual void ShowCursor(bool show) OVERRIDE; | 32 virtual void ShowCursor(bool show) OVERRIDE; |
| 32 virtual gfx::Point QueryMouseLocation() OVERRIDE; | 33 virtual gfx::Point QueryMouseLocation() OVERRIDE; |
| 33 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 34 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
| 34 virtual void UnConfineCursor() OVERRIDE; | 35 virtual void UnConfineCursor() OVERRIDE; |
| 35 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; | 36 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
| 36 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 37 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
| 37 | 38 |
| 38 private: | 39 private: |
| 39 BEGIN_MSG_MAP_EX(RootWindowHostWin) | 40 BEGIN_MSG_MAP_EX(RootWindowHostWin) |
| 40 // Range handlers must go first! | 41 // Range handlers must go first! |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 RECT saved_window_rect_; | 73 RECT saved_window_rect_; |
| 73 DWORD saved_window_style_; | 74 DWORD saved_window_style_; |
| 74 DWORD saved_window_ex_style_; | 75 DWORD saved_window_ex_style_; |
| 75 | 76 |
| 76 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin); | 77 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin); |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 } // namespace aura | 80 } // namespace aura |
| 80 | 81 |
| 81 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ | 82 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |