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

Side by Side Diff: webkit/compositor/WebSolidColorLayerImpl.h

Issue 10920059: Rolls cc and webkit_compositor up to 127340 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
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 WebSolidColorLayerImpl_h 5 #ifndef WebSolidColorLayerImpl_h
6 #define WebSolidColorLayerImpl_h 6 #define WebSolidColorLayerImpl_h
7 7
8 #include <public/WebSolidColorLayer.h> 8 #include <public/WebSolidColorLayer.h>
9 #include <wtf/OwnPtr.h> 9 #include <wtf/OwnPtr.h>
10 #include <wtf/PassRefPtr.h>
11
12 namespace WebCore {
13 class SolidColorLayerChromium;
14 }
15 10
16 namespace WebKit { 11 namespace WebKit {
17 class WebLayerImpl; 12 class WebLayerImpl;
18 13
19 class WebSolidColorLayerImpl : public WebSolidColorLayer { 14 class WebSolidColorLayerImpl : public WebSolidColorLayer {
20 public: 15 public:
21 explicit WebSolidColorLayerImpl(PassRefPtr<WebCore::SolidColorLayerChromium> ); 16 WebSolidColorLayerImpl();
22 virtual ~WebSolidColorLayerImpl(); 17 virtual ~WebSolidColorLayerImpl();
23 18
24 // WebSolidColorLayer implementation. 19 // WebSolidColorLayer implementation.
25 virtual WebLayer* layer() OVERRIDE; 20 virtual WebLayer* layer() OVERRIDE;
26 virtual void setBackgroundColor(WebColor) OVERRIDE; 21 virtual void setBackgroundColor(WebColor) OVERRIDE;
27 22
28 private: 23 private:
29 OwnPtr<WebLayerImpl> m_layer; 24 OwnPtr<WebLayerImpl> m_layer;
30 }; 25 };
31 26
32 } // namespace WebKit 27 } // namespace WebKit
33 28
34 #endif // WebSolidColorLayerImpl_h 29 #endif // WebSolidColorLayerImpl_h
35 30
OLDNEW
« no previous file with comments | « webkit/compositor/WebScrollbarLayerImpl.cpp ('k') | webkit/compositor/WebSolidColorLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698