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

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 comments 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonNone, NoButton); 528 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonNone, NoButton);
529 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton); 529 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton);
530 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton); 530 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton);
531 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton); 531 STATIC_ASSERT_ENUM(WebScrollbarBehavior::ButtonRight, RightButton);
532 532
533 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior); 533 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior);
534 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior); 534 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior);
535 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior); 535 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior);
536 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior); 536 STATIC_ASSERT_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior);
537 537
538 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::False, PassiveListe nerDefault::False);
539 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::True, PassiveListen erDefault::True);
540 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::DocumentTrue, Passi veListenerDefault::DocumentTrue);
541 STATIC_ASSERT_ENUM(WebSettings::PassiveEventListenerDefault::ForceAllTrue, Passi veListenerDefault::ForceAllTrue);
542
538 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); 543 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError);
539 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError); 544 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError);
540 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError); 545 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionDataError, DataError);
541 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); 546 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionVersionError, VersionError);
542 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); 547 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionAbortError, AbortError);
543 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError); 548 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError);
544 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError); 549 STATIC_ASSERT_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError);
545 550
546 STATIC_ASSERT_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType); 551 STATIC_ASSERT_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType);
547 STATIC_ASSERT_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType); 552 STATIC_ASSERT_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType);
(...skipping 190 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/Settings.in ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698