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

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

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments Created 5 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 /* 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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); 715 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups);
716 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features); 716 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features);
717 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); 717 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock);
718 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in); 718 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in);
719 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock); 719 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock);
720 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PropagatesToAuxiliaryBrowsingContex ts, SandboxPropagatesToAuxiliaryBrowsingContexts); 720 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PropagatesToAuxiliaryBrowsingContex ts, SandboxPropagatesToAuxiliaryBrowsingContexts);
721 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Modals, SandboxModals); 721 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Modals, SandboxModals);
722 722
723 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler); 723 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler);
724 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler); 724 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler);
725
726 STATIC_ASSERT_MATCHING_ENUM(Standard, FrameLoadTypeStandard);
727 STATIC_ASSERT_MATCHING_ENUM(BackForward, FrameLoadTypeBackForward);
728 STATIC_ASSERT_MATCHING_ENUM(Reload, FrameLoadTypeReload);
729 STATIC_ASSERT_MATCHING_ENUM(Same, FrameLoadTypeSame);
730 STATIC_ASSERT_MATCHING_ENUM(RedirectWithLockedBackForwardList, FrameLoadTypeRedi rectWithLockedBackForwardList);
731 STATIC_ASSERT_MATCHING_ENUM(InitialInChildFrame, FrameLoadTypeInitialInChildFram e);
732 STATIC_ASSERT_MATCHING_ENUM(InitialHistoryLoad, FrameLoadTypeInitialHistoryLoad) ;
733 STATIC_ASSERT_MATCHING_ENUM(ReloadFromOrigin, FrameLoadTypeReloadFromOrigin);
725 } // namespace blink 734 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698