| 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 12 matching lines...) Expand all Loading... |
| 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef EmptyClients_h | 29 #ifndef EmptyClients_h |
| 30 #define EmptyClients_h | 30 #define EmptyClients_h |
| 31 | 31 |
| 32 #include "core/editing/UndoStep.h" | 32 #include "core/editing/UndoStep.h" |
| 33 #include "core/frame/RemoteFrame.h" |
| 33 #include "core/loader/FrameLoaderClient.h" | 34 #include "core/loader/FrameLoaderClient.h" |
| 34 #include "core/page/ChromeClient.h" | 35 #include "core/page/ChromeClient.h" |
| 35 #include "core/page/EditorClient.h" | 36 #include "core/page/EditorClient.h" |
| 36 #include "core/page/FocusType.h" | 37 #include "core/page/FocusType.h" |
| 37 #include "core/page/Page.h" | 38 #include "core/page/Page.h" |
| 38 #include "core/page/SpellCheckerClient.h" | 39 #include "core/page/SpellCheckerClient.h" |
| 39 #include "platform/geometry/FloatRect.h" | 40 #include "platform/geometry/FloatRect.h" |
| 40 #include "platform/network/ResourceError.h" | 41 #include "platform/network/ResourceError.h" |
| 41 #include "platform/text/TextCheckerClient.h" | 42 #include "platform/text/TextCheckerClient.h" |
| 42 #include "public/platform/WebScreenInfo.h" | 43 #include "public/platform/WebScreenInfo.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 virtual void dispatchDidReceiveTitle(const String&) override { } | 124 virtual void dispatchDidReceiveTitle(const String&) override { } |
| 124 virtual void dispatchDidFailLoad(const ResourceError&) override { } | 125 virtual void dispatchDidFailLoad(const ResourceError&) override { } |
| 125 | 126 |
| 126 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocument*, NavigationPolicy, bool isTransitionNavigation) override; | 127 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocument*, NavigationPolicy, bool isTransitionNavigation) override; |
| 127 | 128 |
| 128 virtual void didStartLoading(LoadStartType) override { } | 129 virtual void didStartLoading(LoadStartType) override { } |
| 129 virtual void progressEstimateChanged(double) override { } | 130 virtual void progressEstimateChanged(double) override { } |
| 130 virtual void didStopLoading() override { } | 131 virtual void didStopLoading() override { } |
| 131 | 132 |
| 132 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& = String()) override { } | 133 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& = String()) override { } |
| 133 virtual void createView(const KURL&) override {} | 134 virtual PassOwnPtr<RemoteFrame> createChildFrame(const KURL&) override { ret
urn nullptr; } |
| 134 | 135 |
| 135 virtual void transitionToCommittedForNewPage() override { } | 136 virtual void transitionToCommittedForNewPage() override { } |
| 136 | 137 |
| 137 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String
>&) override { } | 138 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String
>&) override { } |
| 138 | 139 |
| 139 virtual void documentElementAvailable() override { } | 140 virtual void documentElementAvailable() override { } |
| 140 | 141 |
| 141 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } | 142 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } |
| 142 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } | 143 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } |
| 143 }; | 144 }; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } | 187 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } |
| 187 | 188 |
| 188 virtual bool handleKeyboardEvent() override { return false; } | 189 virtual bool handleKeyboardEvent() override { return false; } |
| 189 }; | 190 }; |
| 190 | 191 |
| 191 void fillWithEmptyClients(Page::PageClients&); | 192 void fillWithEmptyClients(Page::PageClients&); |
| 192 | 193 |
| 193 } | 194 } |
| 194 | 195 |
| 195 #endif // EmptyClients_h | 196 #endif // EmptyClients_h |
| OLD | NEW |