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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_apitest.cc

Issue 658453002: Replace OVERRIDE with their C++11 counterparts in extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected Patch-set1 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "extensions/browser/guest_view/web_view/web_view_apitest.h" 5 #include "extensions/browser/guest_view/web_view/web_view_apitest.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 class WebContentsHiddenObserver : public content::WebContentsObserver { 75 class WebContentsHiddenObserver : public content::WebContentsObserver {
76 public: 76 public:
77 WebContentsHiddenObserver(content::WebContents* web_contents, 77 WebContentsHiddenObserver(content::WebContents* web_contents,
78 const base::Closure& hidden_callback) 78 const base::Closure& hidden_callback)
79 : WebContentsObserver(web_contents), 79 : WebContentsObserver(web_contents),
80 hidden_callback_(hidden_callback), 80 hidden_callback_(hidden_callback),
81 hidden_observed_(false) { 81 hidden_observed_(false) {
82 } 82 }
83 83
84 // WebContentsObserver. 84 // WebContentsObserver.
85 virtual void WasHidden() OVERRIDE { 85 virtual void WasHidden() override {
86 hidden_observed_ = true; 86 hidden_observed_ = true;
87 hidden_callback_.Run(); 87 hidden_callback_.Run();
88 } 88 }
89 89
90 bool hidden_observed() { return hidden_observed_; } 90 bool hidden_observed() { return hidden_observed_; }
91 91
92 private: 92 private:
93 base::Closure hidden_callback_; 93 base::Closure hidden_callback_;
94 bool hidden_observed_; 94 bool hidden_observed_;
95 95
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 // object, on the webview element, and hanging directly off webview. 669 // object, on the webview element, and hanging directly off webview.
670 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIExistence) { 670 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIExistence) {
671 RunTest("testWebRequestAPIExistence", "web_view/apitest"); 671 RunTest("testWebRequestAPIExistence", "web_view/apitest");
672 } 672 }
673 673
674 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIGoogleProperty) { 674 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIGoogleProperty) {
675 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); 675 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest");
676 } 676 }
677 677
678 } // namespace extensions 678 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698