Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Side by Side Diff: ui/base/win/events_win.cc

Issue 9599005: Coverity: Fix a pass-by-value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/events.h ('k') | ui/base/x/events_x.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/base/events.h ('k') | ui/base/x/events_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698