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

Side by Side Diff: WebCore/platform/ScrollView.h

Issue 3364013: Merge 67001 - 2010-09-08 Peter Kasting <pkasting@google.com>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « WebCore/platform/ScrollAnimatorWin.cpp ('k') | WebCore/platform/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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 namespace WebCore { 50 namespace WebCore {
51 51
52 class HostWindow; 52 class HostWindow;
53 class PlatformWheelEvent; 53 class PlatformWheelEvent;
54 class Scrollbar; 54 class Scrollbar;
55 55
56 class ScrollView : public Widget, public ScrollbarClient { 56 class ScrollView : public Widget, public ScrollbarClient {
57 public: 57 public:
58 ~ScrollView(); 58 ~ScrollView();
59 59
60 // ScrollbarClient function. FrameView overrides the others. 60 // ScrollbarClient functions. FrameView overrides the others.
61 virtual int scrollSize(ScrollbarOrientation orientation) const;
62 virtual void setScrollOffsetFromAnimation(const IntPoint&);
61 virtual void valueChanged(Scrollbar*); 63 virtual void valueChanged(Scrollbar*);
62 64
63 // The window thats hosts the ScrollView. The ScrollView will communicate sc rolls and repaints to the 65 // The window thats hosts the ScrollView. The ScrollView will communicate sc rolls and repaints to the
64 // host window in the window's coordinate space. 66 // host window in the window's coordinate space.
65 virtual HostWindow* hostWindow() const = 0; 67 virtual HostWindow* hostWindow() const = 0;
66 68
67 // Returns a clip rect in host window coordinates. Used to clip the blit on a scroll. 69 // Returns a clip rect in host window coordinates. Used to clip the blit on a scroll.
68 virtual IntRect windowClipRect(bool clipToContents = true) const = 0; 70 virtual IntRect windowClipRect(bool clipToContents = true) const = 0;
69 71
70 // Functions for child manipulation and inspection. 72 // Functions for child manipulation and inspection.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 private: 347 private:
346 class ScrollViewPrivate; 348 class ScrollViewPrivate;
347 ScrollViewPrivate* m_data; 349 ScrollViewPrivate* m_data;
348 #endif 350 #endif
349 351
350 }; // class ScrollView 352 }; // class ScrollView
351 353
352 } // namespace WebCore 354 } // namespace WebCore
353 355
354 #endif // ScrollView_h 356 #endif // ScrollView_h
OLDNEW
« no previous file with comments | « WebCore/platform/ScrollAnimatorWin.cpp ('k') | WebCore/platform/ScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698