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

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: rebase 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void handleWheelEventPhase(PlatformWheelEventPhase) override; 95 void handleWheelEventPhase(PlatformWheelEventPhase) override;
96 96
97 void cancelAnimation() override; 97 void cancelAnimation() override;
98 98
99 void contentAreaWillPaint() const override; 99 void contentAreaWillPaint() const override;
100 void mouseEnteredContentArea() const override; 100 void mouseEnteredContentArea() const override;
101 void mouseExitedContentArea() const override; 101 void mouseExitedContentArea() const override;
102 void mouseMovedInContentArea() const override; 102 void mouseMovedInContentArea() const override;
103 void mouseEnteredScrollbar(Scrollbar&) const override; 103 void mouseEnteredScrollbar(Scrollbar&) const override;
104 void mouseExitedScrollbar(Scrollbar&) const override; 104 void mouseExitedScrollbar(Scrollbar&) const override;
105 void willStartLiveResize() override;
106 void contentsResized() const override; 105 void contentsResized() const override;
107 void willEndLiveResize() override;
108 void contentAreaDidShow() const override; 106 void contentAreaDidShow() const override;
109 void contentAreaDidHide() const override; 107 void contentAreaDidHide() const override;
110 void didBeginScrollGesture() const; 108 void didBeginScrollGesture() const;
111 void didEndScrollGesture() const; 109 void didEndScrollGesture() const;
112 void mayBeginScrollGesture() const; 110 void mayBeginScrollGesture() const;
113 111
114 void finishCurrentScrollAnimations() override; 112 void finishCurrentScrollAnimations() override;
115 113
116 void didAddVerticalScrollbar(Scrollbar&) override; 114 void didAddVerticalScrollbar(Scrollbar&) override;
117 void willRemoveVerticalScrollbar(Scrollbar&) override; 115 void willRemoveVerticalScrollbar(Scrollbar&) override;
(...skipping 11 matching lines...) Expand all
129 void immediateScrollTo(const FloatPoint&); 127 void immediateScrollTo(const FloatPoint&);
130 128
131 bool m_haveScrolledSincePageLoad; 129 bool m_haveScrolledSincePageLoad;
132 bool m_needsScrollerStyleUpdate; 130 bool m_needsScrollerStyleUpdate;
133 IntRect m_visibleScrollerThumbRect; 131 IntRect m_visibleScrollerThumbRect;
134 }; 132 };
135 133
136 } // namespace blink 134 } // namespace blink
137 135
138 #endif // ScrollAnimatorMac_h 136 #endif // ScrollAnimatorMac_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698