Bug 880024 - Extract some useful code for implementing GeckoContentController into a helper class. r=k17e