DescriptionMac: implement dispositions for back/forward buttons (not in drop-downs).
That is, holding Cmd while pressing back/forward will open in a new background tab and holding Cmd+Shift will open in a new foreground tab. Theoretically, it can support holding Shift to open in a new window, but Browser::GoBack()/GoForward() doesn't support this disposition (due to a technical "limitation" of the implementation?).
This does *not* implement dispositions in the drop-down menus.
BUG=25319
TEST=Navigate to build up some history. Then press back/forward while holding down Cmd or Cmd+Shift.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30016
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix handling of dispositions other than NEW_FOREGROUND_TAB/NEW_BACKGROUND_TAB/CURRENT_TAB. #
Total comments: 2
Patch Set 3 : We never need to call Revert() on back/forwards, so the logic can be simplified. #Messages
Total messages: 6 (0 generated)
|