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

Side by Side Diff: third_party/WebKit/Source/web/tests/DeferredLoadingTest.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 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/exported/WebViewBase.h" 5 #include "core/exported/WebViewBase.h"
6 #include "core/frame/WebLocalFrameBase.h"
6 #include "platform/testing/HistogramTester.h" 7 #include "platform/testing/HistogramTester.h"
7 #include "platform/testing/UnitTestHelpers.h" 8 #include "platform/testing/UnitTestHelpers.h"
8 #include "web/WebLocalFrameImpl.h"
9 #include "web/tests/sim/SimCompositor.h" 9 #include "web/tests/sim/SimCompositor.h"
10 #include "web/tests/sim/SimDisplayItemList.h" 10 #include "web/tests/sim/SimDisplayItemList.h"
11 #include "web/tests/sim/SimRequest.h" 11 #include "web/tests/sim/SimRequest.h"
12 #include "web/tests/sim/SimTest.h" 12 #include "web/tests/sim/SimTest.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 static const char kHistogramName[] = 16 static const char kHistogramName[] =
17 "Navigation.DeferredDocumentLoading.StatesV4"; 17 "Navigation.DeferredDocumentLoading.StatesV4";
18 18
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 496
497 ExpectCount(WouldLoadReason::kCreated, 1); 497 ExpectCount(WouldLoadReason::kCreated, 1);
498 ExpectCount(WouldLoadReason::kVisible, 1); 498 ExpectCount(WouldLoadReason::kVisible, 1);
499 ExpectCount(WouldLoadReason::k1ScreenAway, 1); 499 ExpectCount(WouldLoadReason::k1ScreenAway, 1);
500 ExpectCount(WouldLoadReason::k2ScreensAway, 1); 500 ExpectCount(WouldLoadReason::k2ScreensAway, 1);
501 ExpectCount(WouldLoadReason::k3ScreensAway, 1); 501 ExpectCount(WouldLoadReason::k3ScreensAway, 1);
502 ExpectTotalCount(5); 502 ExpectTotalCount(5);
503 } 503 }
504 504
505 } // namespace blink 505 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698