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

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

Issue 1055683003: (NOT FOR REVIEW) Distinguish between touch and touchmove handler presence (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix loading Created 5 years, 3 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
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/scrolling/ScrollingCoordinator.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) 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 190 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
191 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { } 191 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) { }
192 192
193 virtual void enterFullScreenForElement(Element*) { } 193 virtual void enterFullScreenForElement(Element*) { }
194 virtual void exitFullScreenForElement(Element*) { } 194 virtual void exitFullScreenForElement(Element*) { }
195 195
196 virtual void clearCompositedSelection() { } 196 virtual void clearCompositedSelection() { }
197 virtual void updateCompositedSelection(const CompositedSelection&) { } 197 virtual void updateCompositedSelection(const CompositedSelection&) { }
198 198
199 virtual void needTouchEvents(bool) = 0; 199 virtual void needTouchEvents(bool) = 0;
jdduke (slow) 2015/09/02 22:03:03 We should probably just change the bool arg to a b
200 virtual void needTouchMoveEvents(bool) = 0;
200 201
201 virtual void setTouchAction(TouchAction) = 0; 202 virtual void setTouchAction(TouchAction) = 0;
202 203
203 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() . 204 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() .
204 virtual bool hasOpenedPopup() const = 0; 205 virtual bool hasOpenedPopup() const = 0;
205 virtual PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSel ectElement&) = 0; 206 virtual PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSel ectElement&) = 0;
206 virtual DOMWindow* pagePopupWindowForTesting() const = 0; 207 virtual DOMWindow* pagePopupWindowForTesting() const = 0;
207 208
208 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { } 209 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { }
209 virtual String acceptLanguages() = 0; 210 virtual String acceptLanguages() = 0;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual void printDelegate(LocalFrame*) = 0; 264 virtual void printDelegate(LocalFrame*) = 0;
264 265
265 private: 266 private:
266 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); 267 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message);
267 void setToolTip(const HitTestResult&); 268 void setToolTip(const HitTestResult&);
268 }; 269 };
269 270
270 } // namespace blink 271 } // namespace blink
271 272
272 #endif // ChromeClient_h 273 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698