1 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.chrome.browser.compositor.bottombar; 6 7 /** 8 * Interface used to generalize the creation of the OverlayPanelContent. This is so test cases 9 * are able to offer a custom version of the OverlayPanelContent to be used in the tests. 10 */ 11 public interface OverlayPanelContentFactory { 12 /** 13 * Create a new OverlayPanelContent object. This can be overridden for tests. 14 */ createNewOverlayPanelContent()15 OverlayPanelContent createNewOverlayPanelContent(); 16 } 17