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

Side by Side Diff: content/plugin/webplugin_delegate_stub.cc

Issue 23684023: Move the WebPluginResourceClient interface to its own header. Also fix up method order in webplugin… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 3 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
« no previous file with comments | « content/content_child.gypi ('k') | content/plugin/webplugin_proxy.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) 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/plugin/webplugin_delegate_stub.h" 5 #include "content/plugin/webplugin_delegate_stub.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "content/child/npapi/plugin_instance.h" 12 #include "content/child/npapi/plugin_instance.h"
13 #include "content/child/npapi/webplugin_delegate_impl.h" 13 #include "content/child/npapi/webplugin_delegate_impl.h"
14 #include "content/child/npapi/webplugin_resource_client.h"
14 #include "content/child/plugin_messages.h" 15 #include "content/child/plugin_messages.h"
15 #include "content/plugin/plugin_channel.h" 16 #include "content/plugin/plugin_channel.h"
16 #include "content/plugin/plugin_thread.h" 17 #include "content/plugin/plugin_thread.h"
17 #include "content/plugin/webplugin_proxy.h" 18 #include "content/plugin/webplugin_proxy.h"
18 #include "content/public/common/content_client.h" 19 #include "content/public/common/content_client.h"
19 #include "content/public/common/content_constants.h" 20 #include "content/public/common/content_constants.h"
20 #include "content/public/common/content_switches.h" 21 #include "content/public/common/content_switches.h"
21 #include "skia/ext/platform_device.h" 22 #include "skia/ext/platform_device.h"
22 #include "third_party/WebKit/public/web/WebBindings.h" 23 #include "third_party/WebKit/public/web/WebBindings.h"
23 #include "third_party/WebKit/public/web/WebCursorInfo.h" 24 #include "third_party/WebKit/public/web/WebCursorInfo.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 } 417 }
417 418
418 void WebPluginDelegateStub::OnHTTPRangeRequestReply( 419 void WebPluginDelegateStub::OnHTTPRangeRequestReply(
419 unsigned long resource_id, int range_request_id) { 420 unsigned long resource_id, int range_request_id) {
420 WebPluginResourceClient* resource_client = 421 WebPluginResourceClient* resource_client =
421 delegate_->CreateSeekableResourceClient(resource_id, range_request_id); 422 delegate_->CreateSeekableResourceClient(resource_id, range_request_id);
422 webplugin_->OnResourceCreated(resource_id, resource_client); 423 webplugin_->OnResourceCreated(resource_id, resource_client);
423 } 424 }
424 425
425 } // namespace content 426 } // namespace content
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/plugin/webplugin_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698