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

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

Issue 624033003: [WIP] Move Web Notifications to a WebFrame-less code path (Blink). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: current state Created 6 years, 2 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 | Annotate | Revision Log
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "core/page/PageVisibilityState.h" 54 #include "core/page/PageVisibilityState.h"
55 #include "core/rendering/compositing/CompositedSelectionBound.h" 55 #include "core/rendering/compositing/CompositedSelectionBound.h"
56 #include "core/rendering/style/RenderStyleConstants.h" 56 #include "core/rendering/style/RenderStyleConstants.h"
57 #include "modules/geolocation/GeolocationError.h" 57 #include "modules/geolocation/GeolocationError.h"
58 #include "modules/geolocation/GeolocationPosition.h" 58 #include "modules/geolocation/GeolocationPosition.h"
59 #include "modules/indexeddb/IDBKey.h" 59 #include "modules/indexeddb/IDBKey.h"
60 #include "modules/indexeddb/IDBKeyPath.h" 60 #include "modules/indexeddb/IDBKeyPath.h"
61 #include "modules/indexeddb/IDBMetadata.h" 61 #include "modules/indexeddb/IDBMetadata.h"
62 #include "modules/indexeddb/IndexedDB.h" 62 #include "modules/indexeddb/IndexedDB.h"
63 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 63 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
64 #include "modules/notifications/NotificationClient.h"
65 #include "modules/quota/DeprecatedStorageQuota.h" 64 #include "modules/quota/DeprecatedStorageQuota.h"
66 #include "modules/speech/SpeechRecognitionError.h" 65 #include "modules/speech/SpeechRecognitionError.h"
67 #include "platform/Cursor.h" 66 #include "platform/Cursor.h"
68 #include "platform/FileMetadata.h" 67 #include "platform/FileMetadata.h"
69 #include "platform/FileSystemType.h" 68 #include "platform/FileSystemType.h"
70 #include "platform/PlatformMouseEvent.h" 69 #include "platform/PlatformMouseEvent.h"
71 #include "platform/fonts/FontDescription.h" 70 #include "platform/fonts/FontDescription.h"
72 #include "platform/fonts/FontSmoothingMode.h" 71 #include "platform/fonts/FontSmoothingMode.h"
73 #include "platform/graphics/filters/FilterOperation.h" 72 #include "platform/graphics/filters/FilterOperation.h"
74 #include "platform/graphics/media/MediaPlayer.h" 73 #include "platform/graphics/media/MediaPlayer.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 #include "public/web/WebFormElement.h" 113 #include "public/web/WebFormElement.h"
115 #include "public/web/WebGeolocationError.h" 114 #include "public/web/WebGeolocationError.h"
116 #include "public/web/WebGeolocationPosition.h" 115 #include "public/web/WebGeolocationPosition.h"
117 #include "public/web/WebHistoryCommitType.h" 116 #include "public/web/WebHistoryCommitType.h"
118 #include "public/web/WebHistoryItem.h" 117 #include "public/web/WebHistoryItem.h"
119 #include "public/web/WebIconURL.h" 118 #include "public/web/WebIconURL.h"
120 #include "public/web/WebInputElement.h" 119 #include "public/web/WebInputElement.h"
121 #include "public/web/WebInputEvent.h" 120 #include "public/web/WebInputEvent.h"
122 #include "public/web/WebNavigationPolicy.h" 121 #include "public/web/WebNavigationPolicy.h"
123 #include "public/web/WebNavigatorContentUtilsClient.h" 122 #include "public/web/WebNavigatorContentUtilsClient.h"
124 #include "public/web/WebNotificationPresenter.h"
125 #include "public/web/WebPageVisibilityState.h" 123 #include "public/web/WebPageVisibilityState.h"
126 #include "public/web/WebSerializedScriptValueVersion.h" 124 #include "public/web/WebSerializedScriptValueVersion.h"
127 #include "public/web/WebSettings.h" 125 #include "public/web/WebSettings.h"
128 #include "public/web/WebSpeechRecognizerClient.h" 126 #include "public/web/WebSpeechRecognizerClient.h"
129 #include "public/web/WebTextAffinity.h" 127 #include "public/web/WebTextAffinity.h"
130 #include "public/web/WebTextCheckingResult.h" 128 #include "public/web/WebTextCheckingResult.h"
131 #include "public/web/WebTextCheckingType.h" 129 #include "public/web/WebTextCheckingType.h"
132 #include "public/web/WebTextDecorationType.h" 130 #include "public/web/WebTextDecorationType.h"
133 #include "public/web/WebTouchAction.h" 131 #include "public/web/WebTouchAction.h"
134 #include "public/web/WebView.h" 132 #include "public/web/WebView.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 432
435 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None); 433 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None);
436 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaD ata); 434 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaD ata);
437 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto); 435 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto);
438 436
439 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); 437 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton);
440 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); 438 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton);
441 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); 439 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton);
442 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); 440 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton);
443 441
444 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionAllowed, Notifi cationClient::PermissionAllowed);
445 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionNotAllowed, Not ificationClient::PermissionNotAllowed);
446 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionDenied, Notific ationClient::PermissionDenied);
447
448 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); 442 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar);
449 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); 443 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar);
450 444
451 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); 445 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine);
452 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); 446 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage);
453 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); 447 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument);
454 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); 448 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel);
455 449
456 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar); 450 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar);
457 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar); 451 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar);
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); 633 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone);
640 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); 634 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse);
641 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); 635 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine);
642 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); 636 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone);
643 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); 637 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand);
644 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); 638 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover);
645 639
646 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion); 640 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion);
647 641
648 } // namespace blink 642 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/notifications/NotificationController.cpp ('k') | Source/web/NotificationPermissionClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698