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

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

Issue 584023002: [WIP] Implement Notifications through Platform instead of WebFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "core/page/InjectedStyleSheets.h" 53 #include "core/page/InjectedStyleSheets.h"
54 #include "core/page/PageVisibilityState.h" 54 #include "core/page/PageVisibilityState.h"
55 #include "core/rendering/style/RenderStyleConstants.h" 55 #include "core/rendering/style/RenderStyleConstants.h"
56 #include "modules/geolocation/GeolocationError.h" 56 #include "modules/geolocation/GeolocationError.h"
57 #include "modules/geolocation/GeolocationPosition.h" 57 #include "modules/geolocation/GeolocationPosition.h"
58 #include "modules/indexeddb/IDBKey.h" 58 #include "modules/indexeddb/IDBKey.h"
59 #include "modules/indexeddb/IDBKeyPath.h" 59 #include "modules/indexeddb/IDBKeyPath.h"
60 #include "modules/indexeddb/IDBMetadata.h" 60 #include "modules/indexeddb/IDBMetadata.h"
61 #include "modules/indexeddb/IndexedDB.h" 61 #include "modules/indexeddb/IndexedDB.h"
62 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 62 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
63 #include "modules/notifications/NotificationClient.h"
64 #include "modules/quota/DeprecatedStorageQuota.h" 63 #include "modules/quota/DeprecatedStorageQuota.h"
65 #include "modules/speech/SpeechRecognitionError.h" 64 #include "modules/speech/SpeechRecognitionError.h"
66 #include "platform/Cursor.h" 65 #include "platform/Cursor.h"
67 #include "platform/FileMetadata.h" 66 #include "platform/FileMetadata.h"
68 #include "platform/FileSystemType.h" 67 #include "platform/FileSystemType.h"
69 #include "platform/PlatformMouseEvent.h" 68 #include "platform/PlatformMouseEvent.h"
70 #include "platform/fonts/FontDescription.h" 69 #include "platform/fonts/FontDescription.h"
71 #include "platform/fonts/FontSmoothingMode.h" 70 #include "platform/fonts/FontSmoothingMode.h"
72 #include "platform/graphics/filters/FilterOperation.h" 71 #include "platform/graphics/filters/FilterOperation.h"
73 #include "platform/graphics/media/MediaPlayer.h" 72 #include "platform/graphics/media/MediaPlayer.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #include "public/web/WebFormElement.h" 110 #include "public/web/WebFormElement.h"
112 #include "public/web/WebGeolocationError.h" 111 #include "public/web/WebGeolocationError.h"
113 #include "public/web/WebGeolocationPosition.h" 112 #include "public/web/WebGeolocationPosition.h"
114 #include "public/web/WebHistoryCommitType.h" 113 #include "public/web/WebHistoryCommitType.h"
115 #include "public/web/WebHistoryItem.h" 114 #include "public/web/WebHistoryItem.h"
116 #include "public/web/WebIconURL.h" 115 #include "public/web/WebIconURL.h"
117 #include "public/web/WebInputElement.h" 116 #include "public/web/WebInputElement.h"
118 #include "public/web/WebInputEvent.h" 117 #include "public/web/WebInputEvent.h"
119 #include "public/web/WebNavigationPolicy.h" 118 #include "public/web/WebNavigationPolicy.h"
120 #include "public/web/WebNavigatorContentUtilsClient.h" 119 #include "public/web/WebNavigatorContentUtilsClient.h"
121 #include "public/web/WebNotificationPresenter.h"
122 #include "public/web/WebPageVisibilityState.h" 120 #include "public/web/WebPageVisibilityState.h"
123 #include "public/web/WebSerializedScriptValueVersion.h" 121 #include "public/web/WebSerializedScriptValueVersion.h"
124 #include "public/web/WebSettings.h" 122 #include "public/web/WebSettings.h"
125 #include "public/web/WebSpeechRecognizerClient.h" 123 #include "public/web/WebSpeechRecognizerClient.h"
126 #include "public/web/WebTextAffinity.h" 124 #include "public/web/WebTextAffinity.h"
127 #include "public/web/WebTextCheckingResult.h" 125 #include "public/web/WebTextCheckingResult.h"
128 #include "public/web/WebTextCheckingType.h" 126 #include "public/web/WebTextCheckingType.h"
129 #include "public/web/WebTextDecorationType.h" 127 #include "public/web/WebTextDecorationType.h"
130 #include "public/web/WebTouchAction.h" 128 #include "public/web/WebTouchAction.h"
131 #include "public/web/WebView.h" 129 #include "public/web/WebView.h"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 418
421 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None); 419 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None);
422 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaD ata); 420 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaD ata);
423 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto); 421 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto);
424 422
425 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); 423 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton);
426 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); 424 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton);
427 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); 425 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton);
428 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); 426 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton);
429 427
430 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionAllowed, Notifi cationClient::PermissionAllowed);
431 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionNotAllowed, Not ificationClient::PermissionNotAllowed);
432 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionDenied, Notific ationClient::PermissionDenied);
433
434 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); 428 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar);
435 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); 429 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar);
436 430
437 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); 431 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine);
438 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); 432 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage);
439 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); 433 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument);
440 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); 434 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel);
441 435
442 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar); 436 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar);
443 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar); 437 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar);
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); 616 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone);
623 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); 617 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse);
624 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); 618 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine);
625 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); 619 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone);
626 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); 620 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand);
627 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); 621 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover);
628 622
629 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion); 623 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion);
630 624
631 } // namespace blink 625 } // 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