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

Side by Side Diff: components/test_runner/test_plugin.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
« no previous file with comments | « components/printing/test/print_web_view_helper_browsertest.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "components/test_runner/test_plugin.h" 5 #include "components/test_runner/test_plugin.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/memory/shared_memory.h" 15 #include "base/memory/shared_memory.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "cc/blink/web_layer_impl.h" 17 #include "cc/blink/web_layer_impl.h"
18 #include "cc/layers/texture_layer.h" 18 #include "cc/layers/texture_layer.h"
19 #include "cc/resources/shared_bitmap_manager.h" 19 #include "cc/resources/shared_bitmap_manager.h"
20 #include "components/test_runner/web_test_delegate.h" 20 #include "components/test_runner/web_test_delegate.h"
21 #include "gpu/command_buffer/client/gles2_interface.h" 21 #include "gpu/command_buffer/client/gles2_interface.h"
22 #include "third_party/WebKit/public/platform/Platform.h" 22 #include "third_party/WebKit/public/platform/Platform.h"
23 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" 23 #include "third_party/WebKit/public/platform/WebCompositorSupport.h"
24 #include "third_party/WebKit/public/platform/WebGestureEvent.h" 24 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
25 #include "third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h" 25 #include "third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h"
26 #include "third_party/WebKit/public/platform/WebInputEvent.h" 26 #include "third_party/WebKit/public/platform/WebInputEvent.h"
27 #include "third_party/WebKit/public/platform/WebMouseEvent.h"
27 #include "third_party/WebKit/public/platform/WebThread.h" 28 #include "third_party/WebKit/public/platform/WebThread.h"
28 #include "third_party/WebKit/public/platform/WebTouchPoint.h" 29 #include "third_party/WebKit/public/platform/WebTouchPoint.h"
29 #include "third_party/WebKit/public/platform/WebTraceLocation.h" 30 #include "third_party/WebKit/public/platform/WebTraceLocation.h"
30 #include "third_party/WebKit/public/platform/WebURL.h" 31 #include "third_party/WebKit/public/platform/WebURL.h"
31 #include "third_party/WebKit/public/web/WebFrame.h" 32 #include "third_party/WebKit/public/web/WebFrame.h"
32 #include "third_party/WebKit/public/web/WebKit.h" 33 #include "third_party/WebKit/public/web/WebKit.h"
33 #include "third_party/WebKit/public/web/WebPluginParams.h" 34 #include "third_party/WebKit/public/web/WebPluginParams.h"
34 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" 35 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
35 #include "third_party/skia/include/core/SkBitmap.h" 36 #include "third_party/skia/include/core/SkBitmap.h"
36 #include "third_party/skia/include/core/SkCanvas.h" 37 #include "third_party/skia/include/core/SkCanvas.h"
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 return kPluginPersistsMimeType; 613 return kPluginPersistsMimeType;
613 } 614 }
614 615
615 bool TestPlugin::IsSupportedMimeType(const blink::WebString& mime_type) { 616 bool TestPlugin::IsSupportedMimeType(const blink::WebString& mime_type) {
616 return mime_type == TestPlugin::MimeType() || 617 return mime_type == TestPlugin::MimeType() ||
617 mime_type == PluginPersistsMimeType() || 618 mime_type == PluginPersistsMimeType() ||
618 mime_type == CanCreateWithoutRendererMimeType(); 619 mime_type == CanCreateWithoutRendererMimeType();
619 } 620 }
620 621
621 } // namespace test_runner 622 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/printing/test/print_web_view_helper_browsertest.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698