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

Side by Side Diff: Source/web/ChromeClientImpl.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride; 105 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride;
106 void printDelegate(LocalFrame*) override; 106 void printDelegate(LocalFrame*) override;
107 void annotatedRegionsChanged() override; 107 void annotatedRegionsChanged() override;
108 PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, ColorChoo serClient*, const Color&) override; 108 PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, ColorChoo serClient*, const Color&) override;
109 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&) override; 109 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&) override;
110 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 110 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
111 void enumerateChosenDirectory(FileChooser*) override; 111 void enumerateChosenDirectory(FileChooser*) override;
112 void setCursor(const Cursor&) override; 112 void setCursor(const Cursor&) override;
113 Cursor lastSetCursorForTesting() const override; 113 Cursor lastSetCursorForTesting() const override;
114 void needTouchEvents(bool needTouchEvents) override; 114 void needTouchEvents(bool needTouchEvents) override;
115 void needTouchMoveEvents(bool needTouchMoveEvents) override;
115 void setTouchAction(TouchAction) override; 116 void setTouchAction(TouchAction) override;
116 117
117 GraphicsLayerFactory* graphicsLayerFactory() const override; 118 GraphicsLayerFactory* graphicsLayerFactory() const override;
118 119
119 // Pass 0 as the GraphicsLayer to detatch the root layer. 120 // Pass 0 as the GraphicsLayer to detatch the root layer.
120 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ; 121 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ;
121 122
122 void setCompositedDisplayList(PassOwnPtr<CompositedDisplayList>) override; 123 void setCompositedDisplayList(PassOwnPtr<CompositedDisplayList>) override;
123 CompositedDisplayList* compositedDisplayListForTesting() override; 124 CompositedDisplayList* compositedDisplayListForTesting() override;
124 125
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 WindowFeatures m_windowFeatures; 187 WindowFeatures m_windowFeatures;
187 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 188 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
188 Cursor m_lastSetMouseCursorForTesting; 189 Cursor m_lastSetMouseCursorForTesting;
189 }; 190 };
190 191
191 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 192 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
192 193
193 } // namespace blink 194 } // namespace blink
194 195
195 #endif 196 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698