| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WINDOW_TREE_HOST_MAC_H_ | 5 #ifndef UI_AURA_WINDOW_TREE_HOST_MAC_H_ |
| 6 #define UI_AURA_WINDOW_TREE_HOST_MAC_H_ | 6 #define UI_AURA_WINDOW_TREE_HOST_MAC_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void SetCapture() OVERRIDE; | 42 virtual void SetCapture() OVERRIDE; |
| 43 virtual void ReleaseCapture() OVERRIDE; | 43 virtual void ReleaseCapture() OVERRIDE; |
| 44 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 44 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
| 45 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 45 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
| 46 virtual void UnConfineCursor() OVERRIDE; | 46 virtual void UnConfineCursor() OVERRIDE; |
| 47 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; | 47 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; |
| 48 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 48 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
| 49 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 49 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
| 50 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; | 50 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; |
| 51 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 51 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 52 virtual void PrepareForShutdown() OVERRIDE; |
| 52 | 53 |
| 53 private: | 54 private: |
| 54 base::scoped_nsobject<NSWindow> window_; | 55 base::scoped_nsobject<NSWindow> window_; |
| 55 | 56 |
| 56 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMac); | 57 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMac); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 } // namespace aura | 60 } // namespace aura |
| 60 | 61 |
| 61 #endif // UI_AURA_WINDOW_TREE_HOST_MAC_H_ | 62 #endif // UI_AURA_WINDOW_TREE_HOST_MAC_H_ |
| OLD | NEW |