Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 72543005: Get rid of explict editor dependency from text field (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-11-15T16:10:10 Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 virtual bool canCopyCut(Frame*, bool defaultValue) const OVERRIDE { return d efaultValue; } 283 virtual bool canCopyCut(Frame*, bool defaultValue) const OVERRIDE { return d efaultValue; }
284 virtual bool canPaste(Frame*, bool defaultValue) const OVERRIDE { return def aultValue; } 284 virtual bool canPaste(Frame*, bool defaultValue) const OVERRIDE { return def aultValue; }
285 virtual bool canUndo() const OVERRIDE { return false; } 285 virtual bool canUndo() const OVERRIDE { return false; }
286 virtual bool canRedo() const OVERRIDE { return false; } 286 virtual bool canRedo() const OVERRIDE { return false; }
287 287
288 virtual void undo() OVERRIDE { } 288 virtual void undo() OVERRIDE { }
289 virtual void redo() OVERRIDE { } 289 virtual void redo() OVERRIDE { }
290 290
291 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE { } 291 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE { }
292 292
293 virtual void textFieldDidEndEditing(Element*) OVERRIDE { }
294 virtual void textDidChangeInTextField(Element*) OVERRIDE { }
295 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) OVERRIDE { return false; }
296
297 TextCheckerClient& textChecker() { return m_textCheckerClient; } 293 TextCheckerClient& textChecker() { return m_textCheckerClient; }
298 294
299 virtual void updateSpellingUIWithMisspelledWord(const String&) OVERRIDE { } 295 virtual void updateSpellingUIWithMisspelledWord(const String&) OVERRIDE { }
300 virtual void showSpellingUI(bool) OVERRIDE { } 296 virtual void showSpellingUI(bool) OVERRIDE { }
301 virtual bool spellingUIIsShowing() OVERRIDE { return false; } 297 virtual bool spellingUIIsShowing() OVERRIDE { return false; }
302 298
303 virtual void willSetInputMethodState() OVERRIDE { } 299 virtual void willSetInputMethodState() OVERRIDE { }
304 300
305 private: 301 private:
306 EmptyTextCheckerClient m_textCheckerClient; 302 EmptyTextCheckerClient m_textCheckerClient;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 virtual int backListCount() OVERRIDE { return 0; } 335 virtual int backListCount() OVERRIDE { return 0; }
340 virtual int forwardListCount() OVERRIDE { return 0; } 336 virtual int forwardListCount() OVERRIDE { return 0; }
341 virtual int backForwardListCount() OVERRIDE { return 0; } 337 virtual int backForwardListCount() OVERRIDE { return 0; }
342 }; 338 };
343 339
344 void fillWithEmptyClients(Page::PageClients&); 340 void fillWithEmptyClients(Page::PageClients&);
345 341
346 } 342 }
347 343
348 #endif // EmptyClients_h 344 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698