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

Unified Diff: chrome/test/chromedriver/chrome/stub_web_view.h

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: chrome/test/chromedriver/chrome/stub_web_view.h
diff --git a/chrome/test/chromedriver/chrome/stub_web_view.h b/chrome/test/chromedriver/chrome/stub_web_view.h
index 8ebd374d9264baa672de900f2df8c27264fa57ab..f282082d6146c2122b95b510ed77328a0042efae 100644
--- a/chrome/test/chromedriver/chrome/stub_web_view.h
+++ b/chrome/test/chromedriver/chrome/stub_web_view.h
@@ -18,58 +18,58 @@ class StubWebView : public WebView {
virtual ~StubWebView();
// Overridden from WebView:
- virtual std::string GetId() OVERRIDE;
- virtual bool WasCrashed() OVERRIDE;
- virtual Status ConnectIfNecessary() OVERRIDE;
- virtual Status HandleReceivedEvents() OVERRIDE;
- virtual Status Load(const std::string& url) OVERRIDE;
- virtual Status Reload() OVERRIDE;
+ virtual std::string GetId() override;
+ virtual bool WasCrashed() override;
+ virtual Status ConnectIfNecessary() override;
+ virtual Status HandleReceivedEvents() override;
+ virtual Status Load(const std::string& url) override;
+ virtual Status Reload() override;
virtual Status EvaluateScript(const std::string& frame,
const std::string& function,
- scoped_ptr<base::Value>* result) OVERRIDE;
+ scoped_ptr<base::Value>* result) override;
virtual Status CallFunction(const std::string& frame,
const std::string& function,
const base::ListValue& args,
- scoped_ptr<base::Value>* result) OVERRIDE;
+ scoped_ptr<base::Value>* result) override;
virtual Status CallAsyncFunction(const std::string& frame,
const std::string& function,
const base::ListValue& args,
const base::TimeDelta& timeout,
- scoped_ptr<base::Value>* result) OVERRIDE;
+ scoped_ptr<base::Value>* result) override;
virtual Status CallUserAsyncFunction(
const std::string& frame,
const std::string& function,
const base::ListValue& args,
const base::TimeDelta& timeout,
- scoped_ptr<base::Value>* result) OVERRIDE;
+ scoped_ptr<base::Value>* result) override;
virtual Status GetFrameByFunction(const std::string& frame,
const std::string& function,
const base::ListValue& args,
- std::string* out_frame) OVERRIDE;
+ std::string* out_frame) override;
virtual Status DispatchMouseEvents(
- const std::list<MouseEvent>& events, const std::string& frame) OVERRIDE;
- virtual Status DispatchTouchEvent(const TouchEvent& event) OVERRIDE;
+ const std::list<MouseEvent>& events, const std::string& frame) override;
+ virtual Status DispatchTouchEvent(const TouchEvent& event) override;
virtual Status DispatchTouchEvents(
- const std::list<TouchEvent>& events) OVERRIDE;
- virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) OVERRIDE;
- virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) OVERRIDE;
+ const std::list<TouchEvent>& events) override;
+ virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) override;
+ virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) override;
virtual Status DeleteCookie(const std::string& name,
- const std::string& url) OVERRIDE;
+ const std::string& url) override;
virtual Status WaitForPendingNavigations(const std::string& frame_id,
const base::TimeDelta& timeout,
- bool stop_load_on_timeout) OVERRIDE;
+ bool stop_load_on_timeout) override;
virtual Status IsPendingNavigation(
- const std::string& frame_id, bool* is_pending) OVERRIDE;
- virtual JavaScriptDialogManager* GetJavaScriptDialogManager() OVERRIDE;
- virtual Status OverrideGeolocation(const Geoposition& geoposition) OVERRIDE;
- virtual Status CaptureScreenshot(std::string* screenshot) OVERRIDE;
+ const std::string& frame_id, bool* is_pending) override;
+ virtual JavaScriptDialogManager* GetJavaScriptDialogManager() override;
+ virtual Status OverrideGeolocation(const Geoposition& geoposition) override;
+ virtual Status CaptureScreenshot(std::string* screenshot) override;
virtual Status SetFileInputFiles(
const std::string& frame,
const base::DictionaryValue& element,
- const std::vector<base::FilePath>& files) OVERRIDE;
- virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) OVERRIDE;
- virtual Status StartProfile() OVERRIDE;
- virtual Status EndProfile(scoped_ptr<base::Value>* profile_data) OVERRIDE;
+ const std::vector<base::FilePath>& files) override;
+ virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) override;
+ virtual Status StartProfile() override;
+ virtual Status EndProfile(scoped_ptr<base::Value>* profile_data) override;
private:
std::string id_;
« no previous file with comments | « chrome/test/chromedriver/chrome/stub_devtools_client.h ('k') | chrome/test/chromedriver/chrome/web_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698