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

Side by Side Diff: ui/aura/test/event_generator.h

Issue 23477022: Two changes to desktop aura for tooltips: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2013 Created 7 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 | « no previous file | ui/aura/test/event_generator.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 #ifndef UI_AURA_TEST_EVENT_GENERATOR_H_ 5 #ifndef UI_AURA_TEST_EVENT_GENERATOR_H_
6 #define UI_AURA_TEST_EVENT_GENERATOR_H_ 6 #define UI_AURA_TEST_EVENT_GENERATOR_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // Generates a double click event using the left button. 129 // Generates a double click event using the left button.
130 void DoubleClickLeftButton(); 130 void DoubleClickLeftButton();
131 131
132 // Generates a right button press event. 132 // Generates a right button press event.
133 void PressRightButton(); 133 void PressRightButton();
134 134
135 // Generates a right button release event. 135 // Generates a right button release event.
136 void ReleaseRightButton(); 136 void ReleaseRightButton();
137 137
138 // Generates a mouse exit.
139 void SendMouseExit();
140
138 // Generates events to move mouse to be the given |point| in the 141 // Generates events to move mouse to be the given |point| in the
139 // |current_root_window_|'s host window coordinates. 142 // |current_root_window_|'s host window coordinates.
140 void MoveMouseToInHost(const gfx::Point& point_in_host); 143 void MoveMouseToInHost(const gfx::Point& point_in_host);
141 void MoveMouseToInHost(int x, int y) { 144 void MoveMouseToInHost(int x, int y) {
142 MoveMouseToInHost(gfx::Point(x, y)); 145 MoveMouseToInHost(gfx::Point(x, y));
143 } 146 }
144 147
145 // Generates events to move mouse to be the given |point| in screen 148 // Generates events to move mouse to be the given |point| in screen
146 // coordinates. 149 // coordinates.
147 void MoveMouseTo(const gfx::Point& point_in_screen, int count); 150 void MoveMouseTo(const gfx::Point& point_in_screen, int count);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // Set to true to cause events to be posted asynchronously. 314 // Set to true to cause events to be posted asynchronously.
312 bool async_; 315 bool async_;
313 316
314 DISALLOW_COPY_AND_ASSIGN(EventGenerator); 317 DISALLOW_COPY_AND_ASSIGN(EventGenerator);
315 }; 318 };
316 319
317 } // namespace test 320 } // namespace test
318 } // namespace aura 321 } // namespace aura
319 322
320 #endif // UI_AURA_TEST_EVENT_GENERATOR_H_ 323 #endif // UI_AURA_TEST_EVENT_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/test/event_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698