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

Side by Side Diff: webkit/glue/plugins/plugin_host.cc

Issue 343069: To facilitate apatrick's work on the 3D renderer for Pepper,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « webkit/glue/plugins/nphostapi.h ('k') | webkit/glue/webplugin_delegate.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) 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 // Pepper API support should be turned on for this module. 5 // Pepper API support should be turned on for this module.
6 #define PEPPER_APIS_ENABLED 6 #define PEPPER_APIS_ENABLED
7 7
8 #include "webkit/glue/plugins/plugin_host.h" 8 #include "webkit/glue/plugins/plugin_host.h"
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "base/string_piece.h" 13 #include "base/string_piece.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/sys_string_conversions.h" 15 #include "base/sys_string_conversions.h"
16 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
17 #include "webkit/api/public/WebBindings.h" 17 #include "webkit/api/public/WebBindings.h"
18 #include "webkit/default_plugin/default_plugin_shared.h" 18 #include "webkit/default_plugin/default_plugin_shared.h"
19 #include "webkit/glue/glue_util.h" 19 #include "webkit/glue/glue_util.h"
20 #include "webkit/glue/webplugininfo.h" 20 #include "webkit/glue/webplugininfo.h"
21 #include "webkit/glue/webplugin_delegate.h" 21 #include "webkit/glue/webplugin_delegate.h"
22 #include "webkit/glue/webkit_glue.h" 22 #include "webkit/glue/webkit_glue.h"
23 #include "webkit/glue/pepper/pepper.h"
23 #include "webkit/glue/plugins/plugin_instance.h" 24 #include "webkit/glue/plugins/plugin_instance.h"
24 #include "webkit/glue/plugins/plugin_lib.h" 25 #include "webkit/glue/plugins/plugin_lib.h"
25 #include "webkit/glue/plugins/plugin_list.h" 26 #include "webkit/glue/plugins/plugin_list.h"
26 #include "webkit/glue/plugins/plugin_stream_url.h" 27 #include "webkit/glue/plugins/plugin_stream_url.h"
27 #include "third_party/npapi/bindings/npruntime.h" 28 #include "third_party/npapi/bindings/npruntime.h"
28 29
29 using WebKit::WebBindings; 30 using WebKit::WebBindings;
30 31
31 namespace NPAPI 32 namespace NPAPI
32 { 33 {
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 1108
1108 return plugin->ScheduleTimer(interval, repeat, func); 1109 return plugin->ScheduleTimer(interval, repeat, func);
1109 } 1110 }
1110 1111
1111 void NPN_UnscheduleTimer(NPP id, uint32 timer_id) { 1112 void NPN_UnscheduleTimer(NPP id, uint32 timer_id) {
1112 scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id); 1113 scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id);
1113 if (plugin) 1114 if (plugin)
1114 plugin->UnscheduleTimer(timer_id); 1115 plugin->UnscheduleTimer(timer_id);
1115 } 1116 }
1116 } // extern "C" 1117 } // extern "C"
OLDNEW
« no previous file with comments | « webkit/glue/plugins/nphostapi.h ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698