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

Side by Side Diff: third_party/WebKit/Source/core/editing/EditingUtilities.h

Issue 2709883004: [InputEvent] Change |InputEventInit::sequence<Range> ranges| to |sequence<StaticRange> targetRanges| (Closed)
Patch Set: yosin's review: Use early return Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 String stringWithRebalancedWhitespace(const String&, 406 String stringWithRebalancedWhitespace(const String&,
407 bool startIsStartOfParagraph, 407 bool startIsStartOfParagraph,
408 bool shouldEmitNBSPbeforeEnd); 408 bool shouldEmitNBSPbeforeEnd);
409 const String& nonBreakingSpaceString(); 409 const String& nonBreakingSpaceString();
410 410
411 // ------------------------------------------------------------------------- 411 // -------------------------------------------------------------------------
412 // Events 412 // Events
413 // ------------------------------------------------------------------------- 413 // -------------------------------------------------------------------------
414 414
415 // Functions dispatch InputEvent 415 // Functions dispatch InputEvent
416 const RangeVector* targetRangesForInputEvent(const Node&); 416 const StaticRangeVector* targetRangesForInputEvent(const Node&);
417 DispatchEventResult dispatchBeforeInputInsertText(Node*, const String& data); 417 DispatchEventResult dispatchBeforeInputInsertText(Node*, const String& data);
418 DispatchEventResult dispatchBeforeInputEditorCommand(Node*, 418 DispatchEventResult dispatchBeforeInputEditorCommand(Node*,
419 InputEvent::InputType, 419 InputEvent::InputType,
420 const RangeVector*); 420 const StaticRangeVector*);
421 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, 421 DispatchEventResult dispatchBeforeInputDataTransfer(Node*,
422 InputEvent::InputType, 422 InputEvent::InputType,
423 DataTransfer*); 423 DataTransfer*);
424 424
425 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, 425 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection,
426 TextGranularity); 426 TextGranularity);
427 427
428 } // namespace blink 428 } // namespace blink
429 429
430 #endif 430 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StaticRange.cpp ('k') | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698