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

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

Issue 387020: Upstreaming WebKit.gyp (Closed)
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
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 "third_party/WebKit/WebKit/chromium/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/pepper/pepper.h"
24 #include "webkit/glue/plugins/plugin_instance.h" 24 #include "webkit/glue/plugins/plugin_instance.h"
25 #include "webkit/glue/plugins/plugin_lib.h" 25 #include "webkit/glue/plugins/plugin_lib.h"
26 #include "webkit/glue/plugins/plugin_list.h" 26 #include "webkit/glue/plugins/plugin_list.h"
27 #include "webkit/glue/plugins/plugin_stream_url.h" 27 #include "webkit/glue/plugins/plugin_stream_url.h"
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 1118
1119 return plugin->ScheduleTimer(interval, repeat, func); 1119 return plugin->ScheduleTimer(interval, repeat, func);
1120 } 1120 }
1121 1121
1122 void NPN_UnscheduleTimer(NPP id, uint32 timer_id) { 1122 void NPN_UnscheduleTimer(NPP id, uint32 timer_id) {
1123 scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id); 1123 scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id);
1124 if (plugin) 1124 if (plugin)
1125 plugin->UnscheduleTimer(timer_id); 1125 plugin->UnscheduleTimer(timer_id);
1126 } 1126 }
1127 } // extern "C" 1127 } // extern "C"
OLDNEW
« no previous file with comments | « webkit/glue/password_form_dom_manager.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698