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

Side by Side Diff: webkit/compositor/WebScrollbarLayerImpl.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
« no previous file with comments | « webkit/compositor/WebLayerImpl.cpp ('k') | webkit/compositor/WebScrollbarLayerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebScrollbarLayerImpl_h 5 #ifndef WebScrollbarLayerImpl_h
6 #define WebScrollbarLayerImpl_h 6 #define WebScrollbarLayerImpl_h
7 7
8 #include <public/WebScrollbarLayer.h> 8 #include <public/WebScrollbarLayer.h>
9 #include <wtf/OwnPtr.h> 9 #include <wtf/OwnPtr.h>
10 #include <wtf/PassRefPtr.h>
11
12 namespace WebCore {
13 class ScrollbarLayerChromium;
14 }
15 10
16 namespace WebKit { 11 namespace WebKit {
17 class WebLayerImpl; 12 class WebLayerImpl;
18 13
19 class WebScrollbarLayerImpl : public WebScrollbarLayer { 14 class WebScrollbarLayerImpl : public WebScrollbarLayer {
20 public: 15 public:
21 explicit WebScrollbarLayerImpl(PassRefPtr<WebCore::ScrollbarLayerChromium>); 16 WebScrollbarLayerImpl(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarT hemeGeometry*);
22 virtual ~WebScrollbarLayerImpl(); 17 virtual ~WebScrollbarLayerImpl();
23 18
24 // WebScrollbarLayer implementation. 19 // WebScrollbarLayer implementation.
25 virtual WebLayer* layer() OVERRIDE; 20 virtual WebLayer* layer() OVERRIDE;
26 virtual void setScrollLayer(WebLayer*) OVERRIDE; 21 virtual void setScrollLayer(WebLayer*) OVERRIDE;
27 22
28 private: 23 private:
29 OwnPtr<WebLayerImpl> m_layer; 24 OwnPtr<WebLayerImpl> m_layer;
30 }; 25 };
31 26
32 } 27 }
33 28
34 #endif // WebScrollbarLayerImpl_h 29 #endif // WebScrollbarLayerImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor/WebLayerImpl.cpp ('k') | webkit/compositor/WebScrollbarLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698