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

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

Issue 11588: Remove base versions of the graphics headers, which previously just forwarded... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/common/gfx/chrome_canvas.h ('k') | chrome/plugin/webplugin_proxy.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/plugin/webplugin_delegate_stub.h" 5 #include "chrome/plugin/webplugin_delegate_stub.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "base/gfx/platform_device_win.h"
10 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
11 #include "chrome/common/gfx/emf.h" 10 #include "chrome/common/gfx/emf.h"
12 #include "chrome/common/plugin_messages.h" 11 #include "chrome/common/plugin_messages.h"
13 #include "chrome/common/win_util.h" 12 #include "chrome/common/win_util.h"
14 #include "chrome/plugin/npobject_stub.h" 13 #include "chrome/plugin/npobject_stub.h"
15 #include "chrome/plugin/plugin_channel.h" 14 #include "chrome/plugin/plugin_channel.h"
16 #include "chrome/plugin/plugin_thread.h" 15 #include "chrome/plugin/plugin_thread.h"
17 #include "chrome/plugin/webplugin_proxy.h" 16 #include "chrome/plugin/webplugin_proxy.h"
18 #include "third_party/npapi/bindings/npapi.h" 17 #include "third_party/npapi/bindings/npapi.h"
19 #include "third_party/npapi/bindings/npruntime.h" 18 #include "third_party/npapi/bindings/npruntime.h"
19 #include "skia/ext/platform_device.h"
20 #include "webkit/glue/plugins/webplugin_delegate_impl.h" 20 #include "webkit/glue/plugins/webplugin_delegate_impl.h"
21 #include "webkit/glue/webcursor.h" 21 #include "webkit/glue/webcursor.h"
22 22
23 class FinishDestructionTask : public Task { 23 class FinishDestructionTask : public Task {
24 public: 24 public:
25 FinishDestructionTask(WebPluginDelegate* delegate, WebPlugin* webplugin) 25 FinishDestructionTask(WebPluginDelegate* delegate, WebPlugin* webplugin)
26 : delegate_(delegate), webplugin_(webplugin) { } 26 : delegate_(delegate), webplugin_(webplugin) { }
27 27
28 void Run() { 28 void Run() {
29 // WebPlugin must outlive WebPluginDelegate. 29 // WebPlugin must outlive WebPluginDelegate.
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 params.stream); 334 params.stream);
335 webplugin_->OnResourceCreated(params.resource_id, resource_client); 335 webplugin_->OnResourceCreated(params.resource_id, resource_client);
336 } 336 }
337 337
338 void WebPluginDelegateStub::OnURLRequestRouted(const std::string& url, 338 void WebPluginDelegateStub::OnURLRequestRouted(const std::string& url,
339 bool notify_needed, 339 bool notify_needed,
340 HANDLE notify_data) { 340 HANDLE notify_data) {
341 delegate_->URLRequestRouted(url, notify_needed, notify_data); 341 delegate_->URLRequestRouted(url, notify_needed, notify_data);
342 } 342 }
343 343
OLDNEW
« no previous file with comments | « chrome/common/gfx/chrome_canvas.h ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698