~smspillaz/unity/unity.extract_switcher_interface

Viewing all changes in revision 2949.

  • Committer: Sam Spilsbury
  • Date: 2012-12-04 00:17:52 UTC
  • Revision ID: sam.spilsbury@canonical.com-20121204001752-3e3ri4g0qrmponfo
Split the interface and implementation of SwitcherView and SwitcherController.

switcher::Controller is now split into switcher::Controller and
switcher::ControllerInterface . View is likewise split. GetView () now returns
the interface.

A new convenience method ConnectToMouseEvents was added, so that we don't
have to depend on nux::View in test scenarios.

MockSwitcherController was converted to Google Mock, the other
MockSwitcherController was renamed to StubSwitcherController

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: