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

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.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 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserC lient*, const DateTimeChooserParameters&) override; 149 PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserC lient*, const DateTimeChooserParameters&) override;
150 void openTextDataListChooser(HTMLInputElement&) override; 150 void openTextDataListChooser(HTMLInputElement&) override;
151 151
152 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 152 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
153 153
154 void setCursor(const Cursor&, LocalFrame* localRoot) override {} 154 void setCursor(const Cursor&, LocalFrame* localRoot) override {}
155 Cursor lastSetCursorForTesting() const override { return pointerCursor(); } 155 Cursor lastSetCursorForTesting() const override { return pointerCursor(); }
156 156
157 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override {} 157 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override {}
158 158
159 void needTouchEvents(bool) override {} 159 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override {}
160 void setHaveWheelEventHandlers(bool) override {} 160 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override { return WebEventListenerProperties::Nothing; }
161 bool haveWheelEventHandlers() const override { return false; }
162 void setHaveScrollEventHandlers(bool) override {} 161 void setHaveScrollEventHandlers(bool) override {}
163 bool haveScrollEventHandlers() const override { return false; } 162 bool haveScrollEventHandlers() const override { return false; }
164 163
165 void setTouchAction(TouchAction) override {} 164 void setTouchAction(TouchAction) override {}
166 165
167 void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMember<Elem ent>>&, LocalFrame*) override {} 166 void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMember<Elem ent>>&, LocalFrame*) override {}
168 167
169 void annotatedRegionsChanged() override {} 168 void annotatedRegionsChanged() override {}
170 String acceptLanguages() override; 169 String acceptLanguages() override;
171 170
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 ~EmptyDragClient() override {} 335 ~EmptyDragClient() override {}
337 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 336 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
338 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 337 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
339 }; 338 };
340 339
341 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 340 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
342 341
343 } // namespace blink 342 } // namespace blink
344 343
345 #endif // EmptyClients_h 344 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698