OLD | NEW |
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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 #endif | 201 #endif |
202 #if ENABLE(TOUCH_EVENTS) | 202 #if ENABLE(TOUCH_EVENTS) |
203 virtual void needTouchEvents(bool) { } | 203 virtual void needTouchEvents(bool) { } |
204 #endif | 204 #endif |
205 | 205 |
206 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { } | 206 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { } |
207 | 207 |
208 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { r
eturn false; } | 208 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { r
eturn false; } |
209 | 209 |
210 virtual bool isEmptyChromeClient() const { return true; } | 210 virtual bool isEmptyChromeClient() const { return true; } |
211 | |
212 virtual void didAssociateFormControls(const Vector<Element*>&) { } | |
213 virtual bool shouldNotifyOnFormChanges() { return false; } | |
214 }; | 211 }; |
215 | 212 |
216 class EmptyFrameLoaderClient : public FrameLoaderClient { | 213 class EmptyFrameLoaderClient : public FrameLoaderClient { |
217 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; | 214 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; |
218 public: | 215 public: |
219 EmptyFrameLoaderClient() { } | 216 EmptyFrameLoaderClient() { } |
220 virtual ~EmptyFrameLoaderClient() { } | 217 virtual ~EmptyFrameLoaderClient() { } |
221 virtual void frameLoaderDestroyed() { } | 218 virtual void frameLoaderDestroyed() { } |
222 | 219 |
223 virtual bool hasWebView() const { return true; } // mainly for assertions | 220 virtual bool hasWebView() const { return true; } // mainly for assertions |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 virtual void setController(DeviceOrientationController*) { } | 598 virtual void setController(DeviceOrientationController*) { } |
602 virtual DeviceOrientationData* lastOrientation() const { return 0; } | 599 virtual DeviceOrientationData* lastOrientation() const { return 0; } |
603 virtual void deviceOrientationControllerDestroyed() { } | 600 virtual void deviceOrientationControllerDestroyed() { } |
604 }; | 601 }; |
605 | 602 |
606 void fillWithEmptyClients(Page::PageClients&); | 603 void fillWithEmptyClients(Page::PageClients&); |
607 | 604 |
608 } | 605 } |
609 | 606 |
610 #endif // EmptyClients_h | 607 #endif // EmptyClients_h |
OLD | NEW |