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 #include <windowsx.h> | 5 #include <windowsx.h> |
6 | 6 |
7 #include "ui/base/events.h" | 7 #include "ui/base/events.h" |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // Not supported in Windows. | 259 // Not supported in Windows. |
260 *start_time = 0; | 260 *start_time = 0; |
261 *end_time = 0; | 261 *end_time = 0; |
262 return false; | 262 return false; |
263 } | 263 } |
264 | 264 |
265 void UpdateDeviceList() { | 265 void UpdateDeviceList() { |
266 NOTIMPLEMENTED(); | 266 NOTIMPLEMENTED(); |
267 } | 267 } |
268 | 268 |
269 bool IsNoopEvent(base::NativeEvent event) { | 269 bool IsNoopEvent(const base::NativeEvent& event) { |
270 return event.message == WM_USER + 310; | 270 return event.message == WM_USER + 310; |
271 } | 271 } |
272 | 272 |
273 base::NativeEvent CreateNoopEvent() { | 273 base::NativeEvent CreateNoopEvent() { |
274 MSG event = { NULL }; | 274 MSG event = { NULL }; |
275 event.message = WM_USER + 310; | 275 event.message = WM_USER + 310; |
276 return event; | 276 return event; |
277 } | 277 } |
278 | 278 |
279 } // namespace ui | 279 } // namespace ui |
OLD | NEW |