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

Side by Side Diff: webkit/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/public/platform/WebColor.h"
10 #include "third_party/WebKit/public/platform/WebSolidColorLayer.h"
11 #include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export. h"
12
13 namespace webkit {
14 class WebLayerImpl;
15
16 class WebSolidColorLayerImpl : public blink::WebSolidColorLayer {
17 public:
18 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebSolidColorLayerImpl();
19 virtual ~WebSolidColorLayerImpl();
20
21 // blink::WebSolidColorLayer implementation.
22 virtual blink::WebLayer* layer();
23 virtual void setBackgroundColor(blink::WebColor);
24
25 private:
26 scoped_ptr<WebLayerImpl> layer_;
27
28 DISALLOW_COPY_AND_ASSIGN(WebSolidColorLayerImpl);
29 };
30
31 } // namespace webkit
32
33 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_SOLID_COLOR_LAYER_IMPL_H_
34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698