diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 04:32:30 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 04:32:30 +0000 |
commit | e612d764f473f54807cb24bedc1b147bb9672ca6 (patch) | |
tree | 361f7de9eb49f81e201b6eefafa6cc8d7061d575 | |
parent | 711abaeaaec2bb552d9fe161200778f449fd2da0 (diff) | |
download | chromium_src-e612d764f473f54807cb24bedc1b147bb9672ca6.zip chromium_src-e612d764f473f54807cb24bedc1b147bb9672ca6.tar.gz chromium_src-e612d764f473f54807cb24bedc1b147bb9672ca6.tar.bz2 |
Move plugin-related files in webkit/glue to webkit/glue/plugins to make them
easier to find. With a random subset of files in webkit/glue, it's impossible
to predict where you should find a file. No code change
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/1559008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43177 0039d316-1c4b-4281-b951-d872f2087c98
48 files changed, 80 insertions, 80 deletions
diff --git a/chrome/browser/metrics/metrics_log.h b/chrome/browser/metrics/metrics_log.h index de17a36..34fa225 100644 --- a/chrome/browser/metrics/metrics_log.h +++ b/chrome/browser/metrics/metrics_log.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -17,7 +17,7 @@ #include "base/histogram.h" #include "base/time.h" #include "chrome/common/page_transition_types.h" -#include "webkit/glue/webplugininfo.h" +#include "webkit/glue/plugins/webplugininfo.h" struct AutocompleteLog; class DictionaryValue; diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h index 41f9620..b960e7d 100644 --- a/chrome/browser/metrics/metrics_service.h +++ b/chrome/browser/metrics/metrics_service.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -22,8 +22,8 @@ #include "chrome/browser/net/url_fetcher.h" #include "chrome/common/child_process_info.h" #include "chrome/common/notification_registrar.h" -#include "webkit/glue/webplugininfo.h" #include "testing/gtest/include/gtest/gtest_prod.h" +#include "webkit/glue/plugins/webplugininfo.h" #if defined(OS_CHROMEOS) #include "chrome/browser/chromeos/external_metrics.h" diff --git a/chrome/browser/plugin_process_host.h b/chrome/browser/plugin_process_host.h index 4c40cbc..a98c090 100644 --- a/chrome/browser/plugin_process_host.h +++ b/chrome/browser/plugin_process_host.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -20,7 +20,7 @@ #include "chrome/browser/renderer_host/resource_message_filter.h" #include "gfx/native_widget_types.h" #include "ipc/ipc_channel_handle.h" -#include "webkit/glue/webplugininfo.h" +#include "webkit/glue/plugins/webplugininfo.h" class URLRequestContext; struct ViewHostMsg_Resource_Request; diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h index f3214e0..bc793bc 100644 --- a/chrome/browser/plugin_service.h +++ b/chrome/browser/plugin_service.h @@ -19,7 +19,7 @@ #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "googleurl/src/gurl.h" -#include "webkit/glue/webplugininfo.h" +#include "webkit/glue/plugins/webplugininfo.h" #if defined(OS_WIN) #include "base/registry.h" diff --git a/chrome/browser/renderer_host/accelerated_surface_container_mac.cc b/chrome/browser/renderer_host/accelerated_surface_container_mac.cc index f8ea964..fca3a4f 100644 --- a/chrome/browser/renderer_host/accelerated_surface_container_mac.cc +++ b/chrome/browser/renderer_host/accelerated_surface_container_mac.cc @@ -6,8 +6,8 @@ #include "app/surface/io_surface_support_mac.h" #include "base/logging.h" -#include "webkit/glue/webplugin.h" #include "chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h" +#include "webkit/glue/plugins/webplugin.h" AcceleratedSurfaceContainerMac::AcceleratedSurfaceContainerMac( AcceleratedSurfaceContainerManagerMac* manager) diff --git a/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc b/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc index 88275b0..310d852 100644 --- a/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc +++ b/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc @@ -6,7 +6,7 @@ #include "base/logging.h" #include "chrome/browser/renderer_host/accelerated_surface_container_mac.h" -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" AcceleratedSurfaceContainerManagerMac::AcceleratedSurfaceContainerManagerMac() : current_id_(0) { diff --git a/chrome/browser/renderer_host/render_widget_host_view.h b/chrome/browser/renderer_host/render_widget_host_view.h index 153c5f95..625f098 100644 --- a/chrome/browser/renderer_host/render_widget_host_view.h +++ b/chrome/browser/renderer_host/render_widget_host_view.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -13,7 +13,7 @@ #include "base/shared_memory.h" #include "gfx/native_widget_types.h" #include "third_party/skia/include/core/SkBitmap.h" -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" namespace gfx { class Rect; diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc index cb65791..a095e3d 100644 --- a/chrome/browser/renderer_host/resource_message_filter.cc +++ b/chrome/browser/renderer_host/resource_message_filter.cc @@ -67,8 +67,8 @@ #include "net/url_request/url_request_context.h" #include "third_party/WebKit/WebKit/chromium/public/WebNotificationPresenter.h" #include "webkit/glue/plugins/plugin_list.h" +#include "webkit/glue/plugins/webplugin.h" #include "webkit/glue/webkit_glue.h" -#include "webkit/glue/webplugin.h" using WebKit::WebCache; diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 46cd37b..b1320f5 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -44,13 +44,13 @@ #include "webkit/glue/form_field_values.h" #include "webkit/glue/password_form.h" #include "webkit/glue/password_form_dom_manager.h" +#include "webkit/glue/plugins/webplugin.h" +#include "webkit/glue/plugins/webplugininfo.h" #include "webkit/glue/resource_loader_bridge.h" #include "webkit/glue/webaccessibility.h" #include "webkit/glue/webcookie.h" #include "webkit/glue/webdropdata.h" #include "webkit/glue/webmenuitem.h" -#include "webkit/glue/webplugin.h" -#include "webkit/glue/webplugininfo.h" #include "webkit/glue/webpreferences.h" namespace base { diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index 4338dca..11cb552 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -20,7 +20,7 @@ #include "chrome/common/chrome_plugin_api.h" #include "googleurl/src/gurl.h" #include "ipc/ipc_message.h" -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" class PluginChannel; class WebPluginDelegateImpl; diff --git a/chrome/renderer/pepper_devices.cc b/chrome/renderer/pepper_devices.cc index 2120b7b..67301fa 100644 --- a/chrome/renderer/pepper_devices.cc +++ b/chrome/renderer/pepper_devices.cc @@ -6,7 +6,7 @@ #include "chrome/renderer/webplugin_delegate_pepper.h" #include "skia/ext/platform_canvas.h" #include "webkit/glue/plugins/plugin_instance.h" -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" namespace { diff --git a/chrome/renderer/pepper_devices_unittest.cc b/chrome/renderer/pepper_devices_unittest.cc index b793a4e..de4941e 100644 --- a/chrome/renderer/pepper_devices_unittest.cc +++ b/chrome/renderer/pepper_devices_unittest.cc @@ -19,7 +19,7 @@ #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" #include "webkit/glue/plugins/plugin_instance.h" #include "webkit/glue/plugins/plugin_list.h" -#include "webkit/glue/webplugin_impl.h" +#include "webkit/glue/plugins/webplugin_impl.h" class PepperDeviceTest; diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index e07f304..71bebdc 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -114,13 +114,13 @@ #include "webkit/glue/media/simple_data_source.h" #include "webkit/glue/password_form.h" #include "webkit/glue/plugins/plugin_list.h" +#include "webkit/glue/plugins/webplugin_delegate.h" #include "webkit/glue/plugins/webplugin_delegate_impl.h" +#include "webkit/glue/plugins/webplugin_impl.h" #include "webkit/glue/media/video_renderer_impl.h" #include "webkit/glue/webdropdata.h" #include "webkit/glue/webkit_glue.h" #include "webkit/glue/webmediaplayer_impl.h" -#include "webkit/glue/webplugin_delegate.h" -#include "webkit/glue/webplugin_impl.h" #if defined(OS_WIN) // TODO(port): these files are currently Windows only because they concern: diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index fbf9b7d..370b92d 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -58,8 +58,8 @@ #include "webkit/glue/form_data.h" #include "webkit/glue/image_resource_fetcher.h" #include "webkit/glue/password_form_dom_manager.h" +#include "webkit/glue/plugins/webplugin_page_delegate.h" #include "webkit/glue/webaccessibility.h" -#include "webkit/glue/webplugin_page_delegate.h" #include "webkit/glue/webpreferences.h" #if defined(OS_WIN) diff --git a/chrome/renderer/webplugin_delegate_pepper.h b/chrome/renderer/webplugin_delegate_pepper.h index ce57940..543c4b9 100644 --- a/chrome/renderer/webplugin_delegate_pepper.h +++ b/chrome/renderer/webplugin_delegate_pepper.h @@ -23,8 +23,8 @@ #include "gfx/rect.h" #include "third_party/npapi/bindings/npapi.h" #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h" +#include "webkit/glue/plugins/webplugin_delegate.h" #include "webkit/glue/webcursor.h" -#include "webkit/glue/webplugin_delegate.h" namespace NPAPI { class PluginInstance; diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc index 3997834..3b733ff 100644 --- a/chrome/renderer/webplugin_delegate_proxy.cc +++ b/chrome/renderer/webplugin_delegate_proxy.cc @@ -44,8 +44,8 @@ #include "third_party/WebKit/WebKit/chromium/public/WebString.h" #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" #include "third_party/WebKit/WebKit/chromium/public/WebView.h" +#include "webkit/glue/plugins/webplugin.h" #include "webkit/glue/webkit_glue.h" -#include "webkit/glue/webplugin.h" #if defined(OS_POSIX) #include "ipc/ipc_channel_posix.h" diff --git a/chrome/renderer/webplugin_delegate_proxy.h b/chrome/renderer/webplugin_delegate_proxy.h index 9ebf299..b7b73b8 100644 --- a/chrome/renderer/webplugin_delegate_proxy.h +++ b/chrome/renderer/webplugin_delegate_proxy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -19,9 +19,9 @@ #include "gpu/command_buffer/common/command_buffer.h" #include "ipc/ipc_message.h" #include "skia/ext/platform_canvas.h" -#include "webkit/glue/webplugin.h" -#include "webkit/glue/webplugininfo.h" -#include "webkit/glue/webplugin_delegate.h" +#include "webkit/glue/plugins/webplugin.h" +#include "webkit/glue/plugins/webplugininfo.h" +#include "webkit/glue/plugins/webplugin_delegate.h" #if defined(OS_MACOSX) #include "base/hash_tables.h" diff --git a/webkit/glue/plugins/gtk_plugin_container_manager.cc b/webkit/glue/plugins/gtk_plugin_container_manager.cc index 53b6f4d..9d9ee4b 100644 --- a/webkit/glue/plugins/gtk_plugin_container_manager.cc +++ b/webkit/glue/plugins/gtk_plugin_container_manager.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -9,7 +9,7 @@ #include "base/logging.h" #include "gfx/gtk_util.h" #include "webkit/glue/plugins/gtk_plugin_container.h" -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" GtkWidget* GtkPluginContainerManager::CreatePluginContainer( gfx::PluginWindowHandle id) { diff --git a/webkit/glue/plugins/mac_accelerated_surface_container.cc b/webkit/glue/plugins/mac_accelerated_surface_container.cc index 7d9ae67..8eca9d2 100644 --- a/webkit/glue/plugins/mac_accelerated_surface_container.cc +++ b/webkit/glue/plugins/mac_accelerated_surface_container.cc @@ -6,8 +6,8 @@ #include "app/surface/io_surface_support_mac.h" #include "base/logging.h" -#include "webkit/glue/webplugin.h" #include "webkit/glue/plugins/mac_accelerated_surface_container_manager.h" +#include "webkit/glue/plugins/webplugin.h" MacAcceleratedSurfaceContainer::MacAcceleratedSurfaceContainer() : x_(0), diff --git a/webkit/glue/plugins/mac_accelerated_surface_container_manager.cc b/webkit/glue/plugins/mac_accelerated_surface_container_manager.cc index a149661..635348f 100644 --- a/webkit/glue/plugins/mac_accelerated_surface_container_manager.cc +++ b/webkit/glue/plugins/mac_accelerated_surface_container_manager.cc @@ -5,8 +5,8 @@ #include "webkit/glue/plugins/mac_accelerated_surface_container_manager.h" #include "base/logging.h" -#include "webkit/glue/webplugin.h" #include "webkit/glue/plugins/mac_accelerated_surface_container.h" +#include "webkit/glue/plugins/webplugin.h" MacAcceleratedSurfaceContainerManager::MacAcceleratedSurfaceContainerManager() : current_id_(0) { diff --git a/webkit/glue/plugins/npapi_extension_thunk.cc b/webkit/glue/plugins/npapi_extension_thunk.cc index 0c25655..141d960 100644 --- a/webkit/glue/plugins/npapi_extension_thunk.cc +++ b/webkit/glue/plugins/npapi_extension_thunk.cc @@ -9,10 +9,10 @@ #include "base/utf_string_conversions.h" #include "third_party/npapi/bindings/npapi_extensions.h" #include "webkit/glue/plugins/plugin_instance.h" +#include "webkit/glue/plugins/webplugin.h" +#include "webkit/glue/plugins/webplugin_delegate.h" #include "webkit/glue/scoped_clipboard_writer_glue.h" #include "webkit/glue/webkit_glue.h" -#include "webkit/glue/webplugin.h" -#include "webkit/glue/webplugin_delegate.h" // FindInstance() // Finds a PluginInstance from an NPP. diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc index b262188..bc2a6f2 100644 --- a/webkit/glue/plugins/plugin_host.cc +++ b/webkit/glue/plugins/plugin_host.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -16,14 +16,14 @@ #include "net/base/net_util.h" #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" #include "webkit/default_plugin/default_plugin_shared.h" -#include "webkit/glue/webplugininfo.h" -#include "webkit/glue/webplugin_delegate.h" #include "webkit/glue/webkit_glue.h" #include "webkit/glue/plugins/npapi_extension_thunk.h" #include "webkit/glue/plugins/plugin_instance.h" #include "webkit/glue/plugins/plugin_lib.h" #include "webkit/glue/plugins/plugin_list.h" #include "webkit/glue/plugins/plugin_stream_url.h" +#include "webkit/glue/plugins/webplugin_delegate.h" +#include "webkit/glue/plugins/webplugininfo.h" #include "third_party/npapi/bindings/npapi_extensions.h" #include "third_party/npapi/bindings/npruntime.h" diff --git a/webkit/glue/plugins/plugin_instance.cc b/webkit/glue/plugins/plugin_instance.cc index 037d043..db5ccbf 100644 --- a/webkit/glue/plugins/plugin_instance.cc +++ b/webkit/glue/plugins/plugin_instance.cc @@ -10,13 +10,13 @@ #include "base/message_loop.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" -#include "webkit/glue/webplugin.h" -#include "webkit/glue/webplugin_delegate.h" #include "webkit/glue/webkit_glue.h" #include "webkit/glue/plugins/plugin_host.h" #include "webkit/glue/plugins/plugin_lib.h" #include "webkit/glue/plugins/plugin_stream_url.h" #include "webkit/glue/plugins/plugin_string_stream.h" +#include "webkit/glue/plugins/webplugin.h" +#include "webkit/glue/plugins/webplugin_delegate.h" #include "net/base/escape.h" #if defined(OS_MACOSX) diff --git a/webkit/glue/plugins/plugin_lib.h b/webkit/glue/plugins/plugin_lib.h index 6af2893..dc0b304 100644 --- a/webkit/glue/plugins/plugin_lib.h +++ b/webkit/glue/plugins/plugin_lib.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -14,7 +14,7 @@ #include "base/ref_counted.h" #include "build/build_config.h" #include "webkit/glue/plugins/plugin_list.h" -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" struct WebPluginInfo; diff --git a/webkit/glue/plugins/plugin_list.h b/webkit/glue/plugins/plugin_list.h index b80d83b..d4aa31c 100644 --- a/webkit/glue/plugins/plugin_list.h +++ b/webkit/glue/plugins/plugin_list.h @@ -14,7 +14,7 @@ #include "base/file_path.h" #include "base/lock.h" #include "third_party/npapi/bindings/nphostapi.h" -#include "webkit/glue/webplugininfo.h" +#include "webkit/glue/plugins/webplugininfo.h" class GURL; diff --git a/webkit/glue/plugins/plugin_stream_url.cc b/webkit/glue/plugins/plugin_stream_url.cc index 38f7edd..6694139 100644 --- a/webkit/glue/plugins/plugin_stream_url.cc +++ b/webkit/glue/plugins/plugin_stream_url.cc @@ -1,12 +1,12 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "webkit/glue/plugins/plugin_stream_url.h" -#include "webkit/glue/webplugin.h" #include "webkit/glue/plugins/plugin_host.h" #include "webkit/glue/plugins/plugin_instance.h" +#include "webkit/glue/plugins/webplugin.h" namespace NPAPI { diff --git a/webkit/glue/plugins/plugin_stream_url.h b/webkit/glue/plugins/plugin_stream_url.h index 7d3f59a..688723c 100644 --- a/webkit/glue/plugins/plugin_stream_url.h +++ b/webkit/glue/plugins/plugin_stream_url.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,8 +6,8 @@ #define WEBKIT_GLUE_PLUGIN_PLUGIN_STREAM_URL_H__ -#include "webkit/glue/webplugin.h" #include "webkit/glue/plugins/plugin_stream.h" +#include "webkit/glue/plugins/webplugin.h" #include "googleurl/src/gurl.h" namespace NPAPI { diff --git a/webkit/glue/webplugin.cc b/webkit/glue/plugins/webplugin.cc index 237e60c..6443318 100644 --- a/webkit/glue/webplugin.cc +++ b/webkit/glue/plugins/webplugin.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" namespace webkit_glue { diff --git a/webkit/glue/webplugin.h b/webkit/glue/plugins/webplugin.h index cde5fce..cde5fce 100644 --- a/webkit/glue/webplugin.h +++ b/webkit/glue/plugins/webplugin.h diff --git a/webkit/glue/webplugin_delegate.h b/webkit/glue/plugins/webplugin_delegate.h index 0b08c9e..0b08c9e 100644 --- a/webkit/glue/webplugin_delegate.h +++ b/webkit/glue/plugins/webplugin_delegate.h diff --git a/webkit/glue/plugins/webplugin_delegate_impl.h b/webkit/glue/plugins/webplugin_delegate_impl.h index a66f282..3295a08 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl.h +++ b/webkit/glue/plugins/webplugin_delegate_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -19,8 +19,8 @@ #include "gfx/native_widget_types.h" #include "gfx/rect.h" #include "third_party/npapi/bindings/npapi.h" +#include "webkit/glue/plugins/webplugin_delegate.h" #include "webkit/glue/webcursor.h" -#include "webkit/glue/webplugin_delegate.h" #if defined(OS_MACOSX) #include "app/surface/accelerated_surface_mac.h" diff --git a/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc index 2c6b239..2501b01 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc +++ b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc @@ -20,13 +20,13 @@ #include "skia/ext/platform_canvas.h" #include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h" #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" -#include "webkit/glue/webplugin.h" #include "webkit/glue/plugins/gtk_plugin_container.h" #include "webkit/glue/plugins/plugin_constants_win.h" #include "webkit/glue/plugins/plugin_instance.h" #include "webkit/glue/plugins/plugin_lib.h" #include "webkit/glue/plugins/plugin_list.h" #include "webkit/glue/plugins/plugin_stream_url.h" +#include "webkit/glue/plugins/webplugin.h" #include "webkit/glue/webkit_glue.h" #include "third_party/npapi/bindings/npapi_x11.h" diff --git a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm index 1d0b138..bf74453 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm +++ b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -19,13 +19,13 @@ #include "base/string_util.h" #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" #include "webkit/default_plugin/plugin_impl.h" -#include "webkit/glue/webplugin.h" #include "webkit/glue/plugins/coregraphics_private_symbols_mac.h" #include "webkit/glue/plugins/plugin_instance.h" #include "webkit/glue/plugins/plugin_lib.h" #include "webkit/glue/plugins/plugin_list.h" #include "webkit/glue/plugins/plugin_stream_url.h" #include "webkit/glue/plugins/plugin_web_event_converter_mac.h" +#include "webkit/glue/plugins/webplugin.h" #include "webkit/glue/webkit_glue.h" #ifndef NP_NO_CARBON @@ -1125,7 +1125,7 @@ bool WebPluginDelegateImpl::PlatformHandleInputEvent( if (!(event_converter.get() && event_converter->InitWithEvent(event))) return false; void* plugin_event = event_converter->plugin_event(); - + if (fabsf(zoom_level - 1.0) > kEpsilon) event_converter->SetZoomLevel(zoom_level); diff --git a/webkit/glue/plugins/webplugin_delegate_impl_win.cc b/webkit/glue/plugins/webplugin_delegate_impl_win.cc index 2c31856..1c83565 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_win.cc +++ b/webkit/glue/plugins/webplugin_delegate_impl_win.cc @@ -24,8 +24,8 @@ #include "webkit/glue/plugins/plugin_lib.h" #include "webkit/glue/plugins/plugin_list.h" #include "webkit/glue/plugins/plugin_stream_url.h" +#include "webkit/glue/plugins/webplugin.h" #include "webkit/glue/webkit_glue.h" -#include "webkit/glue/webplugin.h" using WebKit::WebCursorInfo; using WebKit::WebKeyboardEvent; diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/plugins/webplugin_impl.cc index f42d36e..e701675 100644 --- a/webkit/glue/webplugin_impl.cc +++ b/webkit/glue/plugins/webplugin_impl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -32,11 +32,11 @@ #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" #include "third_party/WebKit/WebKit/chromium/public/WebView.h" #include "webkit/glue/multipart_response_delegate.h" -#include "webkit/glue/webplugin_impl.h" #include "webkit/glue/plugins/plugin_host.h" #include "webkit/glue/plugins/plugin_instance.h" -#include "webkit/glue/webplugin_delegate.h" -#include "webkit/glue/webplugin_page_delegate.h" +#include "webkit/glue/plugins/webplugin_delegate.h" +#include "webkit/glue/plugins/webplugin_impl.h" +#include "webkit/glue/plugins/webplugin_page_delegate.h" #include "googleurl/src/gurl.h" using WebKit::WebCanvas; diff --git a/webkit/glue/webplugin_impl.h b/webkit/glue/plugins/webplugin_impl.h index d2eb64b..fd6ea25 100644 --- a/webkit/glue/webplugin_impl.h +++ b/webkit/glue/plugins/webplugin_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -21,7 +21,7 @@ #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h" #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" -#include "webkit/glue/webplugin.h" +#include "webkit/glue/plugins/webplugin.h" class WebViewDelegate; diff --git a/webkit/glue/webplugin_impl_unittest.cc b/webkit/glue/plugins/webplugin_impl_unittest.cc index 4d15e54..e70e39a 100644 --- a/webkit/glue/webplugin_impl_unittest.cc +++ b/webkit/glue/plugins/webplugin_impl_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,7 +7,7 @@ #include "third_party/WebKit/WebKit/chromium/public/WebCString.h" #include "third_party/WebKit/WebKit/chromium/public/WebString.h" #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" -#include "webkit/glue/webplugin_impl.h" +#include "webkit/glue/plugins/webplugin_impl.h" using WebKit::WebHTTPBody; using WebKit::WebString; diff --git a/webkit/glue/webplugin_page_delegate.h b/webkit/glue/plugins/webplugin_page_delegate.h index 8bc5723..8bc5723 100644 --- a/webkit/glue/webplugin_page_delegate.h +++ b/webkit/glue/plugins/webplugin_page_delegate.h diff --git a/webkit/glue/webplugininfo.h b/webkit/glue/plugins/webplugininfo.h index 21f34df..21f34df 100644 --- a/webkit/glue/webplugininfo.h +++ b/webkit/glue/plugins/webplugininfo.h diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi index ff96daa..55066f7 100644 --- a/webkit/glue/webkit_glue.gypi +++ b/webkit/glue/webkit_glue.gypi @@ -184,13 +184,19 @@ 'plugins/plugin_stubs.cc', 'plugins/plugin_web_event_converter_mac.h', 'plugins/plugin_web_event_converter_mac.mm', + 'plugins/webplugin.cc', + 'plugins/webplugin.h', 'plugins/webplugin_2d_device_delegate.h', 'plugins/webplugin_3d_device_delegate.h', + 'plugins/webplugin_delegate.h', 'plugins/webplugin_delegate_impl.cc', 'plugins/webplugin_delegate_impl.h', 'plugins/webplugin_delegate_impl_gtk.cc', 'plugins/webplugin_delegate_impl_mac.mm', 'plugins/webplugin_delegate_impl_win.cc', + 'plugins/webplugin_impl.cc', + 'plugins/webplugin_impl.h', + 'plugins/webplugininfo.h', 'alt_error_page_resource_fetcher.cc', 'alt_error_page_resource_fetcher.h', 'context_menu.h', @@ -255,12 +261,6 @@ 'webmenurunner_mac.mm', 'webpasswordautocompletelistener_impl.cc', 'webpasswordautocompletelistener_impl.h', - 'webplugin.cc', - 'webplugin.h', - 'webplugin_delegate.h', - 'webplugin_impl.cc', - 'webplugin_impl.h', - 'webplugininfo.h', 'webpreferences.cc', 'webpreferences.h', 'websocketstreamhandle_bridge.h', diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc index a8fcac3..34c24c6 100644 --- a/webkit/glue/webkitclient_impl.cc +++ b/webkit/glue/webkitclient_impl.cc @@ -35,8 +35,8 @@ #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" #include "webkit/glue/plugins/plugin_instance.h" +#include "webkit/glue/plugins/webplugininfo.h" #include "webkit/glue/webkit_glue.h" -#include "webkit/glue/webplugininfo.h" #include "webkit/glue/websocketstreamhandle_impl.h" #include "webkit/glue/weburlloader_impl.h" diff --git a/webkit/support/test_webplugin_page_delegate.h b/webkit/support/test_webplugin_page_delegate.h index 771aba3..d3f49a6 100644 --- a/webkit/support/test_webplugin_page_delegate.h +++ b/webkit/support/test_webplugin_page_delegate.h @@ -7,7 +7,7 @@ #include <string> -#include "webkit/glue/webplugin_page_delegate.h" +#include "webkit/glue/plugins/webplugin_page_delegate.h" namespace webkit_support { diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc index 427e6a6..0284894 100644 --- a/webkit/support/webkit_support.cc +++ b/webkit/support/webkit_support.cc @@ -14,10 +14,10 @@ #include "webkit/glue/media/media_resource_loader_bridge_factory.h" #include "webkit/glue/media/simple_data_source.h" #include "webkit/glue/media/video_renderer_impl.h" +#include "webkit/glue/plugins/webplugin_impl.h" +#include "webkit/glue/plugins/webplugin_page_delegate.h" #include "webkit/glue/webkitclient_impl.h" #include "webkit/glue/webmediaplayer_impl.h" -#include "webkit/glue/webplugin_impl.h" -#include "webkit/glue/webplugin_page_delegate.h" #include "webkit/support/test_webplugin_page_delegate.h" #include "webkit/support/test_webkit_client.h" #include "webkit/tools/test_shell/simple_database_system.h" diff --git a/webkit/tools/test_shell/test_shell.gypi b/webkit/tools/test_shell/test_shell.gypi index 7e4c4c1..cda9963 100644 --- a/webkit/tools/test_shell/test_shell.gypi +++ b/webkit/tools/test_shell/test_shell.gypi @@ -409,6 +409,7 @@ '../../glue/mock_resource_loader_bridge.h', '../../glue/multipart_response_delegate_unittest.cc', '../../glue/plugins/plugin_lib_unittest.cc', + '../../glue/plugins/webplugin_impl_unittest.cc', '../../glue/regular_expression_unittest.cc', '../../glue/resource_fetcher_unittest.cc', '../../glue/unittest_test_server.h', @@ -416,7 +417,6 @@ '../../glue/webframe_unittest.cc', '../../glue/webkit_glue_unittest.cc', '../../glue/webpasswordautocompletelistener_unittest.cc', - '../../glue/webplugin_impl_unittest.cc', '../../glue/webview_unittest.cc', '../webcore_unit_tests/BMPImageDecoder_unittest.cpp', '../webcore_unit_tests/ICOImageDecoder_unittest.cpp', diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc index b1d9993..3446a7d 100644 --- a/webkit/tools/test_shell/test_webview_delegate.cc +++ b/webkit/tools/test_shell/test_webview_delegate.cc @@ -41,12 +41,12 @@ #include "third_party/WebKit/WebKit/chromium/public/WebView.h" #include "webkit/appcache/web_application_cache_host_impl.h" #include "webkit/glue/glue_serialize.h" +#include "webkit/glue/plugins/webplugin_impl.h" +#include "webkit/glue/plugins/plugin_list.h" +#include "webkit/glue/plugins/webplugin_delegate_impl.h" #include "webkit/glue/webdropdata.h" -#include "webkit/glue/webplugin_impl.h" #include "webkit/glue/webpreferences.h" #include "webkit/glue/webkit_glue.h" -#include "webkit/glue/plugins/plugin_list.h" -#include "webkit/glue/plugins/webplugin_delegate_impl.h" #include "webkit/glue/window_open_disposition.h" #include "webkit/support/webkit_support.h" #include "webkit/tools/test_shell/accessibility_controller.h" diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h index f6b4ace..762fc25 100644 --- a/webkit/tools/test_shell/test_webview_delegate.h +++ b/webkit/tools/test_shell/test_webview_delegate.h @@ -34,7 +34,7 @@ #endif #include "third_party/WebKit/WebKit/chromium/public/WebViewClient.h" #include "webkit/glue/webcursor.h" -#include "webkit/glue/webplugin_page_delegate.h" +#include "webkit/glue/plugins/webplugin_page_delegate.h" #if defined(OS_WIN) #include "webkit/tools/test_shell/drag_delegate.h" #include "webkit/tools/test_shell/drop_delegate.h" diff --git a/webkit/tools/test_shell/test_webview_delegate_gtk.cc b/webkit/tools/test_shell/test_webview_delegate_gtk.cc index e3a433e..a1b9394 100644 --- a/webkit/tools/test_shell/test_webview_delegate_gtk.cc +++ b/webkit/tools/test_shell/test_webview_delegate_gtk.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -21,10 +21,10 @@ #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" #include "third_party/WebKit/WebKit/chromium/public/WebString.h" #include "third_party/WebKit/WebKit/chromium/public/WebView.h" +#include "webkit/glue/plugins/webplugin.h" #include "webkit/glue/webcursor.h" #include "webkit/glue/webdropdata.h" #include "webkit/glue/webpreferences.h" -#include "webkit/glue/webplugin.h" #include "webkit/glue/webkit_glue.h" #include "webkit/glue/plugins/gtk_plugin_container_manager.h" #include "webkit/glue/plugins/plugin_list.h" diff --git a/webkit/tools/test_shell/test_webview_delegate_win.cc b/webkit/tools/test_shell/test_webview_delegate_win.cc index 3d1acb7b..5973293 100644 --- a/webkit/tools/test_shell/test_webview_delegate_win.cc +++ b/webkit/tools/test_shell/test_webview_delegate_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -23,9 +23,9 @@ #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" #include "third_party/WebKit/WebKit/chromium/public/WebView.h" +#include "webkit/glue/plugins/webplugin.h" #include "webkit/glue/webdropdata.h" #include "webkit/glue/webpreferences.h" -#include "webkit/glue/webplugin.h" #include "webkit/glue/webkit_glue.h" #include "webkit/glue/plugins/plugin_list.h" #include "webkit/glue/plugins/webplugin_delegate_impl.h" |