| 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/loader/FrameLoaderClient.h" | 33 #include "core/loader/FrameLoaderClient.h" |
| 34 #include "core/page/ChromeClient.h" | 34 #include "core/page/ChromeClient.h" |
| 35 #include "core/page/EditorClient.h" | 35 #include "core/page/EditorClient.h" |
| 36 #include "core/page/FocusType.h" | 36 #include "core/page/FocusType.h" |
| 37 #include "core/page/Page.h" | 37 #include "core/page/Page.h" |
| 38 #include "core/page/SpellCheckerClient.h" | 38 #include "core/page/SpellCheckerClient.h" |
| 39 #include "platform/geometry/FloatRect.h" | 39 #include "platform/geometry/FloatRect.h" |
| 40 #include "platform/network/ResourceError.h" | 40 #include "platform/network/ResourceError.h" |
| 41 #include "platform/text/TextCheckerClient.h" | 41 #include "platform/text/TextCheckerClient.h" |
| 42 #include "public/platform/WebScreenInfo.h" | 42 #include "public/platform/WebScreenInfo.h" |
| 43 #include "v8/include/v8.h" |
| 43 #include "wtf/Forward.h" | 44 #include "wtf/Forward.h" |
| 44 #include <v8.h> | |
| 45 | 45 |
| 46 /* | 46 /* |
| 47 This file holds empty Client stubs for use by WebCore. | 47 This file holds empty Client stubs for use by WebCore. |
| 48 Viewless element needs to create a dummy Page->LocalFrame->FrameView tree for u
se in parsing or executing JavaScript. | 48 Viewless element needs to create a dummy Page->LocalFrame->FrameView tree for u
se in parsing or executing JavaScript. |
| 49 This tree depends heavily on Clients (usually provided by WebKit classes). | 49 This tree depends heavily on Clients (usually provided by WebKit classes). |
| 50 | 50 |
| 51 This file was first created for SVGImage as it had no way to access the current
Page (nor should it, | 51 This file was first created for SVGImage as it had no way to access the current
Page (nor should it, |
| 52 since Images are not tied to a page). | 52 since Images are not tied to a page). |
| 53 See http://bugs.webkit.org/show_bug.cgi?id=5971 for the original discussion abo
ut this file. | 53 See http://bugs.webkit.org/show_bug.cgi?id=5971 for the original discussion abo
ut this file. |
| 54 | 54 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } | 185 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } |
| 186 | 186 |
| 187 virtual bool handleKeyboardEvent() override { return false; } | 187 virtual bool handleKeyboardEvent() override { return false; } |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 void fillWithEmptyClients(Page::PageClients&); | 190 void fillWithEmptyClients(Page::PageClients&); |
| 191 | 191 |
| 192 } | 192 } |
| 193 | 193 |
| 194 #endif // EmptyClients_h | 194 #endif // EmptyClients_h |
| OLD | NEW |