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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderTypes.h

Issue 2936723002: Report frequency of single page app navigations to UMA (Closed)
Patch Set: NOTREACHED Created 3 years, 5 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 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 kScrollRestorationManual 87 kScrollRestorationManual
88 }; 88 };
89 89
90 enum class ProgressBarCompletion { 90 enum class ProgressBarCompletion {
91 kLoadEvent, 91 kLoadEvent,
92 kResourcesBeforeDCL, 92 kResourcesBeforeDCL,
93 kDOMContentLoaded, 93 kDOMContentLoaded,
94 kResourcesBeforeDCLAndSameOriginIFrames 94 kResourcesBeforeDCLAndSameOriginIFrames
95 }; 95 };
96 96
97 // This enum is used to index different kinds of single-page-application
98 // navigations for UMA enum histogram. New enum values can be added, but
99 // existing enums must never be renumbered or deleted and reused.
100 // This enum should be consistent with SinglePageAppNavigationType in
101 // tools/metrics/histograms/enums.xml.
102 enum SinglePageAppNavigationType {
103 kSPANavTypeHistoryPushStateOrReplaceState = 0,
104 kSPANavTypeSameDocumentBackwardOrForward = 1,
105 kSPANavTypeOtherFragmentNavigation = 2,
106 kSPANavTypeCount
107 };
97 } // namespace blink 108 } // namespace blink
98 109
99 #endif 110 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698