| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 float WebScrollbarThemeClientImpl::elasticOverscroll() const | 227 float WebScrollbarThemeClientImpl::elasticOverscroll() const |
| 228 { | 228 { |
| 229 return m_scrollbar->elasticOverscroll(); | 229 return m_scrollbar->elasticOverscroll(); |
| 230 } | 230 } |
| 231 | 231 |
| 232 void WebScrollbarThemeClientImpl::setElasticOverscroll(float elasticOverscroll) | 232 void WebScrollbarThemeClientImpl::setElasticOverscroll(float elasticOverscroll) |
| 233 { | 233 { |
| 234 return m_scrollbar->setElasticOverscroll(elasticOverscroll); | 234 return m_scrollbar->setElasticOverscroll(elasticOverscroll); |
| 235 } | 235 } |
| 236 | 236 |
| 237 bool WebScrollbarThemeClientImpl::needsPaintTrack() const |
| 238 { |
| 239 return true; |
| 240 } |
| 241 |
| 242 void WebScrollbarThemeClientImpl::setNeedsPaintTrack(bool) |
| 243 { |
| 244 ASSERT_NOT_REACHED(); |
| 245 } |
| 246 |
| 247 bool WebScrollbarThemeClientImpl::needsPaintThumb() const |
| 248 { |
| 249 return true; |
| 250 } |
| 251 |
| 252 void WebScrollbarThemeClientImpl::setNeedsPaintThumb(bool) |
| 253 { |
| 254 ASSERT_NOT_REACHED(); |
| 255 } |
| 256 |
| 237 DisplayItemClient WebScrollbarThemeClientImpl::displayItemClient() const | 257 DisplayItemClient WebScrollbarThemeClientImpl::displayItemClient() const |
| 238 { | 258 { |
| 239 ASSERT_NOT_REACHED(); | 259 ASSERT_NOT_REACHED(); |
| 240 return toDisplayItemClient(this); | 260 return toDisplayItemClient(this); |
| 241 } | 261 } |
| 242 | 262 |
| 243 String WebScrollbarThemeClientImpl::debugName() const | 263 String WebScrollbarThemeClientImpl::debugName() const |
| 244 { | 264 { |
| 245 return "WebScrollbarThemeClientImpl"; | 265 return "WebScrollbarThemeClientImpl"; |
| 246 } | 266 } |
| 247 | 267 |
| 248 } // namespace blink | 268 } // namespace blink |
| OLD | NEW |