Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: chrome/browser/tabs/default_tab_handler.h

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tab_contents/tab_util.cc ('k') | chrome/browser/tabs/default_tab_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ 5 #ifndef CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_
6 #define CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ 6 #define CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 24 matching lines...) Expand all
35 const gfx::Rect& window_bounds, 35 const gfx::Rect& window_bounds,
36 const DockInfo& dock_info, 36 const DockInfo& dock_info,
37 bool maximize) OVERRIDE; 37 bool maximize) OVERRIDE;
38 virtual int GetDragActions() const OVERRIDE; 38 virtual int GetDragActions() const OVERRIDE;
39 virtual TabContentsWrapper* CreateTabContentsForURL( 39 virtual TabContentsWrapper* CreateTabContentsForURL(
40 const GURL& url, 40 const GURL& url,
41 const content::Referrer& referrer, 41 const content::Referrer& referrer,
42 Profile* profile, 42 Profile* profile,
43 content::PageTransition transition, 43 content::PageTransition transition,
44 bool defer_load, 44 bool defer_load,
45 SiteInstance* instance) const OVERRIDE; 45 content::SiteInstance* instance) const OVERRIDE;
46 virtual bool CanDuplicateContentsAt(int index) OVERRIDE; 46 virtual bool CanDuplicateContentsAt(int index) OVERRIDE;
47 virtual void DuplicateContentsAt(int index) OVERRIDE; 47 virtual void DuplicateContentsAt(int index) OVERRIDE;
48 virtual void CloseFrameAfterDragSession() OVERRIDE; 48 virtual void CloseFrameAfterDragSession() OVERRIDE;
49 virtual void CreateHistoricalTab(TabContentsWrapper* contents) OVERRIDE; 49 virtual void CreateHistoricalTab(TabContentsWrapper* contents) OVERRIDE;
50 virtual bool RunUnloadListenerBeforeClosing( 50 virtual bool RunUnloadListenerBeforeClosing(
51 TabContentsWrapper* contents) OVERRIDE; 51 TabContentsWrapper* contents) OVERRIDE;
52 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE; 52 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE;
53 virtual bool CanBookmarkAllTabs() const OVERRIDE; 53 virtual bool CanBookmarkAllTabs() const OVERRIDE;
54 virtual void BookmarkAllTabs() OVERRIDE; 54 virtual void BookmarkAllTabs() OVERRIDE;
55 virtual bool CanCloseTab() const OVERRIDE; 55 virtual bool CanCloseTab() const OVERRIDE;
(...skipping 27 matching lines...) Expand all
83 83
84 private: 84 private:
85 TabHandlerDelegate* delegate_; 85 TabHandlerDelegate* delegate_;
86 86
87 scoped_ptr<TabStripModel> model_; 87 scoped_ptr<TabStripModel> model_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler); 89 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler);
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ 92 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_util.cc ('k') | chrome/browser/tabs/default_tab_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698