| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |