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

Side by Side Diff: cc/CCScrollbarGeometryStub.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 | « cc/CCScrollbarGeometryFixedThumb.cpp ('k') | cc/CCScrollbarGeometryStub.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 CCScrollbarGeometryStub_h 5 #ifndef CCScrollbarGeometryStub_h
6 #define CCScrollbarGeometryStub_h 6 #define CCScrollbarGeometryStub_h
7 7
8 #include <public/WebScrollbarThemeGeometry.h> 8 #include <public/WebScrollbarThemeGeometry.h>
9 #include <wtf/OwnPtr.h> 9 #include <wtf/OwnPtr.h>
10 #include <wtf/PassOwnPtr.h> 10 #include <wtf/PassOwnPtr.h>
11 11
12 namespace WebCore { 12 namespace cc {
13 13
14 // This subclass wraps an existing scrollbar geometry class so that 14 // This subclass wraps an existing scrollbar geometry class so that
15 // another class can derive from it and override specific functions, while 15 // another class can derive from it and override specific functions, while
16 // passing through the remaining ones. 16 // passing through the remaining ones.
17 class CCScrollbarGeometryStub : public WebKit::WebScrollbarThemeGeometry { 17 class CCScrollbarGeometryStub : public WebKit::WebScrollbarThemeGeometry {
18 public: 18 public:
19 virtual ~CCScrollbarGeometryStub(); 19 virtual ~CCScrollbarGeometryStub();
20 20
21 // Allow derived classes to update themselves from a scrollbar. 21 // Allow derived classes to update themselves from a scrollbar.
22 void update(WebKit::WebScrollbar*) { } 22 void update(WebKit::WebScrollbar*) { }
(...skipping 20 matching lines...) Expand all
43 protected: 43 protected:
44 explicit CCScrollbarGeometryStub(PassOwnPtr<WebKit::WebScrollbarThemeGeometr y>); 44 explicit CCScrollbarGeometryStub(PassOwnPtr<WebKit::WebScrollbarThemeGeometr y>);
45 45
46 private: 46 private:
47 OwnPtr<WebKit::WebScrollbarThemeGeometry> m_geometry; 47 OwnPtr<WebKit::WebScrollbarThemeGeometry> m_geometry;
48 }; 48 };
49 49
50 } 50 }
51 51
52 #endif 52 #endif
OLDNEW
« no previous file with comments | « cc/CCScrollbarGeometryFixedThumb.cpp ('k') | cc/CCScrollbarGeometryStub.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698