| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // Unused by Chromium scrollbar themes. | 100 // Unused by Chromium scrollbar themes. |
| 101 ASSERT_NOT_REACHED(); | 101 ASSERT_NOT_REACHED(); |
| 102 } | 102 } |
| 103 | 103 |
| 104 void WebScrollbarThemeClientImpl::invalidateRect(const IntRect&) | 104 void WebScrollbarThemeClientImpl::invalidateRect(const IntRect&) |
| 105 { | 105 { |
| 106 // Unused by Chromium scrollbar themes. | 106 // Unused by Chromium scrollbar themes. |
| 107 ASSERT_NOT_REACHED(); | 107 ASSERT_NOT_REACHED(); |
| 108 } | 108 } |
| 109 | 109 |
| 110 ScrollbarOverlayStyle WebScrollbarThemeClientImpl::scrollbarOverlayStyle() const | 110 ScrollbarOverlayStyle WebScrollbarThemeClientImpl::getScrollbarOverlayStyle() co
nst |
| 111 { | 111 { |
| 112 return static_cast<ScrollbarOverlayStyle>(m_scrollbar.scrollbarOverlayStyle(
)); | 112 return static_cast<ScrollbarOverlayStyle>(m_scrollbar.scrollbarOverlayStyle(
)); |
| 113 } | 113 } |
| 114 | 114 |
| 115 void WebScrollbarThemeClientImpl::getTickmarks(Vector<IntRect>& tickmarks) const | 115 void WebScrollbarThemeClientImpl::getTickmarks(Vector<IntRect>& tickmarks) const |
| 116 { | 116 { |
| 117 WebVector<WebRect> webTickmarks; | 117 WebVector<WebRect> webTickmarks; |
| 118 m_scrollbar.getTickmarks(webTickmarks); | 118 m_scrollbar.getTickmarks(webTickmarks); |
| 119 tickmarks.resize(webTickmarks.size()); | 119 tickmarks.resize(webTickmarks.size()); |
| 120 for (size_t i = 0; i < webTickmarks.size(); ++i) | 120 for (size_t i = 0; i < webTickmarks.size(); ++i) |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 { | 221 { |
| 222 return m_scrollbar.setElasticOverscroll(elasticOverscroll); | 222 return m_scrollbar.setElasticOverscroll(elasticOverscroll); |
| 223 } | 223 } |
| 224 | 224 |
| 225 String WebScrollbarThemeClientImpl::debugName() const | 225 String WebScrollbarThemeClientImpl::debugName() const |
| 226 { | 226 { |
| 227 return "WebScrollbarThemeClientImpl"; | 227 return "WebScrollbarThemeClientImpl"; |
| 228 } | 228 } |
| 229 | 229 |
| 230 } // namespace blink | 230 } // namespace blink |
| OLD | NEW |