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

Side by Side Diff: third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp

Issue 2675303004: Move WebCache from public/web into public/platform (Closed)
Patch Set: . Created 3 years, 10 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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "web/ExternalPopupMenu.h" 5 #include "web/ExternalPopupMenu.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "core/HTMLNames.h" 8 #include "core/HTMLNames.h"
9 #include "core/dom/NodeComputedStyle.h" 9 #include "core/dom/NodeComputedStyle.h"
10 #include "core/frame/FrameHost.h" 10 #include "core/frame/FrameHost.h"
11 #include "core/frame/VisualViewport.h" 11 #include "core/frame/VisualViewport.h"
12 #include "core/html/HTMLSelectElement.h" 12 #include "core/html/HTMLSelectElement.h"
13 #include "core/layout/LayoutMenuList.h" 13 #include "core/layout/LayoutMenuList.h"
14 #include "core/page/Page.h" 14 #include "core/page/Page.h"
15 #include "core/testing/DummyPageHolder.h" 15 #include "core/testing/DummyPageHolder.h"
16 #include "platform/PopupMenu.h" 16 #include "platform/PopupMenu.h"
17 #include "platform/testing/URLTestHelpers.h" 17 #include "platform/testing/URLTestHelpers.h"
18 #include "platform/testing/UnitTestHelpers.h" 18 #include "platform/testing/UnitTestHelpers.h"
19 #include "public/platform/Platform.h" 19 #include "public/platform/Platform.h"
20 #include "public/platform/WebCache.h"
20 #include "public/platform/WebURLLoaderMockFactory.h" 21 #include "public/platform/WebURLLoaderMockFactory.h"
21 #include "public/web/WebCache.h"
22 #include "public/web/WebExternalPopupMenu.h" 22 #include "public/web/WebExternalPopupMenu.h"
23 #include "public/web/WebPopupMenuInfo.h" 23 #include "public/web/WebPopupMenuInfo.h"
24 #include "public/web/WebSettings.h" 24 #include "public/web/WebSettings.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 #include "web/WebLocalFrameImpl.h" 26 #include "web/WebLocalFrameImpl.h"
27 #include "web/tests/FrameTestHelpers.h" 27 #include "web/tests/FrameTestHelpers.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class ExternalPopupMenuDisplayNoneItemsTest : public ::testing::Test { 31 class ExternalPopupMenuDisplayNoneItemsTest : public ::testing::Test {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 WebExternalPopupMenuClient* client = 229 WebExternalPopupMenuClient* client =
230 static_cast<ExternalPopupMenu*>(select->popup()); 230 static_cast<ExternalPopupMenu*>(select->popup());
231 WebVector<int> indices; 231 WebVector<int> indices;
232 client->didAcceptIndices(indices); 232 client->didAcceptIndices(indices);
233 EXPECT_FALSE(select->popupIsVisible()); 233 EXPECT_FALSE(select->popupIsVisible());
234 EXPECT_EQ(-1, select->selectedIndex()); 234 EXPECT_EQ(-1, select->selectedIndex());
235 } 235 }
236 236
237 } // namespace blink 237 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/WebKit/Source/web/LinkHighlightImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698