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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 633553002: Replace OVERRIDE and FINAL with override and final in content/browser/browser_plugin/[a-s]* (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/browser_plugin/browser_plugin_guest.h" 5 #include "content/browser/browser_plugin/browser_plugin_guest.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/pickle.h" 10 #include "base/pickle.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 public: 48 public:
49 explicit EmbedderWebContentsObserver(BrowserPluginGuest* guest) 49 explicit EmbedderWebContentsObserver(BrowserPluginGuest* guest)
50 : WebContentsObserver(guest->embedder_web_contents()), 50 : WebContentsObserver(guest->embedder_web_contents()),
51 browser_plugin_guest_(guest) { 51 browser_plugin_guest_(guest) {
52 } 52 }
53 53
54 virtual ~EmbedderWebContentsObserver() { 54 virtual ~EmbedderWebContentsObserver() {
55 } 55 }
56 56
57 // WebContentsObserver implementation. 57 // WebContentsObserver implementation.
58 virtual void WasShown() OVERRIDE { 58 virtual void WasShown() override {
59 browser_plugin_guest_->EmbedderVisibilityChanged(true); 59 browser_plugin_guest_->EmbedderVisibilityChanged(true);
60 } 60 }
61 61
62 virtual void WasHidden() OVERRIDE { 62 virtual void WasHidden() override {
63 browser_plugin_guest_->EmbedderVisibilityChanged(false); 63 browser_plugin_guest_->EmbedderVisibilityChanged(false);
64 } 64 }
65 65
66 private: 66 private:
67 BrowserPluginGuest* browser_plugin_guest_; 67 BrowserPluginGuest* browser_plugin_guest_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(EmbedderWebContentsObserver); 69 DISALLOW_COPY_AND_ASSIGN(EmbedderWebContentsObserver);
70 }; 70 };
71 71
72 BrowserPluginGuest::BrowserPluginGuest(bool has_render_view, 72 BrowserPluginGuest::BrowserPluginGuest(bool has_render_view,
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 void BrowserPluginGuest::OnImeCompositionRangeChanged( 804 void BrowserPluginGuest::OnImeCompositionRangeChanged(
805 const gfx::Range& range, 805 const gfx::Range& range,
806 const std::vector<gfx::Rect>& character_bounds) { 806 const std::vector<gfx::Rect>& character_bounds) {
807 static_cast<RenderWidgetHostViewBase*>( 807 static_cast<RenderWidgetHostViewBase*>(
808 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged( 808 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged(
809 range, character_bounds); 809 range, character_bounds);
810 } 810 }
811 #endif 811 #endif
812 812
813 } // namespace content 813 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.h ('k') | content/browser/browser_plugin/browser_plugin_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698