OLD | NEW |
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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 tickmarks.resize(webTickmarks.size()); | 121 tickmarks.resize(webTickmarks.size()); |
122 for (size_t i = 0; i < webTickmarks.size(); ++i) | 122 for (size_t i = 0; i < webTickmarks.size(); ++i) |
123 tickmarks[i] = webTickmarks[i]; | 123 tickmarks[i] = webTickmarks[i]; |
124 } | 124 } |
125 | 125 |
126 bool WebScrollbarThemeClientImpl::isScrollableAreaActive() const | 126 bool WebScrollbarThemeClientImpl::isScrollableAreaActive() const |
127 { | 127 { |
128 return m_scrollbar->isScrollableAreaActive(); | 128 return m_scrollbar->isScrollableAreaActive(); |
129 } | 129 } |
130 | 130 |
131 bool WebScrollbarThemeClientImpl::isScrollViewScrollbar() const | |
132 { | |
133 // Unused by Chromium scrollbar themes. | |
134 ASSERT_NOT_REACHED(); | |
135 return false; | |
136 } | |
137 | |
138 IntPoint WebScrollbarThemeClientImpl::convertFromContainingWindow(const IntPoint
& windowPoint) | 131 IntPoint WebScrollbarThemeClientImpl::convertFromContainingWindow(const IntPoint
& windowPoint) |
139 { | 132 { |
140 // Unused by Chromium scrollbar themes. | 133 // Unused by Chromium scrollbar themes. |
141 ASSERT_NOT_REACHED(); | 134 ASSERT_NOT_REACHED(); |
142 return windowPoint; | 135 return windowPoint; |
143 } | 136 } |
144 | 137 |
145 bool WebScrollbarThemeClientImpl::isCustomScrollbar() const | 138 bool WebScrollbarThemeClientImpl::isCustomScrollbar() const |
146 { | 139 { |
147 return m_scrollbar->isCustomScrollbar(); | 140 return m_scrollbar->isCustomScrollbar(); |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 { | 214 { |
222 return m_scrollbar->isAlphaLocked(); | 215 return m_scrollbar->isAlphaLocked(); |
223 } | 216 } |
224 | 217 |
225 void WebScrollbarThemeClientImpl::setIsAlphaLocked(bool flag) | 218 void WebScrollbarThemeClientImpl::setIsAlphaLocked(bool flag) |
226 { | 219 { |
227 m_scrollbar->setIsAlphaLocked(flag); | 220 m_scrollbar->setIsAlphaLocked(flag); |
228 } | 221 } |
229 | 222 |
230 } // namespace blink | 223 } // namespace blink |
OLD | NEW |