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

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

Issue 844733003: Use VisibilityState enum and move WebPageVisibilityState to public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sw_enum_stuff
Patch Set: SWContainer uses pageVisibilityState Created 5 years, 11 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 #include "public/platform/WebIDBDatabaseException.h" 91 #include "public/platform/WebIDBDatabaseException.h"
92 #include "public/platform/WebIDBFactory.h" 92 #include "public/platform/WebIDBFactory.h"
93 #include "public/platform/WebIDBKey.h" 93 #include "public/platform/WebIDBKey.h"
94 #include "public/platform/WebIDBKeyPath.h" 94 #include "public/platform/WebIDBKeyPath.h"
95 #include "public/platform/WebIDBMetadata.h" 95 #include "public/platform/WebIDBMetadata.h"
96 #include "public/platform/WebIDBTypes.h" 96 #include "public/platform/WebIDBTypes.h"
97 #include "public/platform/WebMediaPlayer.h" 97 #include "public/platform/WebMediaPlayer.h"
98 #include "public/platform/WebMediaPlayerClient.h" 98 #include "public/platform/WebMediaPlayerClient.h"
99 #include "public/platform/WebMediaSource.h" 99 #include "public/platform/WebMediaSource.h"
100 #include "public/platform/WebMediaStreamSource.h" 100 #include "public/platform/WebMediaStreamSource.h"
101 #include "public/platform/WebPageVisibilityState.h"
101 #include "public/platform/WebReferrerPolicy.h" 102 #include "public/platform/WebReferrerPolicy.h"
102 #include "public/platform/WebScrollbar.h" 103 #include "public/platform/WebScrollbar.h"
103 #include "public/platform/WebScrollbarBehavior.h" 104 #include "public/platform/WebScrollbarBehavior.h"
104 #include "public/platform/WebSelectionBound.h" 105 #include "public/platform/WebSelectionBound.h"
105 #include "public/platform/WebStorageQuotaError.h" 106 #include "public/platform/WebStorageQuotaError.h"
106 #include "public/platform/WebStorageQuotaType.h" 107 #include "public/platform/WebStorageQuotaType.h"
107 #include "public/platform/WebURLRequest.h" 108 #include "public/platform/WebURLRequest.h"
108 #include "public/platform/WebURLResponse.h" 109 #include "public/platform/WebURLResponse.h"
109 #include "public/web/WebAXEnums.h" 110 #include "public/web/WebAXEnums.h"
110 #include "public/web/WebAXObject.h" 111 #include "public/web/WebAXObject.h"
111 #include "public/web/WebConsoleMessage.h" 112 #include "public/web/WebConsoleMessage.h"
112 #include "public/web/WebContentSecurityPolicy.h" 113 #include "public/web/WebContentSecurityPolicy.h"
113 #include "public/web/WebFontDescription.h" 114 #include "public/web/WebFontDescription.h"
114 #include "public/web/WebFormElement.h" 115 #include "public/web/WebFormElement.h"
115 #include "public/web/WebGeolocationError.h" 116 #include "public/web/WebGeolocationError.h"
116 #include "public/web/WebGeolocationPosition.h" 117 #include "public/web/WebGeolocationPosition.h"
117 #include "public/web/WebHistoryCommitType.h" 118 #include "public/web/WebHistoryCommitType.h"
118 #include "public/web/WebHistoryItem.h" 119 #include "public/web/WebHistoryItem.h"
119 #include "public/web/WebIconURL.h" 120 #include "public/web/WebIconURL.h"
120 #include "public/web/WebInputElement.h" 121 #include "public/web/WebInputElement.h"
121 #include "public/web/WebInputEvent.h" 122 #include "public/web/WebInputEvent.h"
122 #include "public/web/WebNavigationPolicy.h" 123 #include "public/web/WebNavigationPolicy.h"
123 #include "public/web/WebNavigatorContentUtilsClient.h" 124 #include "public/web/WebNavigatorContentUtilsClient.h"
124 #include "public/web/WebPageVisibilityState.h"
125 #include "public/web/WebSecurityPolicy.h" 125 #include "public/web/WebSecurityPolicy.h"
126 #include "public/web/WebSerializedScriptValueVersion.h" 126 #include "public/web/WebSerializedScriptValueVersion.h"
127 #include "public/web/WebSettings.h" 127 #include "public/web/WebSettings.h"
128 #include "public/web/WebSpeechRecognizerClient.h" 128 #include "public/web/WebSpeechRecognizerClient.h"
129 #include "public/web/WebTextAffinity.h" 129 #include "public/web/WebTextAffinity.h"
130 #include "public/web/WebTextCheckingResult.h" 130 #include "public/web/WebTextCheckingResult.h"
131 #include "public/web/WebTextCheckingType.h" 131 #include "public/web/WebTextCheckingType.h"
132 #include "public/web/WebTextDecorationType.h" 132 #include "public/web/WebTextDecorationType.h"
133 #include "public/web/WebTouchAction.h" 133 #include "public/web/WebTouchAction.h"
134 #include "public/web/WebView.h" 134 #include "public/web/WebView.h"
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); 660 STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover);
661 661
662 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaNone, SchemeRegistry::P olicyAreaNone); 662 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaNone, SchemeRegistry::P olicyAreaNone);
663 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaImage, SchemeRegistry:: PolicyAreaImage); 663 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaImage, SchemeRegistry:: PolicyAreaImage);
664 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaStyle, SchemeRegistry:: PolicyAreaStyle); 664 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaStyle, SchemeRegistry:: PolicyAreaStyle);
665 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::Po licyAreaAll); 665 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::Po licyAreaAll);
666 666
667 STATIC_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVal ue::wireFormatVersion); 667 STATIC_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVal ue::wireFormatVersion);
668 668
669 } // namespace blink 669 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/WindowClient.idl ('k') | public/platform/WebPageVisibilityState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698