Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "chrome/app/chrome_command_ids.h" | 11 #include "chrome/app/chrome_command_ids.h" |
| 12 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 12 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 13 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
| 14 #include "chrome/browser/browser_shutdown.h" | |
|
hashimoto
2017/04/28 09:16:29
nit: Looks unneeded.
Alexey Seren
2017/05/03 17:19:44
Acknowledged.
| |
| 14 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 15 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
| 15 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 16 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 16 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" | 17 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" |
| 17 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h" | 18 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h" |
| 18 #include "chrome/browser/chrome_notification_types.h" | 19 #include "chrome/browser/chrome_notification_types.h" |
| 19 #include "chrome/browser/devtools/devtools_window.h" | 20 #include "chrome/browser/devtools/devtools_window.h" |
| 20 #include "chrome/browser/dom_distiller/tab_utils.h" | 21 #include "chrome/browser/dom_distiller/tab_utils.h" |
| 21 #include "chrome/browser/lifetime/application_lifetime.h" | 22 #include "chrome/browser/lifetime/application_lifetime.h" |
| 22 #include "chrome/browser/media/router/media_router_feature.h" | 23 #include "chrome/browser/media/router/media_router_feature.h" |
| 23 #include "chrome/browser/platform_util.h" | 24 #include "chrome/browser/platform_util.h" |
| (...skipping 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1334 true)); | 1335 true)); |
| 1335 app_browser->tab_strip_model()->AppendWebContents(contents, true); | 1336 app_browser->tab_strip_model()->AppendWebContents(contents, true); |
| 1336 | 1337 |
| 1337 contents->GetMutableRendererPrefs()->can_accept_load_drops = false; | 1338 contents->GetMutableRendererPrefs()->can_accept_load_drops = false; |
| 1338 contents->GetRenderViewHost()->SyncRendererPrefs(); | 1339 contents->GetRenderViewHost()->SyncRendererPrefs(); |
| 1339 app_browser->window()->Show(); | 1340 app_browser->window()->Show(); |
| 1340 } | 1341 } |
| 1341 #endif // BUILDFLAG(ENABLE_EXTENSIONS) | 1342 #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
| 1342 | 1343 |
| 1343 } // namespace chrome | 1344 } // namespace chrome |
| OLD | NEW |