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

Side by Side Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

Issue 2855523002: Deleted Widget/FrameViewBase (Closed)
Patch Set: removed FrameViewBase.h file now that dependent CL submitted 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) 2008, 2011 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2011 Apple 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const IntPoint& parent_point) const { 193 const IntPoint& parent_point) const {
194 NOTREACHED(); 194 NOTREACHED();
195 return parent_point; 195 return parent_point;
196 } 196 }
197 virtual IntPoint ConvertFromScrollbarToContainingFrameViewBase( 197 virtual IntPoint ConvertFromScrollbarToContainingFrameViewBase(
198 const Scrollbar& scrollbar, 198 const Scrollbar& scrollbar,
199 const IntPoint& scrollbar_point) const { 199 const IntPoint& scrollbar_point) const {
200 NOTREACHED(); 200 NOTREACHED();
201 return scrollbar_point; 201 return scrollbar_point;
202 } 202 }
203 virtual IntPoint ConvertFromRootFrame(
204 const IntPoint& point_in_root_frame) const {
205 NOTREACHED();
206 return point_in_root_frame;
207 }
208
203 virtual Scrollbar* HorizontalScrollbar() const { return nullptr; } 209 virtual Scrollbar* HorizontalScrollbar() const { return nullptr; }
204 virtual Scrollbar* VerticalScrollbar() const { return nullptr; } 210 virtual Scrollbar* VerticalScrollbar() const { return nullptr; }
205 211
206 virtual PaintLayer* Layer() const { return nullptr; } 212 virtual PaintLayer* Layer() const { return nullptr; }
207 213
208 // scrollPosition is the location of the top/left of the scroll viewport in 214 // scrollPosition is the location of the top/left of the scroll viewport in
209 // the coordinate system defined by the top/left of the overflow rect. 215 // the coordinate system defined by the top/left of the overflow rect.
210 // scrollOffset is the offset of the scroll viewport from its position when 216 // scrollOffset is the offset of the scroll viewport from its position when
211 // scrolled all the way to the beginning of its content's flow. 217 // scrolled all the way to the beginning of its content's flow.
212 // For a more detailed explanation of scrollPosition, scrollOffset, and 218 // For a more detailed explanation of scrollPosition, scrollOffset, and
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 // vertical-lr / ltr NO NO 456 // vertical-lr / ltr NO NO
451 // vertical-lr / rtl NO YES 457 // vertical-lr / rtl NO YES
452 // vertical-rl / ltr YES NO 458 // vertical-rl / ltr YES NO
453 // vertical-rl / rtl YES YES 459 // vertical-rl / rtl YES YES
454 IntPoint scroll_origin_; 460 IntPoint scroll_origin_;
455 }; 461 };
456 462
457 } // namespace blink 463 } // namespace blink
458 464
459 #endif // ScrollableArea_h 465 #endif // ScrollableArea_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformChromeClient.h ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698