| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 } | 161 } |
| 162 | 162 |
| 163 ScrollbarPart WebScrollbarThemeClientImpl::hoveredPart() const { | 163 ScrollbarPart WebScrollbarThemeClientImpl::hoveredPart() const { |
| 164 return static_cast<ScrollbarPart>(m_scrollbar.hoveredPart()); | 164 return static_cast<ScrollbarPart>(m_scrollbar.hoveredPart()); |
| 165 } | 165 } |
| 166 | 166 |
| 167 void WebScrollbarThemeClientImpl::styleChanged() { | 167 void WebScrollbarThemeClientImpl::styleChanged() { |
| 168 ASSERT_NOT_REACHED(); | 168 ASSERT_NOT_REACHED(); |
| 169 } | 169 } |
| 170 | 170 |
| 171 void WebScrollbarThemeClientImpl::setScrollbarsHidden(bool hidden) { | 171 void WebScrollbarThemeClientImpl::visibilityChanged() {} |
| 172 ASSERT_NOT_REACHED(); | |
| 173 } | |
| 174 | 172 |
| 175 bool WebScrollbarThemeClientImpl::enabled() const { | 173 bool WebScrollbarThemeClientImpl::enabled() const { |
| 176 return m_scrollbar.enabled(); | 174 return m_scrollbar.enabled(); |
| 177 } | 175 } |
| 178 | 176 |
| 179 void WebScrollbarThemeClientImpl::setEnabled(bool) { | 177 void WebScrollbarThemeClientImpl::setEnabled(bool) { |
| 180 ASSERT_NOT_REACHED(); | 178 ASSERT_NOT_REACHED(); |
| 181 } | 179 } |
| 182 | 180 |
| 183 bool WebScrollbarThemeClientImpl::isOverlayScrollbar() const { | 181 bool WebScrollbarThemeClientImpl::isOverlayScrollbar() const { |
| 184 return m_scrollbar.isOverlay(); | 182 return m_scrollbar.isOverlay(); |
| 185 } | 183 } |
| 186 | 184 |
| 187 float WebScrollbarThemeClientImpl::elasticOverscroll() const { | 185 float WebScrollbarThemeClientImpl::elasticOverscroll() const { |
| 188 return m_scrollbar.elasticOverscroll(); | 186 return m_scrollbar.elasticOverscroll(); |
| 189 } | 187 } |
| 190 | 188 |
| 191 void WebScrollbarThemeClientImpl::setElasticOverscroll( | 189 void WebScrollbarThemeClientImpl::setElasticOverscroll( |
| 192 float elasticOverscroll) { | 190 float elasticOverscroll) { |
| 193 return m_scrollbar.setElasticOverscroll(elasticOverscroll); | 191 return m_scrollbar.setElasticOverscroll(elasticOverscroll); |
| 194 } | 192 } |
| 195 | 193 |
| 196 } // namespace blink | 194 } // namespace blink |
| OLD | NEW |