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

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

Issue 14386007: Remove some orphaned USE macros. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change updated after James' suggestion Created 7 years, 8 months 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
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/page/EditorClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 virtual void handleKeyboardEvent(KeyboardEvent*) { } 371 virtual void handleKeyboardEvent(KeyboardEvent*) { }
372 virtual void handleInputMethodKeydown(KeyboardEvent*) { } 372 virtual void handleInputMethodKeydown(KeyboardEvent*) { }
373 373
374 virtual void textFieldDidBeginEditing(Element*) { } 374 virtual void textFieldDidBeginEditing(Element*) { }
375 virtual void textFieldDidEndEditing(Element*) { } 375 virtual void textFieldDidEndEditing(Element*) { }
376 virtual void textDidChangeInTextField(Element*) { } 376 virtual void textDidChangeInTextField(Element*) { }
377 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) { return false; } 377 virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*) { return false; }
378 virtual void textWillBeDeletedInTextField(Element*) { } 378 virtual void textWillBeDeletedInTextField(Element*) { }
379 virtual void textDidChangeInTextArea(Element*) { } 379 virtual void textDidChangeInTextArea(Element*) { }
380 380
381 #if USE(APPKIT)
382 virtual void uppercaseWord() { }
383 virtual void lowercaseWord() { }
384 virtual void capitalizeWord() { }
385 #endif
386
387 #if USE(AUTOMATIC_TEXT_REPLACEMENT) 381 #if USE(AUTOMATIC_TEXT_REPLACEMENT)
388 virtual void showSubstitutionsPanel(bool) { } 382 virtual void showSubstitutionsPanel(bool) { }
389 virtual bool substitutionsPanelIsShowing() { return false; } 383 virtual bool substitutionsPanelIsShowing() { return false; }
390 virtual void toggleSmartInsertDelete() { } 384 virtual void toggleSmartInsertDelete() { }
391 virtual bool isAutomaticQuoteSubstitutionEnabled() { return false; } 385 virtual bool isAutomaticQuoteSubstitutionEnabled() { return false; }
392 virtual void toggleAutomaticQuoteSubstitution() { } 386 virtual void toggleAutomaticQuoteSubstitution() { }
393 virtual bool isAutomaticLinkDetectionEnabled() { return false; } 387 virtual bool isAutomaticLinkDetectionEnabled() { return false; }
394 virtual void toggleAutomaticLinkDetection() { } 388 virtual void toggleAutomaticLinkDetection() { }
395 virtual bool isAutomaticDashSubstitutionEnabled() { return false; } 389 virtual bool isAutomaticDashSubstitutionEnabled() { return false; }
396 virtual void toggleAutomaticDashSubstitution() { } 390 virtual void toggleAutomaticDashSubstitution() { }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 virtual void setController(DeviceOrientationController*) { } 472 virtual void setController(DeviceOrientationController*) { }
479 virtual DeviceOrientationData* lastOrientation() const { return 0; } 473 virtual DeviceOrientationData* lastOrientation() const { return 0; }
480 virtual void deviceOrientationControllerDestroyed() { } 474 virtual void deviceOrientationControllerDestroyed() { }
481 }; 475 };
482 476
483 void fillWithEmptyClients(Page::PageClients&); 477 void fillWithEmptyClients(Page::PageClients&);
484 478
485 } 479 }
486 480
487 #endif // EmptyClients_h 481 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/page/EditorClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698