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

Unified Diff: content/shell/renderer/test_runner/event_sender.cc

Issue 566833002: Update WebTask in chromium c++ style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolved build error Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/event_sender.cc
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc
index e4db3f913027c7ca6332ea027e788336ab31cefd..186a4ae0ff3a70df7e91d6199c62d7ba8d958087 100644
--- a/content/shell/renderer/test_runner/event_sender.cc
+++ b/content/shell/renderer/test_runner/event_sender.cc
@@ -233,8 +233,8 @@ class MouseDownTask : public WebMethodTask<EventSender> {
button_number_(button_number),
modifiers_(modifiers) {}
- virtual void runIfValid() OVERRIDE {
- m_object->MouseDown(button_number_, modifiers_);
+ virtual void RunIfValid() OVERRIDE {
+ object_->MouseDown(button_number_, modifiers_);
}
private:
@@ -249,8 +249,8 @@ class MouseUpTask : public WebMethodTask<EventSender> {
button_number_(button_number),
modifiers_(modifiers) {}
- virtual void runIfValid() OVERRIDE {
- m_object->MouseUp(button_number_, modifiers_);
+ virtual void RunIfValid() OVERRIDE {
+ object_->MouseUp(button_number_, modifiers_);
}
private:
@@ -269,8 +269,8 @@ class KeyDownTask : public WebMethodTask<EventSender> {
modifiers_(modifiers),
location_(location) {}
- virtual void runIfValid() OVERRIDE {
- m_object->KeyDown(code_str_, modifiers_, location_);
+ virtual void RunIfValid() OVERRIDE {
+ object_->KeyDown(code_str_, modifiers_, location_);
}
private:
@@ -1112,7 +1112,7 @@ void EventSender::Reset() {
last_button_type_ = WebMouseEvent::ButtonNone;
touch_points_.clear();
last_context_menu_data_.reset();
- task_list_.revokeAll();
+ task_list_.RevokeAll();
current_gesture_location_ = WebPoint(0, 0);
mouse_event_queue_.clear();
« no previous file with comments | « content/shell/renderer/test_runner/event_sender.h ('k') | content/shell/renderer/test_runner/mock_color_chooser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698