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

Side by Side Diff: chrome/plugin/webplugin_proxy.cc

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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
« no previous file with comments | « chrome/plugin/webplugin_proxy.h ('k') | chrome/renderer/geolocation_dispatcher_old.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/plugin/webplugin_proxy.h" 5 #include "chrome/plugin/webplugin_proxy.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include "app/win_util.h" 10 #include "app/win_util.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 109
110 bool WebPluginProxy::Send(IPC::Message* msg) { 110 bool WebPluginProxy::Send(IPC::Message* msg) {
111 return channel_->Send(msg); 111 return channel_->Send(msg);
112 } 112 }
113 113
114 void WebPluginProxy::SetWindow(gfx::PluginWindowHandle window) { 114 void WebPluginProxy::SetWindow(gfx::PluginWindowHandle window) {
115 Send(new PluginHostMsg_SetWindow(route_id_, window)); 115 Send(new PluginHostMsg_SetWindow(route_id_, window));
116 } 116 }
117 117
118 void WebPluginProxy::SetAcceptsInputEvents(bool accepts) {
119 NOTREACHED();
120 }
121
118 void WebPluginProxy::WillDestroyWindow(gfx::PluginWindowHandle window) { 122 void WebPluginProxy::WillDestroyWindow(gfx::PluginWindowHandle window) {
119 #if defined(OS_WIN) 123 #if defined(OS_WIN)
120 PluginThread::current()->Send( 124 PluginThread::current()->Send(
121 new PluginProcessHostMsg_PluginWindowDestroyed( 125 new PluginProcessHostMsg_PluginWindowDestroyed(
122 window, ::GetParent(window))); 126 window, ::GetParent(window)));
123 #elif defined(USE_X11) 127 #elif defined(USE_X11)
124 // Nothing to do. 128 // Nothing to do.
125 #else 129 #else
126 NOTIMPLEMENTED(); 130 NOTIMPLEMENTED();
127 #endif 131 #endif
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 } else { 729 } else {
726 index++; 730 index++;
727 } 731 }
728 } 732 }
729 } 733 }
730 734
731 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) { 735 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) {
732 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id)); 736 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id));
733 } 737 }
734 738
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.h ('k') | chrome/renderer/geolocation_dispatcher_old.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698