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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 5d46e43bdb1ac325f1f26800fca13868362da335..705fbb912c35fae2df8d56ee1010dfea2b765838 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -435,7 +435,7 @@ class WebContentsViewAura::WindowObserver
// Note: this is hard coding how Chrome layer adds its dialogs. Since NPAPI is
// going to be deprecated in a year, this is ok for now. The test for this is
// PrintPreviewTest.WindowedNPAPIPluginHidden.
- virtual void OnWindowAdded(aura::Window* new_window) override {
+ void OnWindowAdded(aura::Window* new_window) override {
if (!new_window->Contains(view_->window_.get())) {
// Skip the case when the parent moves to the root window.
if (new_window != host_window_) {
@@ -453,7 +453,7 @@ class WebContentsViewAura::WindowObserver
}
}
- virtual void OnWillRemoveWindow(aura::Window* window) override {
+ void OnWillRemoveWindow(aura::Window* window) override {
if (window == view_->window_)
return;
@@ -461,8 +461,7 @@ class WebContentsViewAura::WindowObserver
UpdateConstrainedWindows(window);
}
- virtual void OnWindowVisibilityChanged(aura::Window* window,
- bool visible) override {
+ void OnWindowVisibilityChanged(aura::Window* window, bool visible) override {
if (window == view_->window_ ||
window->parent() == host_window_ ||
window->parent() == view_->window_->GetRootWindow()) {

Powered by Google App Engine
This is Rietveld 408576698