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

Side by Side Diff: chrome/browser/tab_contents/background_contents.h

Issue 8477042: Move Sad Tab implementation out of the TabContentsViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changes for jochen and jam Created 9 years, 1 month 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_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 TabContents* tab_contents() { return tab_contents_.get(); } 45 TabContents* tab_contents() { return tab_contents_.get(); }
46 virtual const GURL& GetURL() const; 46 virtual const GURL& GetURL() const;
47 47
48 // TabContentsDelegate implementation: 48 // TabContentsDelegate implementation:
49 virtual void CloseContents(TabContents* source) OVERRIDE; 49 virtual void CloseContents(TabContents* source) OVERRIDE;
50 virtual bool ShouldSuppressDialogs() OVERRIDE; 50 virtual bool ShouldSuppressDialogs() OVERRIDE;
51 virtual void DidNavigateMainFramePostCommit(TabContents* tab) OVERRIDE; 51 virtual void DidNavigateMainFramePostCommit(TabContents* tab) OVERRIDE;
52 52
53 // TabContentsObserver implementation: 53 // TabContentsObserver implementation:
54 virtual void RenderViewGone() OVERRIDE; 54 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
55 55
56 // content::NotificationObserver 56 // content::NotificationObserver
57 virtual void Observe(int type, 57 virtual void Observe(int type,
58 const content::NotificationSource& source, 58 const content::NotificationSource& source,
59 const content::NotificationDetails& details); 59 const content::NotificationDetails& details);
60 60
61 protected: 61 protected:
62 // Exposed for testing. 62 // Exposed for testing.
63 BackgroundContents(); 63 BackgroundContents();
64 64
(...skipping 14 matching lines...) Expand all
79 BackgroundContents* contents; 79 BackgroundContents* contents;
80 80
81 // The name of the parent frame for these contents. 81 // The name of the parent frame for these contents.
82 const string16& frame_name; 82 const string16& frame_name;
83 83
84 // The ID of the parent application (if any). 84 // The ID of the parent application (if any).
85 const string16& application_id; 85 const string16& application_id;
86 }; 86 };
87 87
88 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 88 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_view_manager.cc ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698