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

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

Issue 10916348: Switch SSLTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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) 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class PasswordManager; 45 class PasswordManager;
46 class PasswordManagerDelegate; 46 class PasswordManagerDelegate;
47 class PepperBrokerObserver; 47 class PepperBrokerObserver;
48 class PluginObserver; 48 class PluginObserver;
49 class PrefsTabHelper; 49 class PrefsTabHelper;
50 class Profile; 50 class Profile;
51 class SadTabHelper; 51 class SadTabHelper;
52 class SearchEngineTabHelper; 52 class SearchEngineTabHelper;
53 class ShellWindow; 53 class ShellWindow;
54 class TabAutofillManagerDelegate; 54 class TabAutofillManagerDelegate;
55 class TabContentsSSLHelper;
56 class TabContentsTestHarness; 55 class TabContentsTestHarness;
57 class TabSpecificContentSettings; 56 class TabSpecificContentSettings;
58 class TabStripModel; 57 class TabStripModel;
59 class TabStripModelContentsCreator; 58 class TabStripModelContentsCreator;
60 class ThumbnailGenerator; 59 class ThumbnailGenerator;
61 class TranslateTabHelper; 60 class TranslateTabHelper;
62 class TranslationInfoBarTestContentsCreator; 61 class TranslationInfoBarTestContentsCreator;
63 class WebDialogGtk; 62 class WebDialogGtk;
64 class WebDialogWindowControllerTabContentsCreator; 63 class WebDialogWindowControllerTabContentsCreator;
65 class WebIntentInlineDispositionBrowserTest; 64 class WebIntentInlineDispositionBrowserTest;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 SadTabHelper* sad_tab_helper() { return sad_tab_helper_.get(); } 259 SadTabHelper* sad_tab_helper() { return sad_tab_helper_.get(); }
261 260
262 SearchEngineTabHelper* search_engine_tab_helper() { 261 SearchEngineTabHelper* search_engine_tab_helper() {
263 return search_engine_tab_helper_.get(); 262 return search_engine_tab_helper_.get();
264 } 263 }
265 264
266 chrome::search::SearchTabHelper* search_tab_helper() { 265 chrome::search::SearchTabHelper* search_tab_helper() {
267 return search_tab_helper_.get(); 266 return search_tab_helper_.get();
268 } 267 }
269 268
270 TabContentsSSLHelper* ssl_helper() { return ssl_helper_.get(); }
271
272 browser_sync::SyncedTabDelegate* synced_tab_delegate() { 269 browser_sync::SyncedTabDelegate* synced_tab_delegate() {
273 return synced_tab_delegate_.get(); 270 return synced_tab_delegate_.get();
274 } 271 }
275 272
276 TabSpecificContentSettings* content_settings() { 273 TabSpecificContentSettings* content_settings() {
277 return content_settings_.get(); 274 return content_settings_.get();
278 } 275 }
279 276
280 // NOTE: This returns NULL unless in-browser thumbnail generation is enabled. 277 // NOTE: This returns NULL unless in-browser thumbnail generation is enabled.
281 ThumbnailGenerator* thumbnail_generator() { 278 ThumbnailGenerator* thumbnail_generator() {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 338
342 scoped_ptr<PrefsTabHelper> prefs_tab_helper_; 339 scoped_ptr<PrefsTabHelper> prefs_tab_helper_;
343 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_; 340 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_;
344 341
345 // Handles print job for this contents. 342 // Handles print job for this contents.
346 scoped_ptr<printing::PrintViewManager> print_view_manager_; 343 scoped_ptr<printing::PrintViewManager> print_view_manager_;
347 344
348 scoped_ptr<SadTabHelper> sad_tab_helper_; 345 scoped_ptr<SadTabHelper> sad_tab_helper_;
349 scoped_ptr<SearchEngineTabHelper> search_engine_tab_helper_; 346 scoped_ptr<SearchEngineTabHelper> search_engine_tab_helper_;
350 scoped_ptr<chrome::search::SearchTabHelper> search_tab_helper_; 347 scoped_ptr<chrome::search::SearchTabHelper> search_tab_helper_;
351 scoped_ptr<TabContentsSSLHelper> ssl_helper_;
352 scoped_ptr<browser_sync::SyncedTabDelegate> synced_tab_delegate_; 348 scoped_ptr<browser_sync::SyncedTabDelegate> synced_tab_delegate_;
353 349
354 // The TabSpecificContentSettings object is used to query the blocked content 350 // The TabSpecificContentSettings object is used to query the blocked content
355 // state by various UI elements. 351 // state by various UI elements.
356 scoped_ptr<TabSpecificContentSettings> content_settings_; 352 scoped_ptr<TabSpecificContentSettings> content_settings_;
357 353
358 scoped_ptr<ThumbnailGenerator> thumbnail_generator_; 354 scoped_ptr<ThumbnailGenerator> thumbnail_generator_;
359 scoped_ptr<TranslateTabHelper> translate_tab_helper_; 355 scoped_ptr<TranslateTabHelper> translate_tab_helper_;
360 356
361 // Handles displaying a web intents picker to the user. 357 // Handles displaying a web intents picker to the user.
(...skipping 25 matching lines...) Expand all
387 383
388 // The supporting objects need to outlive the WebContents dtor (as they may 384 // The supporting objects need to outlive the WebContents dtor (as they may
389 // be called upon during its execution). As a result, this must come last 385 // be called upon during its execution). As a result, this must come last
390 // in the list. 386 // in the list.
391 scoped_ptr<content::WebContents> web_contents_; 387 scoped_ptr<content::WebContents> web_contents_;
392 388
393 DISALLOW_COPY_AND_ASSIGN(TabContents); 389 DISALLOW_COPY_AND_ASSIGN(TabContents);
394 }; 390 };
395 391
396 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ 392 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/ssl_client_certificate_selector.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698