Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / tabs / test_tab_strip_model_delegate.h
blob8340ac43ef890c8436f3f05d246cfb7bfc6d405e
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model_delegate.h"
12 // Mock TabStripModelDelegate.
13 class TestTabStripModelDelegate : public TabStripModelDelegate {
14 public:
15 TestTabStripModelDelegate();
16 ~TestTabStripModelDelegate() override;
18 // Overridden from TabStripModelDelegate:
19 void AddTabAt(const GURL& url, int index, bool foregroud) override;
20 Browser* CreateNewStripWithContents(
21 const std::vector<NewStripContents>& contentses,
22 const gfx::Rect& window_bounds,
23 bool maximize) override;
24 void WillAddWebContents(content::WebContents* contents) override;
25 int GetDragActions() const override;
26 bool CanDuplicateContentsAt(int index) override;
27 void DuplicateContentsAt(int index) override;
28 void CreateHistoricalTab(content::WebContents* contents) override;
29 bool ShouldRunUnloadListenerBeforeClosing(
30 content::WebContents* contents) override;
31 bool RunUnloadListenerBeforeClosing(content::WebContents* contents) override;
32 RestoreTabType GetRestoreTabType() override;
33 void RestoreTab() override;
34 bool CanBookmarkAllTabs() const override;
35 void BookmarkAllTabs() override;
37 private:
38 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelDelegate);
41 #endif // CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_