Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / tabs / test_tab_strip_model_delegate.h
blob21801730b7e3279b540d3bf3699b6f5126b196ff
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 virtual ~TestTabStripModelDelegate();
18 // Overridden from TabStripModelDelegate:
19 virtual void AddTabAt(const GURL& url, int index, bool foregroud) OVERRIDE;
20 virtual Browser* CreateNewStripWithContents(
21 const std::vector<NewStripContents>& contentses,
22 const gfx::Rect& window_bounds,
23 const DockInfo& dock_info,
24 bool maximize) OVERRIDE;
25 virtual void WillAddWebContents(content::WebContents* contents) OVERRIDE;
26 virtual int GetDragActions() const OVERRIDE;
27 virtual bool CanDuplicateContentsAt(int index) OVERRIDE;
28 virtual void DuplicateContentsAt(int index) OVERRIDE;
29 virtual void CloseFrameAfterDragSession() OVERRIDE;
30 virtual void CreateHistoricalTab(content::WebContents* contents) OVERRIDE;
31 virtual bool ShouldRunUnloadListenerBeforeClosing(
32 content::WebContents* contents) OVERRIDE;
33 virtual bool RunUnloadListenerBeforeClosing(
34 content::WebContents* contents) OVERRIDE;
35 virtual RestoreTabType GetRestoreTabType() OVERRIDE;
36 virtual void RestoreTab() OVERRIDE;
37 virtual bool CanBookmarkAllTabs() const OVERRIDE;
38 virtual void BookmarkAllTabs() OVERRIDE;
40 private:
41 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelDelegate);
44 #endif // CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_