SVGGlyphMap shouldn't use bloatedCharacters

This CL teaches SVGGlyphMap to use the same tricks as WidthIterator to avoid
calling bloatedCharacters().

R=pdr@chromium.org
BUG=254708

Review URL: https://codereview.chromium.org/19026005

git-svn-id: svn://svn.chromium.org/blink/trunk@153976 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactoring: Introduce HTMLImport interface to form import tree.

This change introduces HTMLImport abstract class which is derived by
HTMLImportLoader and HTMLImportsController.

- A set of HTMLImport forms a tree which represents the import dependnecy.
  Currently only child-to-parent link is available. The tree root is
  a HTMLImportController.

- Document now refers HTMLImport instead of HTMLImportController.
  For the master document, the object is HTMLImportController.
  For each imported document, it is a HTMLImportLoader which loads the document.
  Note that the only interaction from a document to its import is
  to ask if all of its (sub) imports are loaded.

- HTMLImportsController is turned from a RefCounted to a document Supplement.
  The lifetime is managed by the supplement machinery instead of RefPtr
  which Document::m_import originally was.
  Now m_import is a weak, raw pointer and is cleared by HTMLImport subclasses.

- didLoad() notification is now fired recursively up to
  the import dependency chain. This is crusial when
  scripts inside imported documents block the document parsing
  and let the notification unblock it.

TEST=none
BUG=240592
R=dglazkov@chromium.org

Review URL: https://codereview.chromium.org/18467003

git-svn-id: svn://svn.chromium.org/blink/trunk@153977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
This patch fixes flaky test editing/undo/orphaned-selection-crash-bug32823-2.html which does pasting from uninitialized clipboard, by populating clipboard in test script.

There is a chance that DRT's clipboard populated by another test before this test.

BUG=n/a
R=leviw@chromium.org

Review URL: https://codereview.chromium.org/18301014

git-svn-id: svn://svn.chromium.org/blink/trunk@153978 bbb929c8-8fbe-4397-9dbb-9b2b20218538
SVGFontElement shouldn't use bloatedCharacters

R=eseidel
BUG=254708

Review URL: https://codereview.chromium.org/18435012

git-svn-id: svn://svn.chromium.org/blink/trunk@153980 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement dialog.returnValue

BUG=248006
R=ch.dumez@sisa.samsung.com, falken@chromium.org

Review URL: https://codereview.chromium.org/18154006

git-svn-id: svn://svn.chromium.org/blink/trunk@153981 bbb929c8-8fbe-4397-9dbb-9b2b20218538
This patch changes CompositeEditCommand::cleanupAfterDeletion(), which is called when moving paragraphs after deletion, not to remove destination node.

BUG=121317
R=leviw@chromium.org

Review URL: https://codereview.chromium.org/16053005

git-svn-id: svn://svn.chromium.org/blink/trunk@153982 bbb929c8-8fbe-4397-9dbb-9b2b20218538