| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 class ZoomController; | 67 class ZoomController; |
| 68 | 68 |
| 69 namespace browser_sync { | 69 namespace browser_sync { |
| 70 class SyncedTabDelegate; | 70 class SyncedTabDelegate; |
| 71 } | 71 } |
| 72 | 72 |
| 73 namespace captive_portal { | 73 namespace captive_portal { |
| 74 class CaptivePortalTabHelper; | 74 class CaptivePortalTabHelper; |
| 75 } | 75 } |
| 76 | 76 |
| 77 namespace chrome { | |
| 78 namespace search { | |
| 79 class SearchTabHelper; | |
| 80 } | |
| 81 } | |
| 82 | |
| 83 namespace chromeos { | 77 namespace chromeos { |
| 84 class SimpleWebViewDialog; | 78 class SimpleWebViewDialog; |
| 85 class WebUILoginView; | 79 class WebUILoginView; |
| 86 } | 80 } |
| 87 | 81 |
| 88 namespace extensions { | 82 namespace extensions { |
| 89 class WebAuthFlow; | 83 class WebAuthFlow; |
| 90 class WebNavigationTabObserver; | 84 class WebNavigationTabObserver; |
| 91 } | 85 } |
| 92 | 86 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 prerender::PrerenderTabHelper* prerender_tab_helper() { | 215 prerender::PrerenderTabHelper* prerender_tab_helper() { |
| 222 return prerender_tab_helper_.get(); | 216 return prerender_tab_helper_.get(); |
| 223 } | 217 } |
| 224 | 218 |
| 225 SadTabHelper* sad_tab_helper() { return sad_tab_helper_.get(); } | 219 SadTabHelper* sad_tab_helper() { return sad_tab_helper_.get(); } |
| 226 | 220 |
| 227 SearchEngineTabHelper* search_engine_tab_helper() { | 221 SearchEngineTabHelper* search_engine_tab_helper() { |
| 228 return search_engine_tab_helper_.get(); | 222 return search_engine_tab_helper_.get(); |
| 229 } | 223 } |
| 230 | 224 |
| 231 chrome::search::SearchTabHelper* search_tab_helper() { | |
| 232 return search_tab_helper_.get(); | |
| 233 } | |
| 234 | |
| 235 browser_sync::SyncedTabDelegate* synced_tab_delegate() { | 225 browser_sync::SyncedTabDelegate* synced_tab_delegate() { |
| 236 return synced_tab_delegate_.get(); | 226 return synced_tab_delegate_.get(); |
| 237 } | 227 } |
| 238 | 228 |
| 239 TabSpecificContentSettings* content_settings() { | 229 TabSpecificContentSettings* content_settings() { |
| 240 return content_settings_.get(); | 230 return content_settings_.get(); |
| 241 } | 231 } |
| 242 | 232 |
| 243 // NOTE: This returns NULL unless in-browser thumbnail generation is enabled. | 233 // NOTE: This returns NULL unless in-browser thumbnail generation is enabled. |
| 244 ThumbnailGenerator* thumbnail_generator() { | 234 ThumbnailGenerator* thumbnail_generator() { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // PasswordManager and its delegate. The delegate must outlive the manager, | 287 // PasswordManager and its delegate. The delegate must outlive the manager, |
| 298 // per documentation in password_manager.h. | 288 // per documentation in password_manager.h. |
| 299 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; | 289 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; |
| 300 scoped_ptr<PasswordManager> password_manager_; | 290 scoped_ptr<PasswordManager> password_manager_; |
| 301 | 291 |
| 302 scoped_ptr<PrefsTabHelper> prefs_tab_helper_; | 292 scoped_ptr<PrefsTabHelper> prefs_tab_helper_; |
| 303 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_; | 293 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_; |
| 304 | 294 |
| 305 scoped_ptr<SadTabHelper> sad_tab_helper_; | 295 scoped_ptr<SadTabHelper> sad_tab_helper_; |
| 306 scoped_ptr<SearchEngineTabHelper> search_engine_tab_helper_; | 296 scoped_ptr<SearchEngineTabHelper> search_engine_tab_helper_; |
| 307 scoped_ptr<chrome::search::SearchTabHelper> search_tab_helper_; | |
| 308 scoped_ptr<browser_sync::SyncedTabDelegate> synced_tab_delegate_; | 297 scoped_ptr<browser_sync::SyncedTabDelegate> synced_tab_delegate_; |
| 309 | 298 |
| 310 // The TabSpecificContentSettings object is used to query the blocked content | 299 // The TabSpecificContentSettings object is used to query the blocked content |
| 311 // state by various UI elements. | 300 // state by various UI elements. |
| 312 scoped_ptr<TabSpecificContentSettings> content_settings_; | 301 scoped_ptr<TabSpecificContentSettings> content_settings_; |
| 313 | 302 |
| 314 scoped_ptr<ThumbnailGenerator> thumbnail_generator_; | 303 scoped_ptr<ThumbnailGenerator> thumbnail_generator_; |
| 315 scoped_ptr<TranslateTabHelper> translate_tab_helper_; | 304 scoped_ptr<TranslateTabHelper> translate_tab_helper_; |
| 316 | 305 |
| 317 // Handles displaying a web intents picker to the user. | 306 // Handles displaying a web intents picker to the user. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 338 | 327 |
| 339 // The supporting objects need to outlive the WebContents dtor (as they may | 328 // The supporting objects need to outlive the WebContents dtor (as they may |
| 340 // be called upon during its execution). As a result, this must come last | 329 // be called upon during its execution). As a result, this must come last |
| 341 // in the list. | 330 // in the list. |
| 342 scoped_ptr<content::WebContents> web_contents_; | 331 scoped_ptr<content::WebContents> web_contents_; |
| 343 | 332 |
| 344 DISALLOW_COPY_AND_ASSIGN(TabContents); | 333 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 345 }; | 334 }; |
| 346 | 335 |
| 347 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 336 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |