OLD | NEW |
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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 372 |
373 // Functions returning Element | 373 // Functions returning Element |
374 | 374 |
375 HTMLSpanElement* createTabSpanElement(Document&); | 375 HTMLSpanElement* createTabSpanElement(Document&); |
376 HTMLSpanElement* createTabSpanElement(Document&, const String& tabText); | 376 HTMLSpanElement* createTabSpanElement(Document&, const String& tabText); |
377 | 377 |
378 // Boolean functions on Element | 378 // Boolean functions on Element |
379 | 379 |
380 bool canMergeLists(Element* firstList, Element* secondList); | 380 bool canMergeLists(Element* firstList, Element* secondList); |
381 | 381 |
| 382 bool elementCannotHaveEndTag(const Node&); |
| 383 |
382 // ------------------------------------------------------------------------- | 384 // ------------------------------------------------------------------------- |
383 // VisibleSelection | 385 // VisibleSelection |
384 // ------------------------------------------------------------------------- | 386 // ------------------------------------------------------------------------- |
385 | 387 |
386 // Functions returning VisibleSelection | 388 // Functions returning VisibleSelection |
387 VisibleSelection selectionForParagraphIteration(const VisibleSelection&); | 389 VisibleSelection selectionForParagraphIteration(const VisibleSelection&); |
388 | 390 |
389 // TODO(editing-dev): We should move "adjustedSelectionStartForStyleComputation" | 391 // TODO(editing-dev): We should move "adjustedSelectionStartForStyleComputation" |
390 // to "EditingStyleUtilitie.cpp" as local function since it used only there. | 392 // to "EditingStyleUtilitie.cpp" as local function since it used only there. |
391 Position adjustedSelectionStartForStyleComputation(const Position&); | 393 Position adjustedSelectionStartForStyleComputation(const Position&); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, | 435 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, |
434 InputEvent::InputType, | 436 InputEvent::InputType, |
435 DataTransfer*); | 437 DataTransfer*); |
436 | 438 |
437 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, | 439 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, |
438 TextGranularity); | 440 TextGranularity); |
439 | 441 |
440 } // namespace blink | 442 } // namespace blink |
441 | 443 |
442 #endif | 444 #endif |
OLD | NEW |