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

Side by Side Diff: webkit/compositor_bindings/web_scrollbar_layer_impl.h

Issue 12496013: Move compositor bindings implementations out of WebKit::, fix style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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 WebScrollbarLayerImpl_h 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_SCROLLBAR_LAYER_IMPL_H_
6 #define WebScrollbarLayerImpl_h 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_SCROLLBAR_LAYER_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarLayer.h " 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarLayer.h "
10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" 10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
11 11
12 namespace WebKit { 12 namespace WebKit {
13
14 class WebLayerImpl;
15 class WebScrollbar; 13 class WebScrollbar;
16 class WebScrollbarThemeGeometry; 14 class WebScrollbarThemeGeometry;
17 class WebScrollbarThemePainter; 15 class WebScrollbarThemePainter;
16 }
18 17
19 class WebScrollbarLayerImpl : public WebScrollbarLayer { 18 namespace webkit {
19
20 class WebLayerImpl;
21
22 class WebScrollbarLayerImpl : public WebKit::WebScrollbarLayer {
20 public: 23 public:
21 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebScrollbarLayerImpl( 24 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebScrollbarLayerImpl(
22 WebScrollbar*, 25 WebKit::WebScrollbar* scrollbar,
23 WebScrollbarThemePainter, 26 WebKit::WebScrollbarThemePainter painter,
24 WebScrollbarThemeGeometry*); 27 WebKit::WebScrollbarThemeGeometry* geometry);
25 virtual ~WebScrollbarLayerImpl(); 28 virtual ~WebScrollbarLayerImpl();
26 29
27 // WebScrollbarLayer implementation. 30 // WebKit::WebScrollbarLayer implementation.
28 virtual WebLayer* layer(); 31 virtual WebKit::WebLayer* layer();
29 virtual void setScrollLayer(WebLayer*); 32 virtual void setScrollLayer(WebKit::WebLayer* layer);
30 33
31 private: 34 private:
32 scoped_ptr<WebLayerImpl> layer_; 35 scoped_ptr<WebLayerImpl> layer_;
36
37 DISALLOW_COPY_AND_ASSIGN(WebScrollbarLayerImpl);
33 }; 38 };
34 39
35 } 40 } // namespace webkit
36 41
37 #endif // WebScrollbarLayerImpl_h 42 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_SCROLLBAR_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_rendering_stats_impl.h ('k') | webkit/compositor_bindings/web_scrollbar_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698