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

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

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 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
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | chrome/browser/ui/browser_finder.h » ('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 22 matching lines...) Expand all
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_tab_restore_service_delegate.h" 35 #include "chrome/browser/ui/browser_tab_restore_service_delegate.h"
36 #include "chrome/browser/ui/browser_tabstrip.h" 36 #include "chrome/browser/ui/browser_tabstrip.h"
37 #include "chrome/browser/ui/browser_window.h" 37 #include "chrome/browser/ui/browser_window.h"
38 #include "chrome/browser/ui/chrome_pages.h" 38 #include "chrome/browser/ui/chrome_pages.h"
39 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" 39 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h"
40 #include "chrome/browser/ui/find_bar/find_bar.h" 40 #include "chrome/browser/ui/find_bar/find_bar.h"
41 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 41 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
42 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 42 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
43 #include "chrome/browser/ui/host_desktop.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"
46 #include "chrome/browser/ui/search/search_tab_helper.h" 47 #include "chrome/browser/ui/search/search_tab_helper.h"
47 #include "chrome/browser/ui/status_bubble.h" 48 #include "chrome/browser/ui/status_bubble.h"
48 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" 49 #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
49 #include "chrome/browser/ui/tab_dialogs.h" 50 #include "chrome/browser/ui/tab_dialogs.h"
50 #include "chrome/browser/ui/tabs/tab_strip_model.h" 51 #include "chrome/browser/ui/tabs/tab_strip_model.h"
51 #include "chrome/browser/upgrade_detector.h" 52 #include "chrome/browser/upgrade_detector.h"
52 #include "chrome/common/chrome_switches.h" 53 #include "chrome/common/chrome_switches.h"
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 browser->host_desktop_type())); 1285 browser->host_desktop_type()));
1285 app_browser->tab_strip_model()->AppendWebContents(contents, true); 1286 app_browser->tab_strip_model()->AppendWebContents(contents, true);
1286 1287
1287 contents->GetMutableRendererPrefs()->can_accept_load_drops = false; 1288 contents->GetMutableRendererPrefs()->can_accept_load_drops = false;
1288 contents->GetRenderViewHost()->SyncRendererPrefs(); 1289 contents->GetRenderViewHost()->SyncRendererPrefs();
1289 app_browser->window()->Show(); 1290 app_browser->window()->Show();
1290 } 1291 }
1291 #endif // defined(ENABLE_EXTENSIONS) 1292 #endif // defined(ENABLE_EXTENSIONS)
1292 1293
1293 } // namespace chrome 1294 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | chrome/browser/ui/browser_finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698