Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: Source/platform/exported/WebScrollbarThemeClientImpl.cpp

Issue 648913002: Clean up vestiges of ScrollView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/exported/WebScrollbarThemeClientImpl.h ('k') | Source/platform/mac/ThemeMac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 tickmarks.resize(webTickmarks.size()); 121 tickmarks.resize(webTickmarks.size());
122 for (size_t i = 0; i < webTickmarks.size(); ++i) 122 for (size_t i = 0; i < webTickmarks.size(); ++i)
123 tickmarks[i] = webTickmarks[i]; 123 tickmarks[i] = webTickmarks[i];
124 } 124 }
125 125
126 bool WebScrollbarThemeClientImpl::isScrollableAreaActive() const 126 bool WebScrollbarThemeClientImpl::isScrollableAreaActive() const
127 { 127 {
128 return m_scrollbar->isScrollableAreaActive(); 128 return m_scrollbar->isScrollableAreaActive();
129 } 129 }
130 130
131 bool WebScrollbarThemeClientImpl::isScrollViewScrollbar() const
132 {
133 // Unused by Chromium scrollbar themes.
134 ASSERT_NOT_REACHED();
135 return false;
136 }
137
138 IntPoint WebScrollbarThemeClientImpl::convertFromContainingWindow(const IntPoint & windowPoint) 131 IntPoint WebScrollbarThemeClientImpl::convertFromContainingWindow(const IntPoint & windowPoint)
139 { 132 {
140 // Unused by Chromium scrollbar themes. 133 // Unused by Chromium scrollbar themes.
141 ASSERT_NOT_REACHED(); 134 ASSERT_NOT_REACHED();
142 return windowPoint; 135 return windowPoint;
143 } 136 }
144 137
145 bool WebScrollbarThemeClientImpl::isCustomScrollbar() const 138 bool WebScrollbarThemeClientImpl::isCustomScrollbar() const
146 { 139 {
147 return m_scrollbar->isCustomScrollbar(); 140 return m_scrollbar->isCustomScrollbar();
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 { 214 {
222 return m_scrollbar->isAlphaLocked(); 215 return m_scrollbar->isAlphaLocked();
223 } 216 }
224 217
225 void WebScrollbarThemeClientImpl::setIsAlphaLocked(bool flag) 218 void WebScrollbarThemeClientImpl::setIsAlphaLocked(bool flag)
226 { 219 {
227 m_scrollbar->setIsAlphaLocked(flag); 220 m_scrollbar->setIsAlphaLocked(flag);
228 } 221 }
229 222
230 } // namespace blink 223 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/exported/WebScrollbarThemeClientImpl.h ('k') | Source/platform/mac/ThemeMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698