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

Side by Side Diff: Source/web/ScrollbarGroup.h

Issue 1093383003: Remove mainthread overhang painting code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/web/ChromeClientImpl.cpp ('k') | Source/web/ScrollbarGroup.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void getTickmarks(Vector<IntRect>&) const override; 56 virtual void getTickmarks(Vector<IntRect>&) const override;
57 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons t IntPoint& parentPoint) const override; 57 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons t IntPoint& parentPoint) const override;
58 virtual Scrollbar* horizontalScrollbar() const override; 58 virtual Scrollbar* horizontalScrollbar() const override;
59 virtual Scrollbar* verticalScrollbar() const override; 59 virtual Scrollbar* verticalScrollbar() const override;
60 virtual IntPoint scrollPosition() const override; 60 virtual IntPoint scrollPosition() const override;
61 virtual IntPoint minimumScrollPosition() const override; 61 virtual IntPoint minimumScrollPosition() const override;
62 virtual IntPoint maximumScrollPosition() const override; 62 virtual IntPoint maximumScrollPosition() const override;
63 virtual int visibleHeight() const override; 63 virtual int visibleHeight() const override;
64 virtual int visibleWidth() const override; 64 virtual int visibleWidth() const override;
65 virtual IntSize contentsSize() const override; 65 virtual IntSize contentsSize() const override;
66 virtual IntSize overhangAmount() const override;
67 virtual IntPoint lastKnownMousePosition() const override; 66 virtual IntPoint lastKnownMousePosition() const override;
68 virtual bool shouldSuspendScrollAnimations() const override; 67 virtual bool shouldSuspendScrollAnimations() const override;
69 virtual void scrollbarStyleChanged() override; 68 virtual void scrollbarStyleChanged() override;
70 virtual bool scrollbarsCanBeActive() const override; 69 virtual bool scrollbarsCanBeActive() const override;
71 virtual IntRect scrollableAreaBoundingBox() const override; 70 virtual IntRect scrollableAreaBoundingBox() const override;
72 virtual bool userInputScrollable(ScrollbarOrientation) const override; 71 virtual bool userInputScrollable(ScrollbarOrientation) const override;
73 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override; 72 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override;
74 virtual int pageStep(ScrollbarOrientation) const override; 73 virtual int pageStep(ScrollbarOrientation) const override;
75 74
76 private: 75 private:
77 FrameView* m_frameView; 76 FrameView* m_frameView;
78 IntPoint m_lastMousePosition; 77 IntPoint m_lastMousePosition;
79 IntRect m_frameRect; 78 IntRect m_frameRect;
80 WebPluginScrollbarImpl* m_horizontalScrollbar; 79 WebPluginScrollbarImpl* m_horizontalScrollbar;
81 WebPluginScrollbarImpl* m_verticalScrollbar; 80 WebPluginScrollbarImpl* m_verticalScrollbar;
82 }; 81 };
83 82
84 } // namespace blink 83 } // namespace blink
85 84
86 #endif 85 #endif
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/ScrollbarGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698