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

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

Issue 2125683002: Add option to force document level passive event listeners as a runtime feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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) 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton); 534 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton);
535 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton); 535 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton);
536 536
537 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior); 537 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior);
538 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior); 538 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior);
539 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior); 539 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior);
540 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior); 540 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior);
541 541
542 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::False, PassiveListe nerDefault::False); 542 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::False, PassiveListe nerDefault::False);
543 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::True, PassiveListen erDefault::True); 543 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::True, PassiveListen erDefault::True);
544 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::DocumentTrue, Passi veListenerDefault::DocumentTrue);
545 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::ForceAllTrue, Passi veListenerDefault::ForceAllTrue); 544 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::ForceAllTrue, Passi veListenerDefault::ForceAllTrue);
546 545
547 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); 546 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError);
548 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError); 547 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError);
549 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError); 548 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError);
550 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); 549 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError);
551 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); 550 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError);
552 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError); 551 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError);
553 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError); 552 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError);
554 553
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 754 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
756 755
757 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom pletion::LoadEvent); 756 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom pletion::LoadEvent);
758 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr essBarCompletion::ResourcesBeforeDCL); 757 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr essBarCompletion::ResourcesBeforeDCL);
759 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres sBarCompletion::DOMContentLoaded); 758 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres sBarCompletion::DOMContentLoaded);
760 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); 759 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames);
761 760
762 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 761 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
763 762
764 } // namespace blink 763 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698