Refactor revision selectors for future file attachment support.

Review Request #6342 — Created Sept. 19, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
df43e22...

Reviewers

This change refactors the DiffRevisionSelectorView control to abstract out
common functionality into a new RevisionSelectorView abstract base class. This
is then inherited by the existing DiffRevisionSelectorView and a new
FileAttachmentRevisionSelectorView.

Tested the various behavior in the DiffRevisionSelectorView.
FileAttachmentRevisionSelectorView is currently un-tested.