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

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

Issue 2855523002: Deleted Widget/FrameViewBase (Closed)
Patch Set: update comments Created 3 years, 7 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
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 scrollbar_.GetTickmarks(web_tickmarks); 94 scrollbar_.GetTickmarks(web_tickmarks);
95 tickmarks.resize(web_tickmarks.size()); 95 tickmarks.resize(web_tickmarks.size());
96 for (size_t i = 0; i < web_tickmarks.size(); ++i) 96 for (size_t i = 0; i < web_tickmarks.size(); ++i)
97 tickmarks[i] = web_tickmarks[i]; 97 tickmarks[i] = web_tickmarks[i];
98 } 98 }
99 99
100 bool WebScrollbarThemeClientImpl::IsScrollableAreaActive() const { 100 bool WebScrollbarThemeClientImpl::IsScrollableAreaActive() const {
101 return scrollbar_.IsScrollableAreaActive(); 101 return scrollbar_.IsScrollableAreaActive();
102 } 102 }
103 103
104 IntPoint WebScrollbarThemeClientImpl::ConvertFromRootFrame( 104 IntPoint WebScrollbarThemeClientImpl::ConvertPointFromRootFrame(
105 const IntPoint& point_in_root_frame) const { 105 const IntPoint& point_in_root_frame) const {
106 // Unused by Chromium scrollbar themes. 106 // Unused by Chromium scrollbar themes.
107 NOTREACHED(); 107 NOTREACHED();
108 return point_in_root_frame; 108 return point_in_root_frame;
109 } 109 }
110 110
111 bool WebScrollbarThemeClientImpl::IsCustomScrollbar() const { 111 bool WebScrollbarThemeClientImpl::IsCustomScrollbar() const {
112 return scrollbar_.IsCustomScrollbar(); 112 return scrollbar_.IsCustomScrollbar();
113 } 113 }
114 114
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 float WebScrollbarThemeClientImpl::ElasticOverscroll() const { 175 float WebScrollbarThemeClientImpl::ElasticOverscroll() const {
176 return scrollbar_.ElasticOverscroll(); 176 return scrollbar_.ElasticOverscroll();
177 } 177 }
178 178
179 void WebScrollbarThemeClientImpl::SetElasticOverscroll( 179 void WebScrollbarThemeClientImpl::SetElasticOverscroll(
180 float elastic_overscroll) { 180 float elastic_overscroll) {
181 return scrollbar_.SetElasticOverscroll(elastic_overscroll); 181 return scrollbar_.SetElasticOverscroll(elastic_overscroll);
182 } 182 }
183 183
184 } // namespace blink 184 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698