| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 } | 56 } |
| 57 | 57 |
| 58 IntSize WebScrollbarThemeClientImpl::size() const { | 58 IntSize WebScrollbarThemeClientImpl::size() const { |
| 59 return m_scrollbar.size(); | 59 return m_scrollbar.size(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 IntPoint WebScrollbarThemeClientImpl::location() const { | 62 IntPoint WebScrollbarThemeClientImpl::location() const { |
| 63 return m_scrollbar.location(); | 63 return m_scrollbar.location(); |
| 64 } | 64 } |
| 65 | 65 |
| 66 Widget* WebScrollbarThemeClientImpl::parent() const { | 66 FrameViewBase* WebScrollbarThemeClientImpl::parent() const { |
| 67 // Unused by Chromium scrollbar themes. | 67 // Unused by Chromium scrollbar themes. |
| 68 ASSERT_NOT_REACHED(); | 68 ASSERT_NOT_REACHED(); |
| 69 return 0; | 69 return 0; |
| 70 } | 70 } |
| 71 | 71 |
| 72 Widget* WebScrollbarThemeClientImpl::root() const { | 72 FrameViewBase* WebScrollbarThemeClientImpl::root() const { |
| 73 // Unused by Chromium scrollbar themes. | 73 // Unused by Chromium scrollbar themes. |
| 74 ASSERT_NOT_REACHED(); | 74 ASSERT_NOT_REACHED(); |
| 75 return 0; | 75 return 0; |
| 76 } | 76 } |
| 77 | 77 |
| 78 void WebScrollbarThemeClientImpl::setFrameRect(const IntRect&) { | 78 void WebScrollbarThemeClientImpl::setFrameRect(const IntRect&) { |
| 79 // Unused by Chromium scrollbar themes. | 79 // Unused by Chromium scrollbar themes. |
| 80 ASSERT_NOT_REACHED(); | 80 ASSERT_NOT_REACHED(); |
| 81 } | 81 } |
| 82 | 82 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 float WebScrollbarThemeClientImpl::elasticOverscroll() const { | 187 float WebScrollbarThemeClientImpl::elasticOverscroll() const { |
| 188 return m_scrollbar.elasticOverscroll(); | 188 return m_scrollbar.elasticOverscroll(); |
| 189 } | 189 } |
| 190 | 190 |
| 191 void WebScrollbarThemeClientImpl::setElasticOverscroll( | 191 void WebScrollbarThemeClientImpl::setElasticOverscroll( |
| 192 float elasticOverscroll) { | 192 float elasticOverscroll) { |
| 193 return m_scrollbar.setElasticOverscroll(elasticOverscroll); | 193 return m_scrollbar.setElasticOverscroll(elasticOverscroll); |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // namespace blink | 196 } // namespace blink |
| OLD | NEW |