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

Side by Side Diff: components/test_runner/test_plugin.cc

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/test_runner/event_sender.cc ('k') | components/test_runner/text_input_controller.cc » ('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/WebGraphicsContext3DProvider.h" 25 #include "third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h"
25 #include "third_party/WebKit/public/platform/WebInputEvent.h" 26 #include "third_party/WebKit/public/platform/WebInputEvent.h"
26 #include "third_party/WebKit/public/platform/WebThread.h" 27 #include "third_party/WebKit/public/platform/WebThread.h"
27 #include "third_party/WebKit/public/platform/WebTouchPoint.h" 28 #include "third_party/WebKit/public/platform/WebTouchPoint.h"
28 #include "third_party/WebKit/public/platform/WebTraceLocation.h" 29 #include "third_party/WebKit/public/platform/WebTraceLocation.h"
29 #include "third_party/WebKit/public/platform/WebURL.h" 30 #include "third_party/WebKit/public/platform/WebURL.h"
30 #include "third_party/WebKit/public/web/WebFrame.h" 31 #include "third_party/WebKit/public/web/WebFrame.h"
31 #include "third_party/WebKit/public/web/WebKit.h" 32 #include "third_party/WebKit/public/web/WebKit.h"
32 #include "third_party/WebKit/public/web/WebPluginParams.h" 33 #include "third_party/WebKit/public/web/WebPluginParams.h"
33 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" 34 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 return kPluginPersistsMimeType; 612 return kPluginPersistsMimeType;
612 } 613 }
613 614
614 bool TestPlugin::IsSupportedMimeType(const blink::WebString& mime_type) { 615 bool TestPlugin::IsSupportedMimeType(const blink::WebString& mime_type) {
615 return mime_type == TestPlugin::MimeType() || 616 return mime_type == TestPlugin::MimeType() ||
616 mime_type == PluginPersistsMimeType() || 617 mime_type == PluginPersistsMimeType() ||
617 mime_type == CanCreateWithoutRendererMimeType(); 618 mime_type == CanCreateWithoutRendererMimeType();
618 } 619 }
619 620
620 } // namespace test_runner 621 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/event_sender.cc ('k') | components/test_runner/text_input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698