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

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

Issue 2900593002: Move many more classes to use WebLocalFrameBase over WebLocalFrameImpl. (Closed)
Patch Set: Rebase Created 3 years, 6 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 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/LocalFrame.h" 9 #include "core/frame/LocalFrame.h"
10 #include "core/frame/LocalFrameView.h" 10 #include "core/frame/LocalFrameView.h"
11 #include "core/frame/WebLocalFrameBase.h"
11 #include "core/html/HTMLBodyElement.h" 12 #include "core/html/HTMLBodyElement.h"
12 #include "core/html/HTMLElement.h" 13 #include "core/html/HTMLElement.h"
13 #include "core/input/EventHandler.h" 14 #include "core/input/EventHandler.h"
14 #include "core/layout/LayoutObject.h" 15 #include "core/layout/LayoutObject.h"
15 #include "core/layout/api/LayoutViewItem.h" 16 #include "core/layout/api/LayoutViewItem.h"
16 #include "core/layout/compositing/PaintLayerCompositor.h" 17 #include "core/layout/compositing/PaintLayerCompositor.h"
17 #include "core/loader/DocumentLoader.h" 18 #include "core/loader/DocumentLoader.h"
18 #include "core/page/Page.h" 19 #include "core/page/Page.h"
19 #include "core/paint/PaintLayer.h" 20 #include "core/paint/PaintLayer.h"
20 #include "platform/geometry/DoublePoint.h" 21 #include "platform/geometry/DoublePoint.h"
(...skipping 10 matching lines...) Expand all
31 #include "public/platform/WebLayerTreeView.h" 32 #include "public/platform/WebLayerTreeView.h"
32 #include "public/platform/WebURLLoaderMockFactory.h" 33 #include "public/platform/WebURLLoaderMockFactory.h"
33 #include "public/web/WebContextMenuData.h" 34 #include "public/web/WebContextMenuData.h"
34 #include "public/web/WebDocument.h" 35 #include "public/web/WebDocument.h"
35 #include "public/web/WebFrameClient.h" 36 #include "public/web/WebFrameClient.h"
36 #include "public/web/WebScriptSource.h" 37 #include "public/web/WebScriptSource.h"
37 #include "public/web/WebSettings.h" 38 #include "public/web/WebSettings.h"
38 #include "public/web/WebViewClient.h" 39 #include "public/web/WebViewClient.h"
39 #include "testing/gmock/include/gmock/gmock.h" 40 #include "testing/gmock/include/gmock/gmock.h"
40 #include "testing/gtest/include/gtest/gtest.h" 41 #include "testing/gtest/include/gtest/gtest.h"
41 #include "web/WebLocalFrameImpl.h"
42 #include "web/tests/FrameTestHelpers.h" 42 #include "web/tests/FrameTestHelpers.h"
43 43
44 #include <string> 44 #include <string>
45 45
46 #define ASSERT_POINT_EQ(expected, actual) \ 46 #define ASSERT_POINT_EQ(expected, actual) \
47 do { \ 47 do { \
48 ASSERT_EQ((expected).x(), (actual).x()); \ 48 ASSERT_EQ((expected).x(), (actual).x()); \
49 ASSERT_EQ((expected).y(), (actual).y()); \ 49 ASSERT_EQ((expected).y(), (actual).y()); \
50 } while (false) 50 } while (false)
51 51
(...skipping 2401 matching lines...) Expand 10 before | Expand all | Expand 10 after
2453 " margin: 0px;" 2453 " margin: 0px;"
2454 " }" 2454 " }"
2455 " div { height:110vh; width: 110vw; }" 2455 " div { height:110vh; width: 110vw; }"
2456 "</style>" 2456 "</style>"
2457 "<div></div>", 2457 "<div></div>",
2458 base_url); 2458 base_url);
2459 } 2459 }
2460 2460
2461 } // namespace 2461 } // namespace
2462 } // namespace blink 2462 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698