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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell
CheckerClient).leakPtr(); | 64 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell
CheckerClient).leakPtr(); |
65 pageClients.spellCheckerClient = dummySpellCheckerClient; | 65 pageClients.spellCheckerClient = dummySpellCheckerClient; |
66 | 66 |
67 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient).
leakPtr(); | 67 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient).
leakPtr(); |
68 pageClients.storageClient = dummyStorageClient; | 68 pageClients.storageClient = dummyStorageClient; |
69 } | 69 } |
70 | 70 |
71 class EmptyPopupMenu : public PopupMenu { | 71 class EmptyPopupMenu : public PopupMenu { |
72 public: | 72 public: |
73 virtual void show(const FloatQuad&, const IntSize&, int) OVERRIDE { } | 73 virtual void show(const FloatQuad&, const IntSize&, int) override { } |
74 virtual void hide() OVERRIDE { } | 74 virtual void hide() override { } |
75 virtual void updateFromElement() OVERRIDE { } | 75 virtual void updateFromElement() override { } |
76 virtual void disconnectClient() OVERRIDE { } | 76 virtual void disconnectClient() override { } |
77 }; | 77 }; |
78 | 78 |
79 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame&
, PopupMenuClient*) const | 79 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame&
, PopupMenuClient*) const |
80 { | 80 { |
81 return adoptRefWillBeNoop(new EmptyPopupMenu()); | 81 return adoptRefWillBeNoop(new EmptyPopupMenu()); |
82 } | 82 } |
83 | 83 |
84 PassOwnPtr<ColorChooser> EmptyChromeClient::createColorChooser(LocalFrame*, Colo
rChooserClient*, const Color&) | 84 PassOwnPtr<ColorChooser> EmptyChromeClient::createColorChooser(LocalFrame*, Colo
rChooserClient*, const Color&) |
85 { | 85 { |
86 return nullptr; | 86 return nullptr; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 { | 154 { |
155 return nullptr; | 155 return nullptr; |
156 } | 156 } |
157 | 157 |
158 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() | 158 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() |
159 { | 159 { |
160 return nullptr; | 160 return nullptr; |
161 } | 161 } |
162 | 162 |
163 } | 163 } |
OLD | NEW |