mac: Fix history swiping to work with Magic Mouse.

Magic Mouse callbacks look identical to track pad callbacks, /except/ that
Magic Mouse callbacks do not send NSTouch events. Since the new history
swiping logic uses NSTouch data exclusively, we detect whether the event is
coming from a Magic Mouse, and if so, revert to using the old history swiping
logic.

BUG=328583
TEST=manually tested with magic mouse, track pad, and traditional mouse. In
isolation, each of these pieces of hardware should behave appropriately.
Using both a track pad and a traditional mouse should function appropriately.
The magic mouse and the track pad do not play well together, and attempting
to use both simultaneously results in failure.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242558 0039d316-1c4b-4281-b951-d872f2087c98
mac: Bookmark page hotkey doesn't work when star is hidden.

We were using the logic for whether to display the star to determine whether the page could be bookmarked. 

BUG=328913
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242559 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242559