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

Side by Side Diff: chrome/browser/ui/browser_commands.cc

Issue 1381633002: Cleanup: IWYU for browser_navigator.h and browser_navigator_params.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix merge conflict Created 5 years, 2 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/ui/browser_browsertest.cc ('k') | chrome/browser/ui/browser_focus_uitest.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/ui/browser_commands.h" 5 #include "chrome/browser/ui/browser_commands.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/browser/sessions/tab_restore_service_factory.h" 26 #include "chrome/browser/sessions/tab_restore_service_factory.h"
27 #include "chrome/browser/translate/chrome_translate_client.h" 27 #include "chrome/browser/translate/chrome_translate_client.h"
28 #include "chrome/browser/ui/accelerator_utils.h" 28 #include "chrome/browser/ui/accelerator_utils.h"
29 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" 29 #include "chrome/browser/ui/bookmarks/bookmark_utils.h"
30 #include "chrome/browser/ui/bookmarks/bookmark_utils_desktop.h" 30 #include "chrome/browser/ui/bookmarks/bookmark_utils_desktop.h"
31 #include "chrome/browser/ui/browser.h" 31 #include "chrome/browser/ui/browser.h"
32 #include "chrome/browser/ui/browser_command_controller.h" 32 #include "chrome/browser/ui/browser_command_controller.h"
33 #include "chrome/browser/ui/browser_dialogs.h" 33 #include "chrome/browser/ui/browser_dialogs.h"
34 #include "chrome/browser/ui/browser_instant_controller.h" 34 #include "chrome/browser/ui/browser_instant_controller.h"
35 #include "chrome/browser/ui/browser_live_tab_context.h" 35 #include "chrome/browser/ui/browser_live_tab_context.h"
36 #include "chrome/browser/ui/browser_navigator_params.h"
36 #include "chrome/browser/ui/browser_tabstrip.h" 37 #include "chrome/browser/ui/browser_tabstrip.h"
37 #include "chrome/browser/ui/browser_window.h" 38 #include "chrome/browser/ui/browser_window.h"
38 #include "chrome/browser/ui/chrome_pages.h" 39 #include "chrome/browser/ui/chrome_pages.h"
39 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" 40 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h"
40 #include "chrome/browser/ui/find_bar/find_bar.h" 41 #include "chrome/browser/ui/find_bar/find_bar.h"
41 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 42 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
42 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 43 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
43 #include "chrome/browser/ui/location_bar/location_bar.h" 44 #include "chrome/browser/ui/location_bar/location_bar.h"
44 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" 45 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h"
45 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" 46 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 browser->host_desktop_type())); 1308 browser->host_desktop_type()));
1308 app_browser->tab_strip_model()->AppendWebContents(contents, true); 1309 app_browser->tab_strip_model()->AppendWebContents(contents, true);
1309 1310
1310 contents->GetMutableRendererPrefs()->can_accept_load_drops = false; 1311 contents->GetMutableRendererPrefs()->can_accept_load_drops = false;
1311 contents->GetRenderViewHost()->SyncRendererPrefs(); 1312 contents->GetRenderViewHost()->SyncRendererPrefs();
1312 app_browser->window()->Show(); 1313 app_browser->window()->Show();
1313 } 1314 }
1314 #endif // defined(ENABLE_EXTENSIONS) 1315 #endif // defined(ENABLE_EXTENSIONS)
1315 1316
1316 } // namespace chrome 1317 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/browser_focus_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698