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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 297 |
298 virtual bool canCopyCut(Frame*, bool defaultValue) const OVERRIDE { return d
efaultValue; } | 298 virtual bool canCopyCut(Frame*, bool defaultValue) const OVERRIDE { return d
efaultValue; } |
299 virtual bool canPaste(Frame*, bool defaultValue) const OVERRIDE { return def
aultValue; } | 299 virtual bool canPaste(Frame*, bool defaultValue) const OVERRIDE { return def
aultValue; } |
300 virtual bool canUndo() const OVERRIDE { return false; } | 300 virtual bool canUndo() const OVERRIDE { return false; } |
301 virtual bool canRedo() const OVERRIDE { return false; } | 301 virtual bool canRedo() const OVERRIDE { return false; } |
302 | 302 |
303 virtual void undo() OVERRIDE { } | 303 virtual void undo() OVERRIDE { } |
304 virtual void redo() OVERRIDE { } | 304 virtual void redo() OVERRIDE { } |
305 | 305 |
306 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE { } | 306 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE { } |
307 | |
308 virtual void textFieldDidEndEditing(Element*) OVERRIDE { } | |
309 virtual void textDidChangeInTextField(Element*) OVERRIDE { } | |
310 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) OVERRIDE
{ return false; } | |
311 }; | 307 }; |
312 | 308 |
313 class EmptyContextMenuClient : public ContextMenuClient { | 309 class EmptyContextMenuClient : public ContextMenuClient { |
314 WTF_MAKE_NONCOPYABLE(EmptyContextMenuClient); WTF_MAKE_FAST_ALLOCATED; | 310 WTF_MAKE_NONCOPYABLE(EmptyContextMenuClient); WTF_MAKE_FAST_ALLOCATED; |
315 public: | 311 public: |
316 EmptyContextMenuClient() { } | 312 EmptyContextMenuClient() { } |
317 virtual ~EmptyContextMenuClient() { } | 313 virtual ~EmptyContextMenuClient() { } |
318 virtual void showContextMenu(const ContextMenu*) OVERRIDE { } | 314 virtual void showContextMenu(const ContextMenu*) OVERRIDE { } |
319 virtual void clearContextMenu() OVERRIDE { } | 315 virtual void clearContextMenu() OVERRIDE { } |
320 }; | 316 }; |
(...skipping 22 matching lines...) Expand all Loading... |
343 virtual int backListCount() OVERRIDE { return 0; } | 339 virtual int backListCount() OVERRIDE { return 0; } |
344 virtual int forwardListCount() OVERRIDE { return 0; } | 340 virtual int forwardListCount() OVERRIDE { return 0; } |
345 virtual int backForwardListCount() OVERRIDE { return 0; } | 341 virtual int backForwardListCount() OVERRIDE { return 0; } |
346 }; | 342 }; |
347 | 343 |
348 void fillWithEmptyClients(Page::PageClients&); | 344 void fillWithEmptyClients(Page::PageClients&); |
349 | 345 |
350 } | 346 } |
351 | 347 |
352 #endif // EmptyClients_h | 348 #endif // EmptyClients_h |
OLD | NEW |