Rename chromium-mac* ports to mac*

Also renames the ChromiumMacPort class to MacPort.

A later change will update the relevant LayoutTest platform directories
accordingly.

This is an unmodified re-landing of r153309, which was reverted in r153310
because it broke the Mac WebKit bots, which were still explicitly passing
'--platform chromium-mac'. This has since been fixed in r209472.

BUG=231188
TBR=ojan@chromium.org

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


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

git-svn-id: svn://svn.chromium.org/blink/trunk@153538 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace SyntheticStyleChange with an argument for setNeedsStyleRecalc

Originally I had incorrectly thought SyntheticStyleChange was only used for layer
updates and so I introduced setNeedsLayerUpdate(), but in reality we use
SyntheticStyleChange to mean "stuff changed inside the renderer even though the
css style is identical".

This patch corrects this by adding a new argument to setNeedsStyleRecalc for the
source of the style change with allowed values being either StyleChangedFromCSS
meaning the StyleResolver will give a different style back, or StyleChangedFromRenderer
meaning the StyleResolver may give back an identical style but we need to call
setStyle() on the renderer anyway since it's internal state has changed and it
might mutate the style (ex. animations) or take some other action (ex. creating
a RenderLayer).

I also renamed the StyleChangeType enum to better reflect what it does:

FullStyleChange becomes SubtreeStyleChange since it means recalc the style on
all elements in this subtree.

InlineStyleChange becomes LocalStyleChange since it means recalc the style on
myself only.

Review URL: https://chromiumcodereview.appspot.com/18652007

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