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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameTest.cpp

Issue 2774823002: Remove FrameHost class (Closed)
Patch Set: Rebase Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/LocalFrame.h" 5 #include "core/frame/LocalFrame.h"
6 6
7 #include "core/editing/FrameSelection.h" 7 #include "core/editing/FrameSelection.h"
8 #include "core/frame/FrameHost.h"
9 #include "core/frame/FrameView.h" 8 #include "core/frame/FrameView.h"
10 #include "core/frame/PerformanceMonitor.h" 9 #include "core/frame/PerformanceMonitor.h"
11 #include "core/frame/VisualViewport.h" 10 #include "core/frame/VisualViewport.h"
12 #include "core/html/HTMLElement.h" 11 #include "core/html/HTMLElement.h"
13 #include "core/layout/LayoutObject.h" 12 #include "core/layout/LayoutObject.h"
14 #include "core/testing/DummyPageHolder.h" 13 #include "core/testing/DummyPageHolder.h"
15 #include "core/timing/Performance.h" 14 #include "core/timing/Performance.h"
16 #include "platform/DragImage.h" 15 #include "platform/DragImage.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
18 17
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 updateAllLifecyclePhases(); 135 updateAllLifecyclePhases();
137 const std::unique_ptr<DragImage> image2(frame().dragImageForSelection(0.75f)); 136 const std::unique_ptr<DragImage> image2(frame().dragImageForSelection(0.75f));
138 137
139 EXPECT_GT(image1->size().width(), 0); 138 EXPECT_GT(image1->size().width(), 0);
140 EXPECT_GT(image1->size().height(), 0); 139 EXPECT_GT(image1->size().height(), 0);
141 EXPECT_EQ(image1->size().width() * 2, image2->size().width()); 140 EXPECT_EQ(image1->size().width() * 2, image2->size().width());
142 EXPECT_EQ(image1->size().height() * 2, image2->size().height()); 141 EXPECT_EQ(image1->size().height() * 2, image2->size().height());
143 } 142 }
144 143
145 } // namespace blink 144 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698