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

Unified Diff: cc/blink/web_scrollbar_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_scrollbar_layer_impl.h ('k') | cc/blink/web_to_cc_animation_delegate_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_scrollbar_layer_impl.cc
diff --git a/content/renderer/compositor_bindings/web_scrollbar_layer_impl.cc b/cc/blink/web_scrollbar_layer_impl.cc
similarity index 90%
rename from content/renderer/compositor_bindings/web_scrollbar_layer_impl.cc
rename to cc/blink/web_scrollbar_layer_impl.cc
index 0d3be19aeca2ee8c4e9009f308d734ec2f160b11..dcc8d6fee1501a743efd03fba6bb6c1e699cec55 100644
--- a/content/renderer/compositor_bindings/web_scrollbar_layer_impl.cc
+++ b/cc/blink/web_scrollbar_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_scrollbar_layer_impl.h"
+#include "cc/blink/web_scrollbar_layer_impl.h"
+#include "cc/blink/scrollbar_impl.h"
+#include "cc/blink/web_layer_impl.h"
#include "cc/layers/layer.h"
#include "cc/layers/painted_scrollbar_layer.h"
#include "cc/layers/scrollbar_layer_interface.h"
#include "cc/layers/solid_color_scrollbar_layer.h"
-#include "content/renderer/compositor_bindings/scrollbar_impl.h"
-#include "content/renderer/compositor_bindings/web_layer_impl.h"
using cc::PaintedScrollbarLayer;
using cc::SolidColorScrollbarLayer;
@@ -24,7 +24,7 @@ cc::ScrollbarOrientation ConvertOrientation(
} // namespace
-namespace content {
+namespace cc_blink {
WebScrollbarLayerImpl::WebScrollbarLayerImpl(
blink::WebScrollbar* scrollbar,
@@ -70,5 +70,4 @@ void WebScrollbarLayerImpl::setClipLayer(blink::WebLayer* layer) {
layer_->layer()->ToScrollbarLayer()->SetClipLayer(clip_layer->id());
}
-} // namespace content
-
+} // namespace cc_blink
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.h ('k') | cc/blink/web_to_cc_animation_delegate_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698