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

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

Issue 8597010: Send fake event when event_type is set to exit menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use xdisplay_ Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "ui/base/keycodes/keyboard_code_conversion_win.h" 10 #include "ui/base/keycodes/keyboard_code_conversion_win.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 float GetTouchAngle(const base::NativeEvent& native_event) { 246 float GetTouchAngle(const base::NativeEvent& native_event) {
247 NOTIMPLEMENTED(); 247 NOTIMPLEMENTED();
248 return 0.0; 248 return 0.0;
249 } 249 }
250 250
251 float GetTouchForce(const base::NativeEvent& native_event) { 251 float GetTouchForce(const base::NativeEvent& native_event) {
252 NOTIMPLEMENTED(); 252 NOTIMPLEMENTED();
253 return 0.0; 253 return 0.0;
254 } 254 }
255 255
256 base::NativeEvent CreateNoopEvent() {
257 MSG event;
258 event.message = WM_USER;
259 event.wParam = 0;
260 event.lParam = 0;
261 return event;
262 }
263
256 } // namespace ui 264 } // 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