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

Side by Side Diff: Source/platform/scroll/ScrollView.h

Issue 480623002: Remove unused second parameter to scrollContentsFastPath (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/core/frame/FrameView.cpp ('k') | Source/platform/scroll/ScrollView.cpp » ('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) 2004, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Holger Hans Peter Freyther 3 * Copyright (C) 2009 Holger Hans Peter Freyther
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 virtual void scrollbarExistenceDidChange() = 0; 267 virtual void scrollbarExistenceDidChange() = 0;
268 // These functions are used to create/destroy scrollbars. 268 // These functions are used to create/destroy scrollbars.
269 void setHasHorizontalScrollbar(bool); 269 void setHasHorizontalScrollbar(bool);
270 void setHasVerticalScrollbar(bool); 270 void setHasVerticalScrollbar(bool);
271 271
272 virtual void updateScrollCorner(); 272 virtual void updateScrollCorner();
273 virtual void invalidateScrollCornerRect(const IntRect&) OVERRIDE; 273 virtual void invalidateScrollCornerRect(const IntRect&) OVERRIDE;
274 274
275 virtual void scrollContentsIfNeeded(); 275 virtual void scrollContentsIfNeeded();
276 // Scroll the content by blitting the pixels. 276 // Scroll the content by via the compositor.
277 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec t& rectToScroll); 277 virtual bool scrollContentsFastPath(const IntSize& scrollDelta);
278 // Scroll the content by invalidating everything. 278 // Scroll the content by invalidating everything.
279 virtual void scrollContentsSlowPath(const IntRect& updateRect); 279 virtual void scrollContentsSlowPath(const IntRect& updateRect);
280 280
281 void setScrollOrigin(const IntPoint&, bool updatePositionAtAll, bool updateP ositionSynchronously); 281 void setScrollOrigin(const IntPoint&, bool updatePositionAtAll, bool updateP ositionSynchronously);
282 282
283 // Subclassed by FrameView to check the writing-mode of the document. 283 // Subclassed by FrameView to check the writing-mode of the document.
284 virtual bool isVerticalDocument() const { return true; } 284 virtual bool isVerticalDocument() const { return true; }
285 virtual bool isFlippedDocument() const { return false; } 285 virtual bool isFlippedDocument() const { return false; }
286 286
287 enum ComputeScrollbarExistenceOption { 287 enum ComputeScrollbarExistenceOption {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 342
343 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR ect& verticalOverhangRect); 343 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR ect& verticalOverhangRect);
344 void updateOverhangAreas(); 344 void updateOverhangAreas();
345 }; // class ScrollView 345 }; // class ScrollView
346 346
347 DEFINE_TYPE_CASTS(ScrollView, Widget, widget, widget->isScrollView(), widget.isS crollView()); 347 DEFINE_TYPE_CASTS(ScrollView, Widget, widget, widget->isScrollView(), widget.isS crollView());
348 348
349 } // namespace blink 349 } // namespace blink
350 350
351 #endif // ScrollView_h 351 #endif // ScrollView_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/platform/scroll/ScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698