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

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

Issue 1965493002: Add runtime setting to force passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 4 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
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::ButtonNone, NoButton); 534 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonNone, NoButton);
535 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton); 535 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton);
536 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton); 536 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton);
537 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton); 537 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton);
538 538
539 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior); 539 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior);
540 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior); 540 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior);
541 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior); 541 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior);
542 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior); 542 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior);
543 543
544 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::False, PassiveListe nerDefault::False);
545 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::True, PassiveListen erDefault::True);
546 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::DocumentTrue, Passi veListenerDefault::DocumentTrue);
547 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::ForceAllTrue, Passi veListenerDefault::ForceAllTrue);
548
544 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); 549 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError);
545 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError); 550 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError);
546 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError); 551 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError);
547 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); 552 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError);
548 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); 553 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError);
549 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError); 554 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError);
550 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError); 555 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError);
551 556
552 STATIC_ASSERT_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType); 557 STATIC_ASSERT_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType);
553 STATIC_ASSERT_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType); 558 STATIC_ASSERT_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType);
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache); 757 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache);
753 758
754 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); 759 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove);
755 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); 760 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap);
756 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move); 761 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move);
757 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 762 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
758 763
759 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 764 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
760 765
761 } // namespace blink 766 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698