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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 2616123002: Prefix BrowserPluginDelegate methods. (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/browser_plugin/browser_plugin.h" 5 #include "content/renderer/browser_plugin/browser_plugin.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 position)); 506 position));
507 return true; 507 return true;
508 } 508 }
509 509
510 void BrowserPlugin::didReceiveResponse( 510 void BrowserPlugin::didReceiveResponse(
511 const blink::WebURLResponse& response) { 511 const blink::WebURLResponse& response) {
512 } 512 }
513 513
514 void BrowserPlugin::didReceiveData(const char* data, int data_length) { 514 void BrowserPlugin::didReceiveData(const char* data, int data_length) {
515 if (delegate_) 515 if (delegate_)
516 delegate_->DidReceiveData(data, data_length); 516 delegate_->PluginDidReceiveData(data, data_length);
517 } 517 }
518 518
519 void BrowserPlugin::didFinishLoading() { 519 void BrowserPlugin::didFinishLoading() {
520 if (delegate_) 520 if (delegate_)
521 delegate_->DidFinishLoading(); 521 delegate_->PluginDidFinishLoading();
522 } 522 }
523 523
524 void BrowserPlugin::didFailLoading(const blink::WebURLError& error) { 524 void BrowserPlugin::didFailLoading(const blink::WebURLError& error) {
525 } 525 }
526 526
527 bool BrowserPlugin::executeEditCommand(const blink::WebString& name) { 527 bool BrowserPlugin::executeEditCommand(const blink::WebString& name) {
528 BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_ExecuteEditCommand( 528 BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_ExecuteEditCommand(
529 browser_plugin_instance_id_, 529 browser_plugin_instance_id_,
530 name.utf8())); 530 name.utf8()));
531 531
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 610
611 bool BrowserPlugin::HandleMouseLockedInputEvent( 611 bool BrowserPlugin::HandleMouseLockedInputEvent(
612 const blink::WebMouseEvent& event) { 612 const blink::WebMouseEvent& event) {
613 BrowserPluginManager::Get()->Send( 613 BrowserPluginManager::Get()->Send(
614 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, 614 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_,
615 &event)); 615 &event));
616 return true; 616 return true;
617 } 617 }
618 618
619 } // namespace content 619 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698