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

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

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
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 21 matching lines...) Expand all
32 virtual Browser* CreateNewStripWithContents( 32 virtual Browser* CreateNewStripWithContents(
33 TabContentsWrapper* detached_contents, 33 TabContentsWrapper* detached_contents,
34 const gfx::Rect& window_bounds, 34 const gfx::Rect& window_bounds,
35 const DockInfo& dock_info, 35 const DockInfo& dock_info,
36 bool maximize); 36 bool maximize);
37 virtual int GetDragActions() const; 37 virtual int GetDragActions() const;
38 virtual TabContentsWrapper* CreateTabContentsForURL( 38 virtual TabContentsWrapper* CreateTabContentsForURL(
39 const GURL& url, 39 const GURL& url,
40 const GURL& referrer, 40 const GURL& referrer,
41 Profile* profile, 41 Profile* profile,
42 PageTransition::Type transition, 42 content::PageTransition transition,
43 bool defer_load, 43 bool defer_load,
44 SiteInstance* instance) const; 44 SiteInstance* instance) const;
45 virtual bool CanDuplicateContentsAt(int index); 45 virtual bool CanDuplicateContentsAt(int index);
46 virtual void DuplicateContentsAt(int index); 46 virtual void DuplicateContentsAt(int index);
47 virtual void CloseFrameAfterDragSession(); 47 virtual void CloseFrameAfterDragSession();
48 virtual void CreateHistoricalTab(TabContentsWrapper* contents); 48 virtual void CreateHistoricalTab(TabContentsWrapper* contents);
49 virtual bool RunUnloadListenerBeforeClosing(TabContentsWrapper* contents); 49 virtual bool RunUnloadListenerBeforeClosing(TabContentsWrapper* contents);
50 virtual bool CanCloseContents(std::vector<int>* indices); 50 virtual bool CanCloseContents(std::vector<int>* indices);
51 virtual bool CanBookmarkAllTabs() const; 51 virtual bool CanBookmarkAllTabs() const;
52 virtual void BookmarkAllTabs(); 52 virtual void BookmarkAllTabs();
(...skipping 27 matching lines...) Expand all
80 80
81 private: 81 private:
82 TabHandlerDelegate* delegate_; 82 TabHandlerDelegate* delegate_;
83 83
84 scoped_ptr<TabStripModel> model_; 84 scoped_ptr<TabStripModel> model_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler); 86 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler);
87 }; 87 };
88 88
89 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ 89 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target_win.cc ('k') | chrome/browser/tabs/default_tab_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698