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

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

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/test/automated_ui_tests/automated_ui_tests.cc » ('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) 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 "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <atlbase.h> 10 #include <atlbase.h>
(...skipping 17 matching lines...) Expand all
28 #include "googleurl/src/gurl.h" 28 #include "googleurl/src/gurl.h"
29 #include "grit/generated_resources.h" 29 #include "grit/generated_resources.h"
30 #include "net/base/mime_util.h" 30 #include "net/base/mime_util.h"
31 #include "webkit/glue/webframe.h" 31 #include "webkit/glue/webframe.h"
32 #include "webkit/glue/webkit_glue.h" 32 #include "webkit/glue/webkit_glue.h"
33 #include "webkit/glue/webplugin.h" 33 #include "webkit/glue/webplugin.h"
34 #include "webkit/glue/webview.h" 34 #include "webkit/glue/webview.h"
35 35
36 #if defined(OS_WIN) 36 #if defined(OS_WIN)
37 #include "chrome/common/gfx/emf.h" 37 #include "chrome/common/gfx/emf.h"
38 #include "chrome/common/win_util.h"
39 #endif 38 #endif
40 39
41 // Proxy for WebPluginResourceClient. The object owns itself after creation, 40 // Proxy for WebPluginResourceClient. The object owns itself after creation,
42 // deleting itself after its callback has been called. 41 // deleting itself after its callback has been called.
43 class ResourceClientProxy : public WebPluginResourceClient { 42 class ResourceClientProxy : public WebPluginResourceClient {
44 public: 43 public:
45 ResourceClientProxy(PluginChannelHost* channel, int instance_id) 44 ResourceClientProxy(PluginChannelHost* channel, int instance_id)
46 : channel_(channel), instance_id_(instance_id), resource_id_(0), 45 : channel_(channel), instance_id_(instance_id), resource_id_(0),
47 notify_needed_(false), notify_data_(NULL), 46 notify_needed_(false), notify_data_(NULL),
48 multibyte_response_expected_(false) { 47 multibyte_response_expected_(false) {
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 plugin_->CancelDocumentLoad(); 824 plugin_->CancelDocumentLoad();
826 } 825 }
827 826
828 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( 827 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest(
829 const std::string& url, const std::string& range_info, 828 const std::string& url, const std::string& range_info,
830 intptr_t existing_stream, bool notify_needed, intptr_t notify_data) { 829 intptr_t existing_stream, bool notify_needed, intptr_t notify_data) {
831 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), 830 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(),
832 existing_stream, notify_needed, 831 existing_stream, notify_needed,
833 notify_data); 832 notify_data);
834 } 833 }
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/test/automated_ui_tests/automated_ui_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698