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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/loader/FrameLoader.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 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 virtual void elementDidBlur(const Node*) { } 173 virtual void elementDidBlur(const Node*) { }
174 174
175 virtual void setCursor(const Cursor&) { } 175 virtual void setCursor(const Cursor&) { }
176 virtual void setCursorHiddenUntilMouseMoves(bool) { } 176 virtual void setCursorHiddenUntilMouseMoves(bool) { }
177 177
178 virtual void scrollRectIntoView(const IntRect&) const { } 178 virtual void scrollRectIntoView(const IntRect&) const { }
179 179
180 virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) { } 180 virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) { }
181 virtual void scheduleCompositingLayerFlush() { } 181 virtual void scheduleCompositingLayerFlush() { }
182 182
183 #if ENABLE(TOUCH_EVENTS)
183 virtual void needTouchEvents(bool) { } 184 virtual void needTouchEvents(bool) { }
185 #endif
184 186
185 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { } 187 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { }
186 188
187 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { r eturn false; } 189 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { r eturn false; }
188 190
189 virtual bool isEmptyChromeClient() const { return true; } 191 virtual bool isEmptyChromeClient() const { return true; }
190 192
191 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { } 193 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }
192 virtual bool shouldNotifyOnFormChanges() { return false; } 194 virtual bool shouldNotifyOnFormChanges() { return false; }
193 195
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 virtual void setController(DeviceOrientationController*) { } 480 virtual void setController(DeviceOrientationController*) { }
479 virtual DeviceOrientationData* lastOrientation() const { return 0; } 481 virtual DeviceOrientationData* lastOrientation() const { return 0; }
480 virtual void deviceOrientationControllerDestroyed() { } 482 virtual void deviceOrientationControllerDestroyed() { }
481 }; 483 };
482 484
483 void fillWithEmptyClients(Page::PageClients&); 485 void fillWithEmptyClients(Page::PageClients&);
484 486
485 } 487 }
486 488
487 #endif // EmptyClients_h 489 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698