| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 bool WebScrollbarThemeClientImpl::isCustomScrollbar() const | 146 bool WebScrollbarThemeClientImpl::isCustomScrollbar() const |
| 147 { | 147 { |
| 148 return m_scrollbar->isCustomScrollbar(); | 148 return m_scrollbar->isCustomScrollbar(); |
| 149 } | 149 } |
| 150 | 150 |
| 151 WebCore::ScrollbarOrientation WebScrollbarThemeClientImpl::orientation() const | 151 WebCore::ScrollbarOrientation WebScrollbarThemeClientImpl::orientation() const |
| 152 { | 152 { |
| 153 return static_cast<WebCore::ScrollbarOrientation>(m_scrollbar->orientation()
); | 153 return static_cast<WebCore::ScrollbarOrientation>(m_scrollbar->orientation()
); |
| 154 } | 154 } |
| 155 | 155 |
| 156 bool WebScrollbarThemeClientImpl::isLeftSideVerticalScrollbar() const |
| 157 { |
| 158 return m_scrollbar->isLeftSideVerticalScrollbar(); |
| 159 } |
| 160 |
| 156 int WebScrollbarThemeClientImpl::value() const | 161 int WebScrollbarThemeClientImpl::value() const |
| 157 { | 162 { |
| 158 return m_scrollbar->value(); | 163 return m_scrollbar->value(); |
| 159 } | 164 } |
| 160 | 165 |
| 161 float WebScrollbarThemeClientImpl::currentPos() const | 166 float WebScrollbarThemeClientImpl::currentPos() const |
| 162 { | 167 { |
| 163 return value(); | 168 return value(); |
| 164 } | 169 } |
| 165 | 170 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 { | 222 { |
| 218 return m_scrollbar->isAlphaLocked(); | 223 return m_scrollbar->isAlphaLocked(); |
| 219 } | 224 } |
| 220 | 225 |
| 221 void WebScrollbarThemeClientImpl::setIsAlphaLocked(bool flag) | 226 void WebScrollbarThemeClientImpl::setIsAlphaLocked(bool flag) |
| 222 { | 227 { |
| 223 m_scrollbar->setIsAlphaLocked(flag); | 228 m_scrollbar->setIsAlphaLocked(flag); |
| 224 } | 229 } |
| 225 | 230 |
| 226 } // namespace WebKit | 231 } // namespace WebKit |
| OLD | NEW |