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

Side by Side Diff: webkit/renderer/compositor_bindings/web_compositing_reasons.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "cc/layers/compositing_reasons.h" 6 #include "cc/layers/compositing_reasons.h"
7 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositingReaso ns.h" 7 #include "third_party/WebKit/public/platform/WebCompositingReasons.h"
8 8
9 #define COMPILE_ASSERT_MATCHING_ENUMS(cc_name, webkit_name) \ 9 #define COMPILE_ASSERT_MATCHING_ENUMS(cc_name, webkit_name) \
10 COMPILE_ASSERT( \ 10 COMPILE_ASSERT( \
11 static_cast<int>(cc_name) == static_cast<int>(webkit_name), \ 11 static_cast<int>(cc_name) == static_cast<int>(webkit_name), \
12 mismatching_enums) 12 mismatching_enums)
13 13
14 COMPILE_ASSERT_MATCHING_ENUMS( 14 COMPILE_ASSERT_MATCHING_ENUMS(
15 cc::kCompositingReasonUnknown, 15 cc::kCompositingReasonUnknown,
16 WebKit::CompositingReasonUnknown); 16 WebKit::CompositingReasonUnknown);
17 17
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 cc::kCompositingReasonLayerForForeground, 135 cc::kCompositingReasonLayerForForeground,
136 WebKit::CompositingReasonLayerForForeground); 136 WebKit::CompositingReasonLayerForForeground);
137 137
138 COMPILE_ASSERT_MATCHING_ENUMS( 138 COMPILE_ASSERT_MATCHING_ENUMS(
139 cc::kCompositingReasonLayerForBackground, 139 cc::kCompositingReasonLayerForBackground,
140 WebKit::CompositingReasonLayerForBackground); 140 WebKit::CompositingReasonLayerForBackground);
141 141
142 COMPILE_ASSERT_MATCHING_ENUMS( 142 COMPILE_ASSERT_MATCHING_ENUMS(
143 cc::kCompositingReasonLayerForMask, 143 cc::kCompositingReasonLayerForMask,
144 WebKit::CompositingReasonLayerForMask); 144 WebKit::CompositingReasonLayerForMask);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698