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

Side by Side Diff: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp

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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "core/frame/VisualViewport.h" 5 #include "core/frame/VisualViewport.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/frame/BrowserControls.h" 8 #include "core/frame/BrowserControls.h"
9 #include "core/frame/FrameHost.h" 9 #include "core/frame/FrameHost.h"
10 #include "core/frame/FrameView.h" 10 #include "core/frame/FrameView.h"
11 #include "core/frame/LocalFrame.h" 11 #include "core/frame/LocalFrame.h"
12 #include "core/html/HTMLBodyElement.h" 12 #include "core/html/HTMLBodyElement.h"
13 #include "core/html/HTMLElement.h" 13 #include "core/html/HTMLElement.h"
14 #include "core/input/EventHandler.h" 14 #include "core/input/EventHandler.h"
15 #include "core/layout/LayoutObject.h" 15 #include "core/layout/LayoutObject.h"
16 #include "core/layout/api/LayoutViewItem.h" 16 #include "core/layout/api/LayoutViewItem.h"
17 #include "core/layout/compositing/PaintLayerCompositor.h" 17 #include "core/layout/compositing/PaintLayerCompositor.h"
18 #include "core/page/Page.h" 18 #include "core/page/Page.h"
19 #include "core/paint/PaintLayer.h" 19 #include "core/paint/PaintLayer.h"
20 #include "platform/PlatformGestureEvent.h" 20 #include "platform/PlatformGestureEvent.h"
21 #include "platform/geometry/DoublePoint.h" 21 #include "platform/geometry/DoublePoint.h"
22 #include "platform/geometry/DoubleRect.h" 22 #include "platform/geometry/DoubleRect.h"
23 #include "platform/graphics/CompositorElementId.h" 23 #include "platform/graphics/CompositorElementId.h"
24 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 24 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
25 #include "platform/testing/URLTestHelpers.h" 25 #include "platform/testing/URLTestHelpers.h"
26 #include "public/platform/Platform.h" 26 #include "public/platform/Platform.h"
27 #include "public/platform/WebCachePolicy.h" 27 #include "public/platform/WebCachePolicy.h"
28 #include "public/platform/WebInputEvent.h"
28 #include "public/platform/WebLayerTreeView.h" 29 #include "public/platform/WebLayerTreeView.h"
29 #include "public/platform/WebURLLoaderMockFactory.h" 30 #include "public/platform/WebURLLoaderMockFactory.h"
30 #include "public/web/WebCache.h" 31 #include "public/web/WebCache.h"
31 #include "public/web/WebContextMenuData.h" 32 #include "public/web/WebContextMenuData.h"
32 #include "public/web/WebDocument.h" 33 #include "public/web/WebDocument.h"
33 #include "public/web/WebFrameClient.h" 34 #include "public/web/WebFrameClient.h"
34 #include "public/web/WebInputEvent.h"
35 #include "public/web/WebScriptSource.h" 35 #include "public/web/WebScriptSource.h"
36 #include "public/web/WebSettings.h" 36 #include "public/web/WebSettings.h"
37 #include "public/web/WebViewClient.h" 37 #include "public/web/WebViewClient.h"
38 #include "testing/gmock/include/gmock/gmock.h" 38 #include "testing/gmock/include/gmock/gmock.h"
39 #include "testing/gtest/include/gtest/gtest.h" 39 #include "testing/gtest/include/gtest/gtest.h"
40 #include "web/WebLocalFrameImpl.h" 40 #include "web/WebLocalFrameImpl.h"
41 #include "web/tests/FrameTestHelpers.h" 41 #include "web/tests/FrameTestHelpers.h"
42 42
43 #include <string> 43 #include <string>
44 44
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 if (rootLayerScrolling) 2397 if (rootLayerScrolling)
2398 EXPECT_TRUE(invalidationTracking); 2398 EXPECT_TRUE(invalidationTracking);
2399 else 2399 else
2400 EXPECT_FALSE(invalidationTracking); 2400 EXPECT_FALSE(invalidationTracking);
2401 2401
2402 document->view()->setTracksPaintInvalidations(false); 2402 document->view()->setTracksPaintInvalidations(false);
2403 RuntimeEnabledFeatures::setInertTopControlsEnabled(originalInertTopControls); 2403 RuntimeEnabledFeatures::setInertTopControlsEnabled(originalInertTopControls);
2404 } 2404 }
2405 2405
2406 } // namespace 2406 } // namespace
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/TouchActionTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698