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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 int WebScrollbarImpl::maximum() const | 64 int WebScrollbarImpl::maximum() const |
65 { | 65 { |
66 return m_scrollbar->maximum(); | 66 return m_scrollbar->maximum(); |
67 } | 67 } |
68 | 68 |
69 int WebScrollbarImpl::totalSize() const | 69 int WebScrollbarImpl::totalSize() const |
70 { | 70 { |
71 return m_scrollbar->totalSize(); | 71 return m_scrollbar->totalSize(); |
72 } | 72 } |
73 | 73 |
74 bool WebScrollbarImpl::isScrollViewScrollbar() const | |
75 { | |
76 return m_scrollbar->isScrollViewScrollbar(); | |
77 } | |
78 | |
79 bool WebScrollbarImpl::isScrollableAreaActive() const | 74 bool WebScrollbarImpl::isScrollableAreaActive() const |
80 { | 75 { |
81 return m_scrollbar->isScrollableAreaActive(); | 76 return m_scrollbar->isScrollableAreaActive(); |
82 } | 77 } |
83 | 78 |
84 void WebScrollbarImpl::getTickmarks(WebVector<WebRect>& webTickmarks) const | 79 void WebScrollbarImpl::getTickmarks(WebVector<WebRect>& webTickmarks) const |
85 { | 80 { |
86 Vector<IntRect> tickmarks; | 81 Vector<IntRect> tickmarks; |
87 m_scrollbar->getTickmarks(tickmarks); | 82 m_scrollbar->getTickmarks(tickmarks); |
88 | 83 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 { | 127 { |
133 return m_scrollbar->isAlphaLocked(); | 128 return m_scrollbar->isAlphaLocked(); |
134 } | 129 } |
135 | 130 |
136 void WebScrollbarImpl::setIsAlphaLocked(bool flag) | 131 void WebScrollbarImpl::setIsAlphaLocked(bool flag) |
137 { | 132 { |
138 m_scrollbar->setIsAlphaLocked(flag); | 133 m_scrollbar->setIsAlphaLocked(flag); |
139 } | 134 } |
140 | 135 |
141 } // namespace blink | 136 } // namespace blink |
OLD | NEW |