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

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

Issue 257055: Remove references to DOMUIContents. It looks like the class doesn't exist. (Closed)
Patch Set: remove Created 11 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
« no previous file with comments | « chrome/browser/dom_ui/dom_ui.h ('k') | chrome/common/url_constants.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 struct WebApplicationInfo; 65 struct WebApplicationInfo;
66 } 66 }
67 67
68 namespace IPC { 68 namespace IPC {
69 class Message; 69 class Message;
70 } 70 }
71 71
72 class AutofillManager; 72 class AutofillManager;
73 class BlockedPopupContainer; 73 class BlockedPopupContainer;
74 class DOMUI; 74 class DOMUI;
75 class DOMUIContents;
76 class DownloadItem; 75 class DownloadItem;
77 class LoadNotificationDetails; 76 class LoadNotificationDetails;
78 class OmniboxSearchHint; 77 class OmniboxSearchHint;
79 class PageAction; 78 class PageAction;
80 class PasswordManager; 79 class PasswordManager;
81 class PluginInstaller; 80 class PluginInstaller;
82 class Profile; 81 class Profile;
83 struct RendererPreferences; 82 struct RendererPreferences;
84 class RenderViewHost; 83 class RenderViewHost;
85 class TabContentsDelegate; 84 class TabContentsDelegate;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 static void RegisterUserPrefs(PrefService* prefs); 127 static void RegisterUserPrefs(PrefService* prefs);
129 128
130 // Intrinsic tab state ------------------------------------------------------- 129 // Intrinsic tab state -------------------------------------------------------
131 130
132 // Returns the property bag for this tab contents, where callers can add 131 // Returns the property bag for this tab contents, where callers can add
133 // extra data they may wish to associate with the tab. Returns a pointer 132 // extra data they may wish to associate with the tab. Returns a pointer
134 // rather than a reference since the PropertyAccessors expect this. 133 // rather than a reference since the PropertyAccessors expect this.
135 const PropertyBag* property_bag() const { return &property_bag_; } 134 const PropertyBag* property_bag() const { return &property_bag_; }
136 PropertyBag* property_bag() { return &property_bag_; } 135 PropertyBag* property_bag() { return &property_bag_; }
137 136
138 // Returns this object as a DOMUIContents if it is one, and NULL otherwise.
139 virtual DOMUIContents* AsDOMUIContents() { return NULL; }
140
141 TabContentsDelegate* delegate() const { return delegate_; } 137 TabContentsDelegate* delegate() const { return delegate_; }
142 void set_delegate(TabContentsDelegate* d) { delegate_ = d; } 138 void set_delegate(TabContentsDelegate* d) { delegate_ = d; }
143 139
144 // Gets the controller for this tab contents. 140 // Gets the controller for this tab contents.
145 NavigationController& controller() { return controller_; } 141 NavigationController& controller() { return controller_; }
146 const NavigationController& controller() const { return controller_; } 142 const NavigationController& controller() const { return controller_; }
147 143
148 // Returns the user profile associated with this TabContents (via the 144 // Returns the user profile associated with this TabContents (via the
149 // NavigationController). 145 // NavigationController).
150 Profile* profile() const { return controller_.profile(); } 146 Profile* profile() const { return controller_.profile(); }
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 1159
1164 // The time that we started to create the new tab page. 1160 // The time that we started to create the new tab page.
1165 base::TimeTicks new_tab_start_time_; 1161 base::TimeTicks new_tab_start_time_;
1166 1162
1167 // --------------------------------------------------------------------------- 1163 // ---------------------------------------------------------------------------
1168 1164
1169 DISALLOW_COPY_AND_ASSIGN(TabContents); 1165 DISALLOW_COPY_AND_ASSIGN(TabContents);
1170 }; 1166 };
1171 1167
1172 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1168 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/dom_ui.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698