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

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

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Fix nits 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 17 matching lines...) Expand all
28 #include "core/frame/ConsoleTypes.h" 28 #include "core/frame/ConsoleTypes.h"
29 #include "core/inspector/ConsoleAPITypes.h" 29 #include "core/inspector/ConsoleAPITypes.h"
30 #include "core/loader/FrameLoader.h" 30 #include "core/loader/FrameLoader.h"
31 #include "core/loader/NavigationPolicy.h" 31 #include "core/loader/NavigationPolicy.h"
32 #include "core/style/ComputedStyleConstants.h" 32 #include "core/style/ComputedStyleConstants.h"
33 #include "platform/Cursor.h" 33 #include "platform/Cursor.h"
34 #include "platform/HostWindow.h" 34 #include "platform/HostWindow.h"
35 #include "platform/PopupMenu.h" 35 #include "platform/PopupMenu.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "platform/scroll/ScrollTypes.h" 37 #include "platform/scroll/ScrollTypes.h"
38 #include "public/platform/WebEventListenerProperties.h"
38 #include "public/platform/WebFocusType.h" 39 #include "public/platform/WebFocusType.h"
39 #include "wtf/Forward.h" 40 #include "wtf/Forward.h"
40 #include "wtf/PassOwnPtr.h" 41 #include "wtf/PassOwnPtr.h"
41 #include "wtf/Vector.h" 42 #include "wtf/Vector.h"
42 43
43 namespace blink { 44 namespace blink {
44 45
45 class AXObject; 46 class AXObject;
46 class ColorChooser; 47 class ColorChooser;
47 class ColorChooserClient; 48 class ColorChooserClient;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 192
192 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 193 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
193 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 194 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
194 195
195 virtual void enterFullScreenForElement(Element*) { } 196 virtual void enterFullScreenForElement(Element*) { }
196 virtual void exitFullScreenForElement(Element*) { } 197 virtual void exitFullScreenForElement(Element*) { }
197 198
198 virtual void clearCompositedSelection() { } 199 virtual void clearCompositedSelection() { }
199 virtual void updateCompositedSelection(const CompositedSelection&) { } 200 virtual void updateCompositedSelection(const CompositedSelection&) { }
200 201
201 virtual void needTouchEvents(bool) = 0; 202 virtual void setEventListenerProperties(WebEventListenerClass, WebEventListe nerProperties) = 0;
202 virtual void setHaveWheelEventHandlers(bool) = 0; 203 virtual WebEventListenerProperties eventListenerProperties(WebEventListenerC lass) const = 0;
203 virtual bool haveWheelEventHandlers() const = 0;
204 virtual void setHaveScrollEventHandlers(bool) = 0; 204 virtual void setHaveScrollEventHandlers(bool) = 0;
205 virtual bool haveScrollEventHandlers() const = 0; 205 virtual bool haveScrollEventHandlers() const = 0;
206 206
207 virtual void setTouchAction(TouchAction) = 0; 207 virtual void setTouchAction(TouchAction) = 0;
208 208
209 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() . 209 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() .
210 virtual bool hasOpenedPopup() const = 0; 210 virtual bool hasOpenedPopup() const = 0;
211 virtual PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSel ectElement&) = 0; 211 virtual PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSel ectElement&) = 0;
212 virtual DOMWindow* pagePopupWindowForTesting() const = 0; 212 virtual DOMWindow* pagePopupWindowForTesting() const = 0;
213 213
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 LayoutPoint m_lastToolTipPoint; 282 LayoutPoint m_lastToolTipPoint;
283 String m_lastToolTipText; 283 String m_lastToolTipText;
284 284
285 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 285 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
286 }; 286 };
287 287
288 } // namespace blink 288 } // namespace blink
289 289
290 #endif // ChromeClient_h 290 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698