| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 bool canPaste(LocalFrame*, bool defaultValue) const override { return defaul
tValue; } | 316 bool canPaste(LocalFrame*, bool defaultValue) const override { return defaul
tValue; } |
| 317 | 317 |
| 318 bool handleKeyboardEvent() override { return false; } | 318 bool handleKeyboardEvent() override { return false; } |
| 319 }; | 319 }; |
| 320 | 320 |
| 321 class EmptyContextMenuClient final : public ContextMenuClient { | 321 class EmptyContextMenuClient final : public ContextMenuClient { |
| 322 WTF_MAKE_NONCOPYABLE(EmptyContextMenuClient); USING_FAST_MALLOC(EmptyContext
MenuClient); | 322 WTF_MAKE_NONCOPYABLE(EmptyContextMenuClient); USING_FAST_MALLOC(EmptyContext
MenuClient); |
| 323 public: | 323 public: |
| 324 EmptyContextMenuClient() {} | 324 EmptyContextMenuClient() {} |
| 325 ~EmptyContextMenuClient() override {} | 325 ~EmptyContextMenuClient() override {} |
| 326 void showContextMenu(const ContextMenu*) override {} | 326 void showContextMenu(const ContextMenu*, Event*) override {} |
| 327 void clearContextMenu() override {} | 327 void clearContextMenu() override {} |
| 328 }; | 328 }; |
| 329 | 329 |
| 330 class EmptyDragClient final : public DragClient { | 330 class EmptyDragClient final : public DragClient { |
| 331 WTF_MAKE_NONCOPYABLE(EmptyDragClient); USING_FAST_MALLOC(EmptyDragClient); | 331 WTF_MAKE_NONCOPYABLE(EmptyDragClient); USING_FAST_MALLOC(EmptyDragClient); |
| 332 public: | 332 public: |
| 333 EmptyDragClient() {} | 333 EmptyDragClient() {} |
| 334 ~EmptyDragClient() override {} | 334 ~EmptyDragClient() override {} |
| 335 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } | 335 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } |
| 336 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} | 336 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} |
| 337 }; | 337 }; |
| 338 | 338 |
| 339 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 339 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
| 340 | 340 |
| 341 } // namespace blink | 341 } // namespace blink |
| 342 | 342 |
| 343 #endif // EmptyClients_h | 343 #endif // EmptyClients_h |
| OLD | NEW |