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

Side by Side Diff: Source/web/AssertMatchingEnums.cpp

Issue 927213004: Accept options in history APIs to allow scroll restoration to be disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | Source/web/WebHistoryItem.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 #include "platform/text/TextChecking.h" 80 #include "platform/text/TextChecking.h"
81 #include "platform/text/TextDecoration.h" 81 #include "platform/text/TextDecoration.h"
82 #include "platform/weborigin/ReferrerPolicy.h" 82 #include "platform/weborigin/ReferrerPolicy.h"
83 #include "platform/weborigin/SchemeRegistry.h" 83 #include "platform/weborigin/SchemeRegistry.h"
84 #include "public/platform/WebApplicationCacheHost.h" 84 #include "public/platform/WebApplicationCacheHost.h"
85 #include "public/platform/WebClipboard.h" 85 #include "public/platform/WebClipboard.h"
86 #include "public/platform/WebCursorInfo.h" 86 #include "public/platform/WebCursorInfo.h"
87 #include "public/platform/WebFileError.h" 87 #include "public/platform/WebFileError.h"
88 #include "public/platform/WebFileInfo.h" 88 #include "public/platform/WebFileInfo.h"
89 #include "public/platform/WebFileSystem.h" 89 #include "public/platform/WebFileSystem.h"
90 #include "public/platform/WebHistoryScrollRestorationType.h"
90 #include "public/platform/WebMediaPlayer.h" 91 #include "public/platform/WebMediaPlayer.h"
91 #include "public/platform/WebMediaPlayerClient.h" 92 #include "public/platform/WebMediaPlayerClient.h"
92 #include "public/platform/WebMediaSource.h" 93 #include "public/platform/WebMediaSource.h"
93 #include "public/platform/WebMediaStreamSource.h" 94 #include "public/platform/WebMediaStreamSource.h"
94 #include "public/platform/WebPageVisibilityState.h" 95 #include "public/platform/WebPageVisibilityState.h"
95 #include "public/platform/WebReferrerPolicy.h" 96 #include "public/platform/WebReferrerPolicy.h"
96 #include "public/platform/WebScrollbar.h" 97 #include "public/platform/WebScrollbar.h"
97 #include "public/platform/WebScrollbarBehavior.h" 98 #include "public/platform/WebScrollbarBehavior.h"
98 #include "public/platform/WebSelectionBound.h" 99 #include "public/platform/WebSelectionBound.h"
99 #include "public/platform/WebStorageQuotaError.h" 100 #include "public/platform/WebStorageQuotaError.h"
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewPopup, NavigationPolicyNewPopu p); 637 STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewPopup, NavigationPolicyNewPopu p);
637 638
638 STATIC_ASSERT_MATCHING_ENUM(WebStandardCommit, StandardCommit); 639 STATIC_ASSERT_MATCHING_ENUM(WebStandardCommit, StandardCommit);
639 STATIC_ASSERT_MATCHING_ENUM(WebBackForwardCommit, BackForwardCommit); 640 STATIC_ASSERT_MATCHING_ENUM(WebBackForwardCommit, BackForwardCommit);
640 STATIC_ASSERT_MATCHING_ENUM(WebInitialCommitInChildFrame, InitialCommitInChildFr ame); 641 STATIC_ASSERT_MATCHING_ENUM(WebInitialCommitInChildFrame, InitialCommitInChildFr ame);
641 STATIC_ASSERT_MATCHING_ENUM(WebHistoryInertCommit, HistoryInertCommit); 642 STATIC_ASSERT_MATCHING_ENUM(WebHistoryInertCommit, HistoryInertCommit);
642 643
643 STATIC_ASSERT_MATCHING_ENUM(WebHistorySameDocumentLoad, HistorySameDocumentLoad) ; 644 STATIC_ASSERT_MATCHING_ENUM(WebHistorySameDocumentLoad, HistorySameDocumentLoad) ;
644 STATIC_ASSERT_MATCHING_ENUM(WebHistoryDifferentDocumentLoad, HistoryDifferentDoc umentLoad); 645 STATIC_ASSERT_MATCHING_ENUM(WebHistoryDifferentDocumentLoad, HistoryDifferentDoc umentLoad);
645 646
647 STATIC_ASSERT_MATCHING_ENUM(WebHistoryScrollRestorationManual, ScrollRestoration Manual);
648 STATIC_ASSERT_MATCHING_ENUM(WebHistoryScrollRestorationAuto, ScrollRestorationAu to);
649
646 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); 650 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel);
647 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); 651 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel);
648 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLevel ); 652 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLevel );
649 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); 653 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel);
650 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel); 654 STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel);
651 655
652 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::C ustomHandlersNew); 656 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::C ustomHandlersNew);
653 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsCl ient::CustomHandlersRegistered); 657 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsCl ient::CustomHandlersRegistered);
654 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClie nt::CustomHandlersDeclined); 658 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClie nt::CustomHandlersDeclined);
655 659
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation ); 713 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation );
710 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); 714 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups);
711 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features); 715 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features);
712 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); 716 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock);
713 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in); 717 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in);
714 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock); 718 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock);
715 719
716 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler); 720 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler);
717 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler); 721 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler);
718 } // namespace blink 722 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | Source/web/WebHistoryItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698