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

Side by Side Diff: chrome/renderer/webplugin_delegate_proxy.cc

Issue 20015: Make it easier to create new IPC channel types (i.e. renderer/plugin). Inste... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/renderer/webplugin_delegate_proxy.h" 5 #include "chrome/renderer/webplugin_delegate_proxy.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 8
9 #include "generated_resources.h" 9 #include "generated_resources.h"
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/gfx/size.h" 14 #include "base/gfx/size.h"
15 #include "base/gfx/native_widget_types.h" 15 #include "base/gfx/native_widget_types.h"
16 16
17 #include "chrome/app/chrome_dll_resource.h" 17 #include "chrome/app/chrome_dll_resource.h"
18 #include "chrome/common/gfx/chrome_canvas.h" 18 #include "chrome/common/gfx/chrome_canvas.h"
19 #include "chrome/common/gfx/emf.h" 19 #include "chrome/common/gfx/emf.h"
20 #include "chrome/common/l10n_util.h" 20 #include "chrome/common/l10n_util.h"
21 #include "chrome/common/plugin_messages.h"
21 #include "chrome/common/resource_bundle.h" 22 #include "chrome/common/resource_bundle.h"
22 #include "chrome/common/win_util.h" 23 #include "chrome/common/win_util.h"
23 #include "chrome/plugin/npobject_proxy.h" 24 #include "chrome/plugin/npobject_proxy.h"
24 #include "chrome/plugin/npobject_stub.h" 25 #include "chrome/plugin/npobject_stub.h"
25 #include "chrome/renderer/render_thread.h" 26 #include "chrome/renderer/render_thread.h"
26 #include "chrome/renderer/render_view.h" 27 #include "chrome/renderer/render_view.h"
27 #include "googleurl/src/gurl.h" 28 #include "googleurl/src/gurl.h"
28 #include "net/base/mime_util.h" 29 #include "net/base/mime_util.h"
29 #include "webkit/glue/glue_util.h" 30 #include "webkit/glue/glue_util.h"
30 #include "webkit/glue/webframe.h" 31 #include "webkit/glue/webframe.h"
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 plugin_->CancelDocumentLoad(); 753 plugin_->CancelDocumentLoad();
753 } 754 }
754 755
755 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( 756 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest(
756 const std::string& url, const std::string& range_info, 757 const std::string& url, const std::string& range_info,
757 HANDLE existing_stream, bool notify_needed, HANDLE notify_data) { 758 HANDLE existing_stream, bool notify_needed, HANDLE notify_data) {
758 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), 759 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(),
759 existing_stream, notify_needed, 760 existing_stream, notify_needed,
760 notify_data); 761 notify_data);
761 } 762 }
OLDNEW
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.h ('k') | chrome/test/automation/autocomplete_edit_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698