| 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, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. |
| 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 static DragClient* dummyDragClient = adoptPtr(new EmptyDragClient).leakPtr()
; | 54 static DragClient* dummyDragClient = adoptPtr(new EmptyDragClient).leakPtr()
; |
| 55 pageClients.dragClient = dummyDragClient; | 55 pageClients.dragClient = dummyDragClient; |
| 56 | 56 |
| 57 static EditorClient* dummyEditorClient = adoptPtr(new EmptyEditorClient).lea
kPtr(); | 57 static EditorClient* dummyEditorClient = adoptPtr(new EmptyEditorClient).lea
kPtr(); |
| 58 pageClients.editorClient = dummyEditorClient; | 58 pageClients.editorClient = dummyEditorClient; |
| 59 | 59 |
| 60 static InspectorClient* dummyInspectorClient = adoptPtr(new EmptyInspectorCl
ient).leakPtr(); | 60 static InspectorClient* dummyInspectorClient = adoptPtr(new EmptyInspectorCl
ient).leakPtr(); |
| 61 pageClients.inspectorClient = dummyInspectorClient; | 61 pageClients.inspectorClient = dummyInspectorClient; |
| 62 | 62 |
| 63 static BackForwardClient* dummyBackForwardClient = adoptPtr(new EmptyBackFor
wardClient).leakPtr(); | |
| 64 pageClients.backForwardClient = dummyBackForwardClient; | |
| 65 | |
| 66 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell
CheckerClient).leakPtr(); | 63 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell
CheckerClient).leakPtr(); |
| 67 pageClients.spellCheckerClient = dummySpellCheckerClient; | 64 pageClients.spellCheckerClient = dummySpellCheckerClient; |
| 68 | 65 |
| 69 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient).
leakPtr(); | 66 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient).
leakPtr(); |
| 70 pageClients.storageClient = dummyStorageClient; | 67 pageClients.storageClient = dummyStorageClient; |
| 71 } | 68 } |
| 72 | 69 |
| 73 class EmptyPopupMenu : public PopupMenu { | 70 class EmptyPopupMenu : public PopupMenu { |
| 74 public: | 71 public: |
| 75 virtual void show(const FloatQuad&, const IntSize&, int) override { } | 72 virtual void show(const FloatQuad&, const IntSize&, int) override { } |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 { | 158 { |
| 162 return nullptr; | 159 return nullptr; |
| 163 } | 160 } |
| 164 | 161 |
| 165 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() | 162 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() |
| 166 { | 163 { |
| 167 return nullptr; | 164 return nullptr; |
| 168 } | 165 } |
| 169 | 166 |
| 170 } | 167 } |
| OLD | NEW |