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

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | Annotate | Revision Log
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/renderer/pepper/pepper_plugin_delegate_impl.h" 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <cstddef> 8 #include <cstddef>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 } 223 }
224 virtual void DidFail(quota::QuotaStatusCode error) OVERRIDE { 224 virtual void DidFail(quota::QuotaStatusCode error) OVERRIDE {
225 callback_.Run(0); 225 callback_.Run(0);
226 } 226 }
227 private: 227 private:
228 PluginCallback callback_; 228 PluginCallback callback_;
229 }; 229 };
230 230
231 class PluginInstanceLockTarget : public MouseLockDispatcher::LockTarget { 231 class PluginInstanceLockTarget : public MouseLockDispatcher::LockTarget {
232 public: 232 public:
233 PluginInstanceLockTarget(webkit::ppapi::PluginInstance* plugin) 233 explicit PluginInstanceLockTarget(webkit::ppapi::PluginInstance* plugin)
234 : plugin_(plugin) {} 234 : plugin_(plugin) {}
235 235
236 virtual void OnLockMouseACK(bool succeeded) OVERRIDE { 236 virtual void OnLockMouseACK(bool succeeded) OVERRIDE {
237 plugin_->OnLockMouseACK(succeeded); 237 plugin_->OnLockMouseACK(succeeded);
238 } 238 }
239 239
240 virtual void OnMouseLockLost() OVERRIDE { 240 virtual void OnMouseLockLost() OVERRIDE {
241 plugin_->OnMouseLockLost(); 241 plugin_->OnMouseLockLost();
242 } 242 }
243 243
(...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 RenderWidgetFullscreenPepper* container = 1729 RenderWidgetFullscreenPepper* container =
1730 static_cast<RenderWidgetFullscreenPepper*>( 1730 static_cast<RenderWidgetFullscreenPepper*>(
1731 instance->fullscreen_container()); 1731 instance->fullscreen_container());
1732 return container->mouse_lock_dispatcher(); 1732 return container->mouse_lock_dispatcher();
1733 } else { 1733 } else {
1734 return render_view_->mouse_lock_dispatcher(); 1734 return render_view_->mouse_lock_dispatcher();
1735 } 1735 }
1736 } 1736 }
1737 1737
1738 } // namespace content 1738 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_in_process_router.cc ('k') | content/renderer/pepper/pepper_websocket_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698