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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 | 348 |
349 private: | 349 private: |
350 EmptyTextCheckerClient m_textCheckerClient; | 350 EmptyTextCheckerClient m_textCheckerClient; |
351 }; | 351 }; |
352 | 352 |
353 class EmptyContextMenuClient : public ContextMenuClient { | 353 class EmptyContextMenuClient : public ContextMenuClient { |
354 WTF_MAKE_NONCOPYABLE(EmptyContextMenuClient); WTF_MAKE_FAST_ALLOCATED; | 354 WTF_MAKE_NONCOPYABLE(EmptyContextMenuClient); WTF_MAKE_FAST_ALLOCATED; |
355 public: | 355 public: |
356 EmptyContextMenuClient() { } | 356 EmptyContextMenuClient() { } |
357 virtual ~EmptyContextMenuClient() { } | 357 virtual ~EmptyContextMenuClient() { } |
358 virtual PassOwnPtr<ContextMenu> customizeMenu(PassOwnPtr<ContextMenu>) OVERR
IDE; | 358 virtual void showContextMenu(const ContextMenu*) OVERRIDE { } |
359 }; | 359 }; |
360 | 360 |
361 class EmptyDragClient : public DragClient { | 361 class EmptyDragClient : public DragClient { |
362 WTF_MAKE_NONCOPYABLE(EmptyDragClient); WTF_MAKE_FAST_ALLOCATED; | 362 WTF_MAKE_NONCOPYABLE(EmptyDragClient); WTF_MAKE_FAST_ALLOCATED; |
363 public: | 363 public: |
364 EmptyDragClient() { } | 364 EmptyDragClient() { } |
365 virtual ~EmptyDragClient() {} | 365 virtual ~EmptyDragClient() {} |
366 virtual DragDestinationAction actionMaskForDrag(DragData*) OVERRIDE { return
DragDestinationActionNone; } | 366 virtual DragDestinationAction actionMaskForDrag(DragData*) OVERRIDE { return
DragDestinationActionNone; } |
367 virtual void startDrag(DragImageRef, const IntPoint&, const IntPoint&, Clipb
oard*, Frame*, bool) OVERRIDE { } | 367 virtual void startDrag(DragImageRef, const IntPoint&, const IntPoint&, Clipb
oard*, Frame*, bool) OVERRIDE { } |
368 }; | 368 }; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 virtual int forwardListCount() OVERRIDE { return 0; } | 406 virtual int forwardListCount() OVERRIDE { return 0; } |
407 virtual bool isActive() OVERRIDE { return false; } | 407 virtual bool isActive() OVERRIDE { return false; } |
408 virtual void close() OVERRIDE { } | 408 virtual void close() OVERRIDE { } |
409 }; | 409 }; |
410 | 410 |
411 void fillWithEmptyClients(Page::PageClients&); | 411 void fillWithEmptyClients(Page::PageClients&); |
412 | 412 |
413 } | 413 } |
414 | 414 |
415 #endif // EmptyClients_h | 415 #endif // EmptyClients_h |
OLD | NEW |