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

Side by Side Diff: chrome/renderer/plugins/chrome_plugin_placeholder.cc

Issue 2590273002: Move WebMouseEvent into its own header file. (Closed)
Patch Set: Fix android build Created 3 years, 11 months 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/renderer/plugins/chrome_plugin_placeholder.h" 5 #include "chrome/renderer/plugins/chrome_plugin_placeholder.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/renderer/plugins/plugin_preroller.h" 24 #include "chrome/renderer/plugins/plugin_preroller.h"
25 #include "chrome/renderer/plugins/plugin_uma.h" 25 #include "chrome/renderer/plugins/plugin_uma.h"
26 #include "components/strings/grit/components_strings.h" 26 #include "components/strings/grit/components_strings.h"
27 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
28 #include "content/public/common/context_menu_params.h" 28 #include "content/public/common/context_menu_params.h"
29 #include "content/public/renderer/render_frame.h" 29 #include "content/public/renderer/render_frame.h"
30 #include "content/public/renderer/render_thread.h" 30 #include "content/public/renderer/render_thread.h"
31 #include "gin/object_template_builder.h" 31 #include "gin/object_template_builder.h"
32 #include "third_party/WebKit/public/platform/URLConversion.h" 32 #include "third_party/WebKit/public/platform/URLConversion.h"
33 #include "third_party/WebKit/public/platform/WebInputEvent.h" 33 #include "third_party/WebKit/public/platform/WebInputEvent.h"
34 #include "third_party/WebKit/public/platform/WebMouseEvent.h"
34 #include "third_party/WebKit/public/web/WebDocument.h" 35 #include "third_party/WebKit/public/web/WebDocument.h"
35 #include "third_party/WebKit/public/web/WebLocalFrame.h" 36 #include "third_party/WebKit/public/web/WebLocalFrame.h"
36 #include "third_party/WebKit/public/web/WebScriptSource.h" 37 #include "third_party/WebKit/public/web/WebScriptSource.h"
37 #include "third_party/WebKit/public/web/WebView.h" 38 #include "third_party/WebKit/public/web/WebView.h"
38 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
39 #include "ui/base/resource/resource_bundle.h" 40 #include "ui/base/resource/resource_bundle.h"
40 #include "ui/base/webui/jstemplate_builder.h" 41 #include "ui/base/webui/jstemplate_builder.h"
41 #include "ui/gfx/geometry/size.h" 42 #include "ui/gfx/geometry/size.h"
42 #include "url/origin.h" 43 #include "url/origin.h"
43 #include "url/url_util.h" 44 #include "url/url_util.h"
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 420
420 if (base::CommandLine::ForCurrentProcess()->HasSwitch( 421 if (base::CommandLine::ForCurrentProcess()->HasSwitch(
421 switches::kEnablePluginPlaceholderTesting)) { 422 switches::kEnablePluginPlaceholderTesting)) {
422 builder.SetMethod<void (ChromePluginPlaceholder::*)()>( 423 builder.SetMethod<void (ChromePluginPlaceholder::*)()>(
423 "didFinishIconRepositionForTesting", 424 "didFinishIconRepositionForTesting",
424 &ChromePluginPlaceholder::DidFinishIconRepositionForTestingCallback); 425 &ChromePluginPlaceholder::DidFinishIconRepositionForTestingCallback);
425 } 426 }
426 427
427 return builder; 428 return builder;
428 } 429 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698