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

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

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 #include "public/platform/WebMediaSource.h" 120 #include "public/platform/WebMediaSource.h"
121 #include "public/platform/WebMediaStreamSource.h" 121 #include "public/platform/WebMediaStreamSource.h"
122 #include "public/platform/WebRTCDataChannelHandlerClient.h" 122 #include "public/platform/WebRTCDataChannelHandlerClient.h"
123 #include "public/platform/WebRTCPeerConnectionHandlerClient.h" 123 #include "public/platform/WebRTCPeerConnectionHandlerClient.h"
124 #include "public/platform/WebReferrerPolicy.h" 124 #include "public/platform/WebReferrerPolicy.h"
125 #include "public/platform/WebScrollbar.h" 125 #include "public/platform/WebScrollbar.h"
126 #include "public/platform/WebURLRequest.h" 126 #include "public/platform/WebURLRequest.h"
127 #include "public/platform/WebURLResponse.h" 127 #include "public/platform/WebURLResponse.h"
128 #include "public/web/WebNavigationPolicy.h" 128 #include "public/web/WebNavigationPolicy.h"
129 #include "public/web/WebSerializedScriptValueVersion.h" 129 #include "public/web/WebSerializedScriptValueVersion.h"
130 #include "weborigin/ReferrerPolicy.h" 130 #include "platform/weborigin/ReferrerPolicy.h"
131 #include "wtf/Assertions.h" 131 #include "wtf/Assertions.h"
132 #include "wtf/text/StringImpl.h" 132 #include "wtf/text/StringImpl.h"
133 133
134 #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, webcore_name) \ 134 #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, webcore_name) \
135 COMPILE_ASSERT(int(WebKit::webkit_name) == int(WebCore::webcore_name), misma tching_enums) 135 COMPILE_ASSERT(int(WebKit::webkit_name) == int(WebCore::webcore_name), misma tching_enums)
136 136
137 #define COMPILE_ASSERT_MATCHING_UINT64(webkit_name, webcore_name) \ 137 #define COMPILE_ASSERT_MATCHING_UINT64(webkit_name, webcore_name) \
138 COMPILE_ASSERT(WebKit::webkit_name == WebCore::webcore_name, mismatching_enu ms) 138 COMPILE_ASSERT(WebKit::webkit_name == WebCore::webcore_name, mismatching_enu ms)
139 139
140 // These constants are in WTF, bring them into WebCore so the ASSERT still works for them! 140 // These constants are in WTF, bring them into WebCore so the ASSERT still works for them!
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonRoot, CompositingReasonRoot); 698 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonRoot, CompositingReasonRoot);
699 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForClip, CompositingReasonL ayerForClip); 699 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForClip, CompositingReasonL ayerForClip);
700 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollbar, CompositingRe asonLayerForScrollbar); 700 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollbar, CompositingRe asonLayerForScrollbar);
701 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollingContainer, Comp ositingReasonLayerForScrollingContainer); 701 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollingContainer, Comp ositingReasonLayerForScrollingContainer);
702 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForForeground, CompositingR easonLayerForForeground); 702 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForForeground, CompositingR easonLayerForForeground);
703 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForBackground, CompositingR easonLayerForBackground); 703 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForBackground, CompositingR easonLayerForBackground);
704 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForMask, CompositingReasonL ayerForMask); 704 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForMask, CompositingReasonL ayerForMask);
705 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOverflowScrollingParent, Composi tingReasonOverflowScrollingParent); 705 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOverflowScrollingParent, Composi tingReasonOverflowScrollingParent);
706 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOutOfFlowClipping, CompositingRe asonOutOfFlowClipping); 706 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOutOfFlowClipping, CompositingRe asonOutOfFlowClipping);
707 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion); 707 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698