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

Side by Side Diff: base/event_synthesis_gtk.h

Issue 3337006: Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from bas... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 | « base/base.gyp ('k') | base/event_synthesis_gtk.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file declares routines for creating fake GDK events (at the moment, 5 // This file declares routines for creating fake GDK events (at the moment,
6 // only keyboard events). This is useful for a variety of testing purposes. 6 // only keyboard events). This is useful for a variety of testing purposes.
7 // NOTE: This should not be used outside of testing. 7 // NOTE: This should not be used outside of testing.
8 8
9 #ifndef BASE_EVENT_SYNTHESIS_GTK_ 9 #ifndef BASE_EVENT_SYNTHESIS_GTK_
10 #define BASE_EVENT_SYNTHESIS_GTK_ 10 #define BASE_EVENT_SYNTHESIS_GTK_
(...skipping 17 matching lines...) Expand all
28 // Ownership of the events in the vector is passed to the caller. 28 // Ownership of the events in the vector is passed to the caller.
29 void SynthesizeKeyPressEvents( 29 void SynthesizeKeyPressEvents(
30 GdkWindow* window, 30 GdkWindow* window,
31 base::KeyboardCode key, 31 base::KeyboardCode key,
32 bool control, bool shift, bool alt, 32 bool control, bool shift, bool alt,
33 std::vector<GdkEvent*>* events); 33 std::vector<GdkEvent*>* events);
34 34
35 } // namespace base 35 } // namespace base
36 36
37 #endif // BASE_EVENT_SYNTHESIS_GTK_ 37 #endif // BASE_EVENT_SYNTHESIS_GTK_
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/event_synthesis_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698