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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 1646603004: Move scroll event handlers from layer to layer tree view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_cc_listeners
Patch Set: Rebase Created 4 years, 10 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 virtual void enterFullScreenForElement(Element*) { } 195 virtual void enterFullScreenForElement(Element*) { }
196 virtual void exitFullScreenForElement(Element*) { } 196 virtual void exitFullScreenForElement(Element*) { }
197 197
198 virtual void clearCompositedSelection() { } 198 virtual void clearCompositedSelection() { }
199 virtual void updateCompositedSelection(const CompositedSelection&) { } 199 virtual void updateCompositedSelection(const CompositedSelection&) { }
200 200
201 virtual void needTouchEvents(bool) = 0; 201 virtual void needTouchEvents(bool) = 0;
202 virtual void setHaveWheelEventHandlers(bool) = 0; 202 virtual void setHaveWheelEventHandlers(bool) = 0;
203 virtual bool haveWheelEventHandlers() const = 0; 203 virtual bool haveWheelEventHandlers() const = 0;
204 virtual void setHaveScrollEventHandlers(bool) = 0;
205 virtual bool haveScrollEventHandlers() const = 0;
204 206
205 virtual void setTouchAction(TouchAction) = 0; 207 virtual void setTouchAction(TouchAction) = 0;
206 208
207 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() . 209 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() .
208 virtual bool hasOpenedPopup() const = 0; 210 virtual bool hasOpenedPopup() const = 0;
209 virtual PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSel ectElement&) = 0; 211 virtual PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSel ectElement&) = 0;
210 virtual DOMWindow* pagePopupWindowForTesting() const = 0; 212 virtual DOMWindow* pagePopupWindowForTesting() const = 0;
211 213
212 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { } 214 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { }
213 virtual String acceptLanguages() = 0; 215 virtual String acceptLanguages() = 0;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 281
280 LayoutPoint m_lastToolTipPoint; 282 LayoutPoint m_lastToolTipPoint;
281 String m_lastToolTipText; 283 String m_lastToolTipText;
282 284
283 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 285 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
284 }; 286 };
285 287
286 } // namespace blink 288 } // namespace blink
287 289
288 #endif // ChromeClient_h 290 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698