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

Side by Side Diff: components/test_runner/event_sender.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_
6 #define COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ 6 #define COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_
7 7
8 #include <stdint.h>
9
8 #include <queue> 10 #include <queue>
9 #include <string> 11 #include <string>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/macros.h" 14 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
15 #include "build/build_config.h" 17 #include "build/build_config.h"
16 #include "components/test_runner/web_task.h" 18 #include "components/test_runner/web_task.h"
17 #include "third_party/WebKit/public/platform/WebDragData.h" 19 #include "third_party/WebKit/public/platform/WebDragData.h"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // Time and place of the last mouse up event. 283 // Time and place of the last mouse up event.
282 double last_click_time_sec_; 284 double last_click_time_sec_;
283 blink::WebPoint last_click_pos_; 285 blink::WebPoint last_click_pos_;
284 286
285 // The last button number passed to mouseDown and mouseUp. 287 // The last button number passed to mouseDown and mouseUp.
286 // Used to determine whether the click count continues to increment or not. 288 // Used to determine whether the click count continues to increment or not.
287 static blink::WebMouseEvent::Button last_button_type_; 289 static blink::WebMouseEvent::Button last_button_type_;
288 290
289 blink::WebDragOperation current_drag_effect_; 291 blink::WebDragOperation current_drag_effect_;
290 292
291 uint32 time_offset_ms_; 293 uint32_t time_offset_ms_;
292 int click_count_; 294 int click_count_;
293 // Timestamp (in seconds) of the last event that was dispatched 295 // Timestamp (in seconds) of the last event that was dispatched
294 double last_event_timestamp_; 296 double last_event_timestamp_;
295 297
296 base::WeakPtrFactory<EventSender> weak_factory_; 298 base::WeakPtrFactory<EventSender> weak_factory_;
297 299
298 DISALLOW_COPY_AND_ASSIGN(EventSender); 300 DISALLOW_COPY_AND_ASSIGN(EventSender);
299 }; 301 };
300 302
301 } // namespace test_runner 303 } // namespace test_runner
302 304
303 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ 305 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_
OLDNEW
« no previous file with comments | « components/test_runner/blink_test_platform_support_win.cc ('k') | components/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698