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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.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_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 25 matching lines...) Expand all
36 class FindTabHelper; 36 class FindTabHelper;
37 class InfoBarTabHelper; 37 class InfoBarTabHelper;
38 class HistoryTabHelper; 38 class HistoryTabHelper;
39 class NavigationController; 39 class NavigationController;
40 class OmniboxSearchHint; 40 class OmniboxSearchHint;
41 class PasswordManager; 41 class PasswordManager;
42 class PasswordManagerDelegate; 42 class PasswordManagerDelegate;
43 class PluginObserver; 43 class PluginObserver;
44 class Profile; 44 class Profile;
45 class RestoreTabHelper; 45 class RestoreTabHelper;
46 class SadTabObserver;
46 class SearchEngineTabHelper; 47 class SearchEngineTabHelper;
47 class TabContentsSSLHelper; 48 class TabContentsSSLHelper;
48 class TabContentsWrapperDelegate; 49 class TabContentsWrapperDelegate;
49 class TabContentsWrapperSyncedTabDelegate; 50 class TabContentsWrapperSyncedTabDelegate;
50 class TabSpecificContentSettings; 51 class TabSpecificContentSettings;
51 class ThumbnailGenerator; 52 class ThumbnailGenerator;
52 class TranslateTabHelper; 53 class TranslateTabHelper;
53 class WebIntentPickerController; 54 class WebIntentPickerController;
54 55
55 namespace browser_sync { 56 namespace browser_sync {
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 318
318 // Per-tab observers --------------------------------------------------------- 319 // Per-tab observers ---------------------------------------------------------
319 // (These provide no API for callers; objects that need to exist 1:1 with tabs 320 // (These provide no API for callers; objects that need to exist 1:1 with tabs
320 // and silently do their thing live here.) 321 // and silently do their thing live here.)
321 322
322 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_; 323 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_;
323 scoped_ptr<ExtensionWebNavigationTabObserver> webnavigation_observer_; 324 scoped_ptr<ExtensionWebNavigationTabObserver> webnavigation_observer_;
324 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; 325 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_;
325 scoped_ptr<PluginObserver> plugin_observer_; 326 scoped_ptr<PluginObserver> plugin_observer_;
326 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; 327 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_;
328 scoped_ptr<SadTabObserver> sad_tab_observer_;
327 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; 329 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_;
328 330
329 // TabContents (MUST BE LAST) ------------------------------------------------ 331 // TabContents (MUST BE LAST) ------------------------------------------------
330 332
331 // If true, we're running the destructor. 333 // If true, we're running the destructor.
332 bool in_destructor_; 334 bool in_destructor_;
333 335
334 // The supporting objects need to outlive the TabContents dtor (as they may 336 // The supporting objects need to outlive the TabContents dtor (as they may
335 // be called upon during its execution). As a result, this must come last 337 // be called upon during its execution). As a result, this must come last
336 // in the list. 338 // in the list.
337 scoped_ptr<TabContents> tab_contents_; 339 scoped_ptr<TabContents> tab_contents_;
338 340
339 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 341 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
340 }; 342 };
341 343
342 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 344 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sad_tab_observer.cc ('k') | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698