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

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

Issue 133273029: Move LanguageState to the translate component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment + rebase Created 6 years, 11 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/translate/translate_ui_delegate.cc ('k') | chrome/browser/ui/browser.cc » ('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) 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 27 matching lines...) Expand all
38 #include "content/public/browser/page_navigator.h" 38 #include "content/public/browser/page_navigator.h"
39 #include "content/public/browser/web_contents_delegate.h" 39 #include "content/public/browser/web_contents_delegate.h"
40 #include "content/public/common/page_transition_types.h" 40 #include "content/public/common/page_transition_types.h"
41 #include "content/public/common/page_zoom.h" 41 #include "content/public/common/page_zoom.h"
42 #include "ui/base/ui_base_types.h" 42 #include "ui/base/ui_base_types.h"
43 #include "ui/base/window_open_disposition.h" 43 #include "ui/base/window_open_disposition.h"
44 #include "ui/gfx/rect.h" 44 #include "ui/gfx/rect.h"
45 #include "ui/shell_dialogs/select_file_dialog.h" 45 #include "ui/shell_dialogs/select_file_dialog.h"
46 46
47 class BrowserContentSettingBubbleModelDelegate; 47 class BrowserContentSettingBubbleModelDelegate;
48 class BrowserContentTranslateDriverObserver;
48 class BrowserInstantController; 49 class BrowserInstantController;
49 class BrowserLanguageStateObserver;
50 class BrowserSyncedWindowDelegate; 50 class BrowserSyncedWindowDelegate;
51 class BrowserToolbarModelDelegate; 51 class BrowserToolbarModelDelegate;
52 class BrowserTabRestoreServiceDelegate; 52 class BrowserTabRestoreServiceDelegate;
53 class BrowserWindow; 53 class BrowserWindow;
54 class FindBarController; 54 class FindBarController;
55 class FullscreenController; 55 class FullscreenController;
56 class PrefService; 56 class PrefService;
57 class Profile; 57 class Profile;
58 class SearchDelegate; 58 class SearchDelegate;
59 class SearchModel; 59 class SearchModel;
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 918
919 // True if the browser window has been shown at least once. 919 // True if the browser window has been shown at least once.
920 bool window_has_shown_; 920 bool window_has_shown_;
921 921
922 // The following factory is used for chrome update coalescing. 922 // The following factory is used for chrome update coalescing.
923 base::WeakPtrFactory<Browser> chrome_updater_factory_; 923 base::WeakPtrFactory<Browser> chrome_updater_factory_;
924 924
925 // The following factory is used to close the frame at a later time. 925 // The following factory is used to close the frame at a later time.
926 base::WeakPtrFactory<Browser> weak_factory_; 926 base::WeakPtrFactory<Browser> weak_factory_;
927 927
928 scoped_ptr<BrowserLanguageStateObserver> language_state_observer_; 928 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_;
929 929
930 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; 930 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_;
931 931
932 DISALLOW_COPY_AND_ASSIGN(Browser); 932 DISALLOW_COPY_AND_ASSIGN(Browser);
933 }; 933 };
934 934
935 #endif // CHROME_BROWSER_UI_BROWSER_H_ 935 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/translate/translate_ui_delegate.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698