summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 22:49:23 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 22:49:23 +0000
commit3b91edbe092913447750a7e9fd9ee6e6365808a6 (patch)
tree60943423e9ed686fc3c9cbacd00dbda140bdfaa5 /webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
parent544911b27983d73704e1caa31e0f9a851d748cb2 (diff)
downloadchromium_src-3b91edbe092913447750a7e9fd9ee6e6365808a6.zip
chromium_src-3b91edbe092913447750a7e9fd9ee6e6365808a6.tar.gz
chromium_src-3b91edbe092913447750a7e9fd9ee6e6365808a6.tar.bz2
Cleanup WebPluginDelegate implementations.
Review URL: https://chromiumcodereview.appspot.com/10983059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159140 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/npapi/webplugin_delegate_impl_mac.mm')
-rw-r--r--webkit/plugins/npapi/webplugin_delegate_impl_mac.mm17
1 files changed, 6 insertions, 11 deletions
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
index 165046c..ff23bcb 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
@@ -2,30 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import <Cocoa/Cocoa.h>
-#import <QuartzCore/QuartzCore.h>
-
#include "webkit/plugins/npapi/webplugin_delegate_impl.h"
-#include <string>
+#import <Cocoa/Cocoa.h>
+#import <QuartzCore/QuartzCore.h>
#include <unistd.h>
+
#include <set>
+#include <string>
-#include "base/file_util.h"
#include "base/mac/mac_util.h"
#include "base/memory/scoped_ptr.h"
-#include "base/message_loop.h"
#include "base/metrics/stats_counters.h"
#include "base/string_util.h"
-#include "base/utf_string_conversions.h"
#include "base/sys_string_conversions.h"
+#include "base/utf_string_conversions.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
-#include "webkit/glue/webkit_glue.h"
#include "webkit/plugins/npapi/plugin_instance.h"
#include "webkit/plugins/npapi/plugin_lib.h"
-#include "webkit/plugins/npapi/plugin_list.h"
-#include "webkit/plugins/npapi/plugin_stream_url.h"
#include "webkit/plugins/npapi/plugin_web_event_converter_mac.h"
#include "webkit/plugins/npapi/webplugin.h"
#include "webkit/plugins/npapi/webplugin_accelerated_surface_mac.h"
@@ -156,7 +151,7 @@ int ExternalDragTracker::WebEventButtonModifierMask() {
WebPluginDelegateImpl::WebPluginDelegateImpl(
gfx::PluginWindowHandle containing_view,
- PluginInstance *instance)
+ PluginInstance* instance)
: windowed_handle_(gfx::kNullPluginWindow),
// all Mac plugins are "windowless" in the Windows/X11 sense
windowless_(true),