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

Side by Side Diff: cc/CCScrollbarLayerImpl.h

Issue 10898023: Update cc snapshot to WK r126941 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« no previous file with comments | « cc/CCScrollbarGeometryStub.h ('k') | cc/CCScrollbarLayerImpl.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 CCScrollbarLayerImpl_h 5 #ifndef CCScrollbarLayerImpl_h
6 #define CCScrollbarLayerImpl_h 6 #define CCScrollbarLayerImpl_h
7 7
8 #if USE(ACCELERATED_COMPOSITING) 8 #if USE(ACCELERATED_COMPOSITING)
9 9
10 #include "CCLayerImpl.h" 10 #include "CCLayerImpl.h"
(...skipping 22 matching lines...) Expand all
33 void setCurrentPos(float currentPos) { m_currentPos = currentPos; } 33 void setCurrentPos(float currentPos) { m_currentPos = currentPos; }
34 34
35 int totalSize() const { return m_totalSize; } 35 int totalSize() const { return m_totalSize; }
36 void setTotalSize(int totalSize) { m_totalSize = totalSize; } 36 void setTotalSize(int totalSize) { m_totalSize = totalSize; }
37 37
38 int maximum() const { return m_maximum; } 38 int maximum() const { return m_maximum; }
39 void setMaximum(int maximum) { m_maximum = maximum; } 39 void setMaximum(int maximum) { m_maximum = maximum; }
40 40
41 WebKit::WebScrollbar::Orientation orientation() const { return m_orientation ; } 41 WebKit::WebScrollbar::Orientation orientation() const { return m_orientation ; }
42 42
43 virtual void appendQuads(CCQuadSink&, bool& hadMissingTiles) OVERRIDE; 43 virtual void appendQuads(CCQuadSink&, CCAppendQuadsData&) OVERRIDE;
44 44
45 virtual void didLoseContext() OVERRIDE; 45 virtual void didLoseContext() OVERRIDE;
46 46
47 protected: 47 protected:
48 explicit CCScrollbarLayerImpl(int id); 48 explicit CCScrollbarLayerImpl(int id);
49 49
50 private: 50 private:
51 // nested class only to avoid namespace problem 51 // nested class only to avoid namespace problem
52 class CCScrollbar : public WebKit::WebScrollbar { 52 class CCScrollbar : public WebKit::WebScrollbar {
53 public: 53 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool m_isScrollViewScrollbar; 100 bool m_isScrollViewScrollbar;
101 bool m_enabled; 101 bool m_enabled;
102 bool m_isCustomScrollbar; 102 bool m_isCustomScrollbar;
103 bool m_isOverlayScrollbar; 103 bool m_isOverlayScrollbar;
104 }; 104 };
105 105
106 } 106 }
107 #endif // USE(ACCELERATED_COMPOSITING) 107 #endif // USE(ACCELERATED_COMPOSITING)
108 108
109 #endif 109 #endif
OLDNEW
« no previous file with comments | « cc/CCScrollbarGeometryStub.h ('k') | cc/CCScrollbarLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698