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

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

Issue 1890513004: Remove dependency on the DevTools agent for console logs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 STATIC_ASSERT_ENUM(WebBackForwardCommit, BackForwardCommit); 663 STATIC_ASSERT_ENUM(WebBackForwardCommit, BackForwardCommit);
664 STATIC_ASSERT_ENUM(WebInitialCommitInChildFrame, InitialCommitInChildFrame); 664 STATIC_ASSERT_ENUM(WebInitialCommitInChildFrame, InitialCommitInChildFrame);
665 STATIC_ASSERT_ENUM(WebHistoryInertCommit, HistoryInertCommit); 665 STATIC_ASSERT_ENUM(WebHistoryInertCommit, HistoryInertCommit);
666 666
667 STATIC_ASSERT_ENUM(WebHistorySameDocumentLoad, HistorySameDocumentLoad); 667 STATIC_ASSERT_ENUM(WebHistorySameDocumentLoad, HistorySameDocumentLoad);
668 STATIC_ASSERT_ENUM(WebHistoryDifferentDocumentLoad, HistoryDifferentDocumentLoad ); 668 STATIC_ASSERT_ENUM(WebHistoryDifferentDocumentLoad, HistoryDifferentDocumentLoad );
669 669
670 STATIC_ASSERT_ENUM(WebHistoryScrollRestorationManual, ScrollRestorationManual); 670 STATIC_ASSERT_ENUM(WebHistoryScrollRestorationManual, ScrollRestorationManual);
671 STATIC_ASSERT_ENUM(WebHistoryScrollRestorationAuto, ScrollRestorationAuto); 671 STATIC_ASSERT_ENUM(WebHistoryScrollRestorationAuto, ScrollRestorationAuto);
672 672
673 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::XML, XMLMessageSource);
674 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::JS, JSMessageSource);
675 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::Network, NetworkMessageSource);
676 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::ConsoleAPI, ConsoleAPIMessageSourc e);
677 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::Storage, StorageMessageSource);
678 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::AppCache, AppCacheMessageSource);
679 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::Rendering, RenderingMessageSource) ;
680 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::Security, SecurityMessageSource);
681 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::Other, OtherMessageSource);
682 STATIC_ASSERT_ENUM(WebConsoleMessage::Source::Deprecation, DeprecationMessageSou rce);
683
673 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); 684 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel);
674 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); 685 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel);
675 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLevel); 686 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLevel);
676 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); 687 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel);
677 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel); 688 STATIC_ASSERT_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel);
678 689
679 STATIC_ASSERT_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::CustomHand lersNew); 690 STATIC_ASSERT_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::CustomHand lersNew);
680 STATIC_ASSERT_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsClient::Cus tomHandlersRegistered); 691 STATIC_ASSERT_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsClient::Cus tomHandlersRegistered);
681 STATIC_ASSERT_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClient::Custo mHandlersDeclined); 692 STATIC_ASSERT_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClient::Custo mHandlersDeclined);
682 693
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache); 750 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache);
740 751
741 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); 752 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove);
742 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); 753 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap);
743 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move); 754 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move);
744 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 755 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
745 756
746 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 757 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
747 758
748 } // namespace blink 759 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698