| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 } | 68 } |
| 69 | 69 |
| 70 class EmptyPopupMenu : public PopupMenu { | 70 class EmptyPopupMenu : public PopupMenu { |
| 71 public: | 71 public: |
| 72 virtual void show(const FloatQuad&, const IntSize&, int) override { } | 72 virtual void show(const FloatQuad&, const IntSize&, int) override { } |
| 73 virtual void hide() override { } | 73 virtual void hide() override { } |
| 74 virtual void updateFromElement() override { } | 74 virtual void updateFromElement() override { } |
| 75 virtual void disconnectClient() override { } | 75 virtual void disconnectClient() override { } |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame&
, PopupMenuClient*) const | 78 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame&
, PopupMenuClient*) |
| 79 { | 79 { |
| 80 return adoptRefWillBeNoop(new EmptyPopupMenu()); | 80 return adoptRefWillBeNoop(new EmptyPopupMenu()); |
| 81 } | 81 } |
| 82 | 82 |
| 83 PassOwnPtrWillBeRawPtr<ColorChooser> EmptyChromeClient::createColorChooser(Local
Frame*, ColorChooserClient*, const Color&) | 83 PassOwnPtrWillBeRawPtr<ColorChooser> EmptyChromeClient::createColorChooser(Local
Frame*, ColorChooserClient*, const Color&) |
| 84 { | 84 { |
| 85 return nullptr; | 85 return nullptr; |
| 86 } | 86 } |
| 87 | 87 |
| 88 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos
erClient*, const DateTimeChooserParameters&) | 88 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos
erClient*, const DateTimeChooserParameters&) |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 { | 158 { |
| 159 return nullptr; | 159 return nullptr; |
| 160 } | 160 } |
| 161 | 161 |
| 162 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() | 162 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() |
| 163 { | 163 { |
| 164 return nullptr; | 164 return nullptr; |
| 165 } | 165 } |
| 166 | 166 |
| 167 } | 167 } |
| OLD | NEW |