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

Unified Diff: cc/blink/web_nine_patch_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_nine_patch_layer_impl.h ('k') | cc/blink/web_scroll_offset_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_nine_patch_layer_impl.cc
diff --git a/content/renderer/compositor_bindings/web_nine_patch_layer_impl.cc b/cc/blink/web_nine_patch_layer_impl.cc
similarity index 86%
rename from content/renderer/compositor_bindings/web_nine_patch_layer_impl.cc
rename to cc/blink/web_nine_patch_layer_impl.cc
index 55a7501b3ad07fb0e05eed07bcd1e99d2ec0ce0d..6b3eacf17c9baeba7c6c3d42a8906b3cffa29d03 100644
--- a/content/renderer/compositor_bindings/web_nine_patch_layer_impl.cc
+++ b/cc/blink/web_nine_patch_layer_impl.cc
@@ -2,16 +2,16 @@
// 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_nine_patch_layer_impl.h"
+#include "cc/blink/web_nine_patch_layer_impl.h"
#include "base/command_line.h"
#include "cc/base/switches.h"
+#include "cc/blink/web_layer_impl.h"
+#include "cc/blink/web_layer_impl_fixed_bounds.h"
#include "cc/layers/nine_patch_layer.h"
#include "cc/layers/picture_image_layer.h"
-#include "content/renderer/compositor_bindings/web_layer_impl.h"
-#include "content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h"
-namespace content {
+namespace cc_blink {
WebNinePatchLayerImpl::WebNinePatchLayerImpl() {
layer_.reset(new WebLayerImpl(cc::NinePatchLayer::Create()));
@@ -58,5 +58,4 @@ void WebNinePatchLayerImpl::setFillCenter(bool fill_center) {
nine_patch->SetFillCenter(fill_center);
}
-} // namespace content
-
+} // namespace cc_blink
« no previous file with comments | « cc/blink/web_nine_patch_layer_impl.h ('k') | cc/blink/web_scroll_offset_animation_curve_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698