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

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: 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonNone, NoButton); 525 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonNone, NoButton);
526 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton); 526 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton);
527 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton); 527 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton);
528 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton); 528 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton);
529 529
530 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior); 530 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior);
531 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior); 531 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior);
532 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior); 532 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior);
533 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior); 533 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior);
534 534
535 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::False, PassiveListe nerDefault::False);
536 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::True, PassiveListen erDefault::True);
537 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::DocumentTrue, Passi veListenerDefault::DocumentTrue);
538 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::ForceAllTrue, Passi veListenerDefault::ForceAllTrue);
539
535 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); 540 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError);
536 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError); 541 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError);
537 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError); 542 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError);
538 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); 543 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError);
539 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); 544 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError);
540 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError); 545 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError);
541 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError); 546 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError);
542 547
543 STATIC_ASSERT_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType); 548 STATIC_ASSERT_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType);
544 STATIC_ASSERT_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType); 549 STATIC_ASSERT_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType);
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache); 743 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache);
739 744
740 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); 745 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove);
741 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); 746 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap);
742 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move); 747 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move);
743 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 748 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
744 749
745 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 750 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
746 751
747 } // namespace blink 752 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698