| OLD | NEW |
| 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "webkit/glue/plugins/webplugin_delegate_impl.h" | 7 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/file_util.h" | 12 #include "base/file_util.h" |
| 13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
| 14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
| 15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
| 16 #include "base/stats_counters.h" | 16 #include "base/stats_counters.h" |
| 17 #include "base/string_util.h" | 17 #include "base/string_util.h" |
| 18 #include "webkit/api/public/WebInputEvent.h" | 18 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
| 19 #include "webkit/default_plugin/plugin_impl.h" | 19 #include "webkit/default_plugin/plugin_impl.h" |
| 20 #include "webkit/glue/glue_util.h" | 20 #include "webkit/glue/glue_util.h" |
| 21 #include "webkit/glue/webplugin.h" | 21 #include "webkit/glue/webplugin.h" |
| 22 #include "webkit/glue/plugins/fake_plugin_window_tracker_mac.h" | 22 #include "webkit/glue/plugins/fake_plugin_window_tracker_mac.h" |
| 23 #include "webkit/glue/plugins/plugin_constants_win.h" | 23 #include "webkit/glue/plugins/plugin_constants_win.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" |
| 28 #include "webkit/glue/webkit_glue.h" | 28 #include "webkit/glue/webkit_glue.h" |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 | 853 |
| 854 #ifndef NP_NO_CARBON | 854 #ifndef NP_NO_CARBON |
| 855 if (instance_->event_model() == NPEventModelCarbon) { | 855 if (instance_->event_model() == NPEventModelCarbon) { |
| 856 MessageLoop::current()->PostDelayedTask(FROM_HERE, | 856 MessageLoop::current()->PostDelayedTask(FROM_HERE, |
| 857 null_event_factory_.NewRunnableMethod( | 857 null_event_factory_.NewRunnableMethod( |
| 858 &WebPluginDelegateImpl::OnNullEvent), | 858 &WebPluginDelegateImpl::OnNullEvent), |
| 859 kPluginIdleThrottleDelayMs); | 859 kPluginIdleThrottleDelayMs); |
| 860 } | 860 } |
| 861 #endif | 861 #endif |
| 862 } | 862 } |
| OLD | NEW |