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

Unified Diff: cc/blink/web_external_texture_layer_impl.cc

Issue 470983004: Move blink<->cc bindings to cc/blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/blink/web_external_texture_layer_impl.h ('k') | cc/blink/web_filter_animation_curve_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_external_texture_layer_impl.cc
diff --git a/content/renderer/compositor_bindings/web_external_texture_layer_impl.cc b/cc/blink/web_external_texture_layer_impl.cc
similarity index 91%
rename from content/renderer/compositor_bindings/web_external_texture_layer_impl.cc
rename to cc/blink/web_external_texture_layer_impl.cc
index a759e5c52345c91f4272e39ae3fe24f43e4b42a4..e6c8a64607da14d1c846e7ad2cc79efc1899c675 100644
--- a/content/renderer/compositor_bindings/web_external_texture_layer_impl.cc
+++ b/cc/blink/web_external_texture_layer_impl.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/renderer/compositor_bindings/web_external_texture_layer_impl.h"
+#include "cc/blink/web_external_texture_layer_impl.h"
+#include "cc/blink/web_external_bitmap_impl.h"
+#include "cc/blink/web_layer_impl.h"
#include "cc/layers/texture_layer.h"
#include "cc/resources/resource_update_queue.h"
#include "cc/resources/single_release_callback.h"
#include "cc/resources/texture_mailbox.h"
-#include "content/renderer/compositor_bindings/web_external_bitmap_impl.h"
-#include "content/renderer/compositor_bindings/web_layer_impl.h"
#include "third_party/WebKit/public/platform/WebExternalTextureLayerClient.h"
#include "third_party/WebKit/public/platform/WebExternalTextureMailbox.h"
#include "third_party/WebKit/public/platform/WebFloatRect.h"
@@ -20,7 +20,7 @@
using cc::TextureLayer;
using cc::ResourceUpdateQueue;
-namespace content {
+namespace cc_blink {
WebExternalTextureLayerImpl::WebExternalTextureLayerImpl(
blink::WebExternalTextureLayerClient* client)
@@ -50,8 +50,8 @@ void WebExternalTextureLayerImpl::setOpaque(bool opaque) {
void WebExternalTextureLayerImpl::setPremultipliedAlpha(
bool premultiplied_alpha) {
- static_cast<TextureLayer*>(layer_->layer())->SetPremultipliedAlpha(
- premultiplied_alpha);
+ static_cast<TextureLayer*>(layer_->layer())
+ ->SetPremultipliedAlpha(premultiplied_alpha);
}
void WebExternalTextureLayerImpl::setBlendBackgroundColor(bool blend) {
@@ -122,5 +122,4 @@ void WebExternalTextureLayerImpl::DidReleaseMailbox(
layer->client_->mailboxReleased(available_mailbox, lost_resource);
}
-} // namespace content
-
+} // namespace cc_blink
« no previous file with comments | « cc/blink/web_external_texture_layer_impl.h ('k') | cc/blink/web_filter_animation_curve_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698