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

Side by Side Diff: third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h

Issue 1749383002: Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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) 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2010, 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void handleWheelEventPhase(PlatformWheelEventPhase) override; 97 void handleWheelEventPhase(PlatformWheelEventPhase) override;
98 98
99 void cancelAnimation() override; 99 void cancelAnimation() override;
100 100
101 void contentAreaWillPaint() const override; 101 void contentAreaWillPaint() const override;
102 void mouseEnteredContentArea() const override; 102 void mouseEnteredContentArea() const override;
103 void mouseExitedContentArea() const override; 103 void mouseExitedContentArea() const override;
104 void mouseMovedInContentArea() const override; 104 void mouseMovedInContentArea() const override;
105 void mouseEnteredScrollbar(Scrollbar&) const override; 105 void mouseEnteredScrollbar(Scrollbar&) const override;
106 void mouseExitedScrollbar(Scrollbar&) const override; 106 void mouseExitedScrollbar(Scrollbar&) const override;
107 void willStartLiveResize() override;
108 void contentsResized() const override; 107 void contentsResized() const override;
109 void willEndLiveResize() override;
110 void contentAreaDidShow() const override; 108 void contentAreaDidShow() const override;
111 void contentAreaDidHide() const override; 109 void contentAreaDidHide() const override;
112 void didBeginScrollGesture() const; 110 void didBeginScrollGesture() const;
113 void didEndScrollGesture() const; 111 void didEndScrollGesture() const;
114 void mayBeginScrollGesture() const; 112 void mayBeginScrollGesture() const;
115 113
116 void finishCurrentScrollAnimations() override; 114 void finishCurrentScrollAnimations() override;
117 115
118 void didAddVerticalScrollbar(Scrollbar&) override; 116 void didAddVerticalScrollbar(Scrollbar&) override;
119 void willRemoveVerticalScrollbar(Scrollbar&) override; 117 void willRemoveVerticalScrollbar(Scrollbar&) override;
(...skipping 11 matching lines...) Expand all
131 void immediateScrollTo(const FloatPoint&); 129 void immediateScrollTo(const FloatPoint&);
132 130
133 bool m_haveScrolledSincePageLoad; 131 bool m_haveScrolledSincePageLoad;
134 bool m_needsScrollerStyleUpdate; 132 bool m_needsScrollerStyleUpdate;
135 IntRect m_visibleScrollerThumbRect; 133 IntRect m_visibleScrollerThumbRect;
136 }; 134 };
137 135
138 } // namespace blink 136 } // namespace blink
139 137
140 #endif // ScrollAnimatorMac_h 138 #endif // ScrollAnimatorMac_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698