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

Side by Side Diff: content/renderer/compositor_bindings/web_solid_color_layer_impl.h

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots Created 6 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_ 6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/common/content_export.h"
9 #include "third_party/WebKit/public/platform/WebColor.h" 10 #include "third_party/WebKit/public/platform/WebColor.h"
10 #include "third_party/WebKit/public/platform/WebSolidColorLayer.h" 11 #include "third_party/WebKit/public/platform/WebSolidColorLayer.h"
11 #include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export. h"
12 12
13 namespace webkit { 13 namespace content {
14 class WebLayerImpl; 14 class WebLayerImpl;
15 15
16 class WebSolidColorLayerImpl : public blink::WebSolidColorLayer { 16 class WebSolidColorLayerImpl : public blink::WebSolidColorLayer {
17 public: 17 public:
18 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebSolidColorLayerImpl(); 18 CONTENT_EXPORT WebSolidColorLayerImpl();
19 virtual ~WebSolidColorLayerImpl(); 19 virtual ~WebSolidColorLayerImpl();
20 20
21 // blink::WebSolidColorLayer implementation. 21 // blink::WebSolidColorLayer implementation.
22 virtual blink::WebLayer* layer(); 22 virtual blink::WebLayer* layer();
23 virtual void setBackgroundColor(blink::WebColor); 23 virtual void setBackgroundColor(blink::WebColor);
24 24
25 private: 25 private:
26 scoped_ptr<WebLayerImpl> layer_; 26 scoped_ptr<WebLayerImpl> layer_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(WebSolidColorLayerImpl); 28 DISALLOW_COPY_AND_ASSIGN(WebSolidColorLayerImpl);
29 }; 29 };
30 30
31 } // namespace webkit 31 } // namespace content
32 32
33 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_ 33 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
34 34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698