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

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

Issue 8865004: Create CoreTabHelper, move remaining core TCW functionality into it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lots of helpers now Created 9 years 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 22 matching lines...) Expand all
33 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate. h" 33 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate. h"
34 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" 34 #include "chrome/browser/ui/bookmarks/bookmark_bar.h"
35 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h" 35 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h"
36 #include "chrome/browser/ui/browser_navigator.h" 36 #include "chrome/browser/ui/browser_navigator.h"
37 #include "chrome/browser/ui/constrained_window_tab_helper_delegate.h" 37 #include "chrome/browser/ui/constrained_window_tab_helper_delegate.h"
38 #include "chrome/browser/ui/dialog_style.h" 38 #include "chrome/browser/ui/dialog_style.h"
39 #include "chrome/browser/ui/fullscreen_controller.h" 39 #include "chrome/browser/ui/fullscreen_controller.h"
40 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" 40 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
41 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" 41 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h"
42 #include "chrome/browser/ui/select_file_dialog.h" 42 #include "chrome/browser/ui/select_file_dialog.h"
43 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h" 43 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h"
44 #include "chrome/browser/ui/toolbar/toolbar_model.h" 44 #include "chrome/browser/ui/toolbar/toolbar_model.h"
45 #include "chrome/common/content_settings.h" 45 #include "chrome/common/content_settings.h"
46 #include "chrome/common/content_settings_types.h" 46 #include "chrome/common/content_settings_types.h"
47 #include "chrome/common/extensions/extension_constants.h" 47 #include "chrome/common/extensions/extension_constants.h"
48 #include "content/browser/tab_contents/page_navigator.h" 48 #include "content/browser/tab_contents/page_navigator.h"
49 #include "content/browser/tab_contents/tab_contents_delegate.h" 49 #include "content/browser/tab_contents/tab_contents_delegate.h"
50 #include "content/public/browser/notification_registrar.h" 50 #include "content/public/browser/notification_registrar.h"
51 #include "content/public/common/page_transition_types.h" 51 #include "content/public/common/page_transition_types.h"
52 #include "content/public/common/page_zoom.h" 52 #include "content/public/common/page_zoom.h"
53 #include "ui/base/ui_base_types.h" 53 #include "ui/base/ui_base_types.h"
(...skipping 15 matching lines...) Expand all
69 class StatusBubble; 69 class StatusBubble;
70 class TabNavigation; 70 class TabNavigation;
71 class TabStripModel; 71 class TabStripModel;
72 struct WebApplicationInfo; 72 struct WebApplicationInfo;
73 namespace gfx { 73 namespace gfx {
74 class Point; 74 class Point;
75 } 75 }
76 76
77 class Browser : public TabHandlerDelegate, 77 class Browser : public TabHandlerDelegate,
78 public TabContentsDelegate, 78 public TabContentsDelegate,
79 public TabContentsWrapperDelegate, 79 public CoreTabHelperDelegate,
80 public SearchEngineTabHelperDelegate, 80 public SearchEngineTabHelperDelegate,
81 public ConstrainedWindowTabHelperDelegate, 81 public ConstrainedWindowTabHelperDelegate,
82 public BlockedContentTabHelperDelegate, 82 public BlockedContentTabHelperDelegate,
83 public BookmarkTabHelperDelegate, 83 public BookmarkTabHelperDelegate,
84 public ExtensionTabHelperDelegate, 84 public ExtensionTabHelperDelegate,
85 public PageNavigator, 85 public PageNavigator,
86 public CommandUpdater::CommandUpdaterDelegate, 86 public CommandUpdater::CommandUpdaterDelegate,
87 public content::NotificationObserver, 87 public content::NotificationObserver,
88 public SelectFileDialog::Listener, 88 public SelectFileDialog::Listener,
89 public TabRestoreServiceObserver, 89 public TabRestoreServiceObserver,
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 const gfx::Rect& selection_rect, 1016 const gfx::Rect& selection_rect,
1017 int active_match_ordinal, 1017 int active_match_ordinal,
1018 bool final_update) OVERRIDE; 1018 bool final_update) OVERRIDE;
1019 1019
1020 virtual void CrashedPlugin(TabContents* tab, 1020 virtual void CrashedPlugin(TabContents* tab,
1021 const FilePath& plugin_path) OVERRIDE; 1021 const FilePath& plugin_path) OVERRIDE;
1022 1022
1023 virtual void RequestToLockMouse(TabContents* tab) OVERRIDE; 1023 virtual void RequestToLockMouse(TabContents* tab) OVERRIDE;
1024 virtual void LostMouseLock() OVERRIDE; 1024 virtual void LostMouseLock() OVERRIDE;
1025 1025
1026 // Overridden from TabContentsWrapperDelegate: 1026 // Overridden from CoreTabHelperDelegate:
1027 // Note that the caller is responsible for deleting |old_tab_contents|. 1027 // Note that the caller is responsible for deleting |old_tab_contents|.
1028 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, 1028 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents,
1029 TabContentsWrapper* new_tab_contents) OVERRIDE; 1029 TabContentsWrapper* new_tab_contents) OVERRIDE;
1030 1030
1031 // Overridden from SearchEngineTabHelperDelegate: 1031 // Overridden from SearchEngineTabHelperDelegate:
1032 virtual void ConfirmSetDefaultSearchProvider(TabContents* tab_contents, 1032 virtual void ConfirmSetDefaultSearchProvider(TabContents* tab_contents,
1033 TemplateURL* template_url, 1033 TemplateURL* template_url,
1034 Profile* profile) OVERRIDE; 1034 Profile* profile) OVERRIDE;
1035 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 1035 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
1036 Profile* profile) OVERRIDE; 1036 Profile* profile) OVERRIDE;
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 1429
1430 scoped_refptr<FullscreenController> fullscreen_controller_; 1430 scoped_refptr<FullscreenController> fullscreen_controller_;
1431 1431
1432 // True if the browser window has been shown at least once. 1432 // True if the browser window has been shown at least once.
1433 bool window_has_shown_; 1433 bool window_has_shown_;
1434 1434
1435 DISALLOW_COPY_AND_ASSIGN(Browser); 1435 DISALLOW_COPY_AND_ASSIGN(Browser);
1436 }; 1436 };
1437 1437
1438 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1438 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698