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 #include "ui/platform_window/win/win_window.h" | 5 #include "ui/platform_window/win/win_window.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "ui/events/event.h" | 9 #include "ui/events/event.h" |
10 #include "ui/events/event_utils.h" | 10 #include "ui/events/event_utils.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 } | 100 } |
101 | 101 |
102 void WinWindow::ToggleFullscreen() {} | 102 void WinWindow::ToggleFullscreen() {} |
103 | 103 |
104 void WinWindow::Maximize() {} | 104 void WinWindow::Maximize() {} |
105 | 105 |
106 void WinWindow::Minimize() {} | 106 void WinWindow::Minimize() {} |
107 | 107 |
108 void WinWindow::Restore() {} | 108 void WinWindow::Restore() {} |
109 | 109 |
110 void WinWindow::SetCursor(PlatformCursor cursor) {} | 110 void WinWindow::SetCursor(PlatformCursor cursor) { |
| 111 ::SetCursor(cursor); |
| 112 } |
111 | 113 |
112 void WinWindow::MoveCursorTo(const gfx::Point& location) {} | 114 void WinWindow::MoveCursorTo(const gfx::Point& location) {} |
113 | 115 |
114 void WinWindow::ConfineCursorToBounds(const gfx::Rect& bounds) { | 116 void WinWindow::ConfineCursorToBounds(const gfx::Rect& bounds) { |
115 } | 117 } |
116 | 118 |
117 PlatformImeController* WinWindow::GetPlatformImeController() { | 119 PlatformImeController* WinWindow::GetPlatformImeController() { |
118 return nullptr; | 120 return nullptr; |
119 } | 121 } |
120 | 122 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 189 |
188 namespace test { | 190 namespace test { |
189 | 191 |
190 // static | 192 // static |
191 void SetUsePopupAsRootWindowForTest(bool use) { | 193 void SetUsePopupAsRootWindowForTest(bool use) { |
192 use_popup_as_root_window_for_test = use; | 194 use_popup_as_root_window_for_test = use; |
193 } | 195 } |
194 | 196 |
195 } // namespace test | 197 } // namespace test |
196 } // namespace ui | 198 } // namespace ui |
OLD | NEW |