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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 628213003: Replace OVERRIDE and FINAL with override and final in content/browser/web_contents (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // WebContentsImpl::DestructionObserver ---------------------------------------- 302 // WebContentsImpl::DestructionObserver ----------------------------------------
303 303
304 class WebContentsImpl::DestructionObserver : public WebContentsObserver { 304 class WebContentsImpl::DestructionObserver : public WebContentsObserver {
305 public: 305 public:
306 DestructionObserver(WebContentsImpl* owner, WebContents* watched_contents) 306 DestructionObserver(WebContentsImpl* owner, WebContents* watched_contents)
307 : WebContentsObserver(watched_contents), 307 : WebContentsObserver(watched_contents),
308 owner_(owner) { 308 owner_(owner) {
309 } 309 }
310 310
311 // WebContentsObserver: 311 // WebContentsObserver:
312 virtual void WebContentsDestroyed() OVERRIDE { 312 virtual void WebContentsDestroyed() override {
313 owner_->OnWebContentsDestroyed( 313 owner_->OnWebContentsDestroyed(
314 static_cast<WebContentsImpl*>(web_contents())); 314 static_cast<WebContentsImpl*>(web_contents()));
315 } 315 }
316 316
317 private: 317 private:
318 WebContentsImpl* owner_; 318 WebContentsImpl* owner_;
319 319
320 DISALLOW_COPY_AND_ASSIGN(DestructionObserver); 320 DISALLOW_COPY_AND_ASSIGN(DestructionObserver);
321 }; 321 };
322 322
(...skipping 4050 matching lines...) Expand 10 before | Expand all | Expand 10 after
4373 node->render_manager()->ResumeResponseDeferredAtStart(); 4373 node->render_manager()->ResumeResponseDeferredAtStart();
4374 } 4374 }
4375 4375
4376 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { 4376 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
4377 force_disable_overscroll_content_ = force_disable; 4377 force_disable_overscroll_content_ = force_disable;
4378 if (view_) 4378 if (view_)
4379 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); 4379 view_->SetOverscrollControllerEnabled(CanOverscrollContent());
4380 } 4380 }
4381 4381
4382 } // namespace content 4382 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/browser/web_contents/web_contents_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698