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

Side by Side Diff: chrome/browser/ui/startup/bad_flags_prompt.cc

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix deps Created 3 years, 9 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
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 #include "chrome/browser/ui/startup/bad_flags_prompt.h" 5 #include "chrome/browser/ui/startup/bad_flags_prompt.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.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"
(...skipping 12 matching lines...) Expand all
23 #include "components/invalidation/impl/invalidation_switches.h" 23 #include "components/invalidation/impl/invalidation_switches.h"
24 #include "components/nacl/common/nacl_switches.h" 24 #include "components/nacl/common/nacl_switches.h"
25 #include "components/startup_metric_utils/browser/startup_metric_utils.h" 25 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
26 #include "components/translate/core/common/translate_switches.h" 26 #include "components/translate/core/common/translate_switches.h"
27 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
28 #include "extensions/common/switches.h" 28 #include "extensions/common/switches.h"
29 #include "google_apis/gaia/gaia_switches.h" 29 #include "google_apis/gaia/gaia_switches.h"
30 #include "media/media_features.h" 30 #include "media/media_features.h"
31 #include "ui/base/l10n/l10n_util.h" 31 #include "ui/base/l10n/l10n_util.h"
32 #include "ui/base/resource/resource_bundle.h" 32 #include "ui/base/resource/resource_bundle.h"
33 #include "ui/gfx/vector_icons_public.h"
34 33
35 namespace chrome { 34 namespace chrome {
36 35
37 void ShowBadFlagsPrompt(Browser* browser) { 36 void ShowBadFlagsPrompt(Browser* browser) {
38 content::WebContents* web_contents = 37 content::WebContents* web_contents =
39 browser->tab_strip_model()->GetActiveWebContents(); 38 browser->tab_strip_model()->GetActiveWebContents();
40 if (!web_contents) 39 if (!web_contents)
41 return; 40 return;
42 41
43 // Unsupported flags for which to display a warning that "stability and 42 // Unsupported flags for which to display a warning that "stability and
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 user_data_dir.LossyDisplayName()); 129 user_data_dir.LossyDisplayName());
131 130
132 if (cleanup_resource_bundle) 131 if (cleanup_resource_bundle)
133 ResourceBundle::CleanupSharedInstance(); 132 ResourceBundle::CleanupSharedInstance();
134 133
135 // More complex dialogs cannot be shown before the earliest calls here. 134 // More complex dialogs cannot be shown before the earliest calls here.
136 ShowWarningMessageBox(NULL, title, message); 135 ShowWarningMessageBox(NULL, title, message);
137 } 136 }
138 137
139 } // namespace chrome 138 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/automation_infobar_delegate.h ('k') | chrome/browser/ui/toolbar/media_router_contextual_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698