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

Side by Side Diff: Source/platform/exported/WebScrollbarImpl.cpp

Issue 648913002: Clean up vestiges of ScrollView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 int WebScrollbarImpl::maximum() const 64 int WebScrollbarImpl::maximum() const
65 { 65 {
66 return m_scrollbar->maximum(); 66 return m_scrollbar->maximum();
67 } 67 }
68 68
69 int WebScrollbarImpl::totalSize() const 69 int WebScrollbarImpl::totalSize() const
70 { 70 {
71 return m_scrollbar->totalSize(); 71 return m_scrollbar->totalSize();
72 } 72 }
73 73
74 bool WebScrollbarImpl::isScrollViewScrollbar() const
75 {
76 return m_scrollbar->isScrollViewScrollbar();
77 }
78
79 bool WebScrollbarImpl::isScrollableAreaActive() const 74 bool WebScrollbarImpl::isScrollableAreaActive() const
80 { 75 {
81 return m_scrollbar->isScrollableAreaActive(); 76 return m_scrollbar->isScrollableAreaActive();
82 } 77 }
83 78
84 void WebScrollbarImpl::getTickmarks(WebVector<WebRect>& webTickmarks) const 79 void WebScrollbarImpl::getTickmarks(WebVector<WebRect>& webTickmarks) const
85 { 80 {
86 Vector<IntRect> tickmarks; 81 Vector<IntRect> tickmarks;
87 m_scrollbar->getTickmarks(tickmarks); 82 m_scrollbar->getTickmarks(tickmarks);
88 83
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 { 127 {
133 return m_scrollbar->isAlphaLocked(); 128 return m_scrollbar->isAlphaLocked();
134 } 129 }
135 130
136 void WebScrollbarImpl::setIsAlphaLocked(bool flag) 131 void WebScrollbarImpl::setIsAlphaLocked(bool flag)
137 { 132 {
138 m_scrollbar->setIsAlphaLocked(flag); 133 m_scrollbar->setIsAlphaLocked(flag);
139 } 134 }
140 135
141 } // namespace blink 136 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/exported/WebScrollbarImpl.h ('k') | Source/platform/exported/WebScrollbarThemeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698