| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import <QuartzCore/QuartzCore.h> | 6 #import <QuartzCore/QuartzCore.h> |
| 7 | 7 |
| 8 #include "webkit/glue/plugins/webplugin_delegate_impl.h" | 8 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <unistd.h> | 11 #include <unistd.h> |
| 12 #include <set> | 12 #include <set> |
| 13 | 13 |
| 14 #include "base/file_util.h" | 14 #include "base/file_util.h" |
| 15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
| 16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
| 17 #include "base/scoped_ptr.h" | 17 #include "base/scoped_ptr.h" |
| 18 #include "base/stats_counters.h" | 18 #include "base/stats_counters.h" |
| 19 #include "base/string_util.h" | 19 #include "base/string_util.h" |
| 20 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" | 20 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
| 21 #include "webkit/default_plugin/plugin_impl.h" | |
| 22 #include "webkit/glue/plugins/plugin_instance.h" | 21 #include "webkit/glue/plugins/plugin_instance.h" |
| 23 #include "webkit/glue/plugins/plugin_lib.h" | 22 #include "webkit/glue/plugins/plugin_lib.h" |
| 24 #include "webkit/glue/plugins/plugin_list.h" | 23 #include "webkit/glue/plugins/plugin_list.h" |
| 25 #include "webkit/glue/plugins/plugin_stream_url.h" | 24 #include "webkit/glue/plugins/plugin_stream_url.h" |
| 26 #include "webkit/glue/plugins/plugin_web_event_converter_mac.h" | 25 #include "webkit/glue/plugins/plugin_web_event_converter_mac.h" |
| 27 #include "webkit/glue/plugins/webplugin.h" | 26 #include "webkit/glue/plugins/webplugin.h" |
| 28 #include "webkit/glue/webkit_glue.h" | 27 #include "webkit/glue/webkit_glue.h" |
| 29 | 28 |
| 30 #ifndef NP_NO_CARBON | 29 #ifndef NP_NO_CARBON |
| 31 #include "webkit/glue/plugins/carbon_plugin_window_tracker_mac.h" | 30 #include "webkit/glue/plugins/carbon_plugin_window_tracker_mac.h" |
| (...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1152 return; | 1151 return; |
| 1153 } | 1152 } |
| 1154 | 1153 |
| 1155 qd_manager_->SetFastPathEnabled(enabled); | 1154 qd_manager_->SetFastPathEnabled(enabled); |
| 1156 qd_port_.port = qd_manager_->port(); | 1155 qd_port_.port = qd_manager_->port(); |
| 1157 WindowlessSetWindow(); | 1156 WindowlessSetWindow(); |
| 1158 // Send a paint event so that the new buffer gets updated immediately. | 1157 // Send a paint event so that the new buffer gets updated immediately. |
| 1159 WindowlessPaint(buffer_context_, clip_rect_); | 1158 WindowlessPaint(buffer_context_, clip_rect_); |
| 1160 } | 1159 } |
| 1161 #endif // !NP_NO_QUICKDRAW | 1160 #endif // !NP_NO_QUICKDRAW |
| OLD | NEW |