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

Side by Side Diff: chrome/browser/ui/views/try_chrome_dialog_view.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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/views/toolbar/toolbar_view.cc ('k') | chrome/browser/ui/webui/about_ui.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 #include "chrome/browser/ui/views/try_chrome_dialog_view.h" 5 #include "chrome/browser/ui/views/try_chrome_dialog_view.h"
6 6
7 #include <shellapi.h> 7 #include <shellapi.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "chrome/browser/process_singleton.h" 14 #include "chrome/browser/process_singleton.h"
15 #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h" 15 #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
16 #include "chrome/grit/chromium_strings.h" 16 #include "chrome/grit/chromium_strings.h"
17 #include "chrome/grit/generated_resources.h"
18 #include "chrome/grit/theme_resources.h" 17 #include "chrome/grit/theme_resources.h"
19 #include "chrome/install_static/install_util.h" 18 #include "chrome/install_static/install_util.h"
20 #include "chrome/installer/util/user_experiment.h" 19 #include "chrome/installer/util/user_experiment.h"
21 #include "components/strings/grit/components_strings.h" 20 #include "components/strings/grit/components_strings.h"
22 #include "ui/aura/window.h" 21 #include "ui/aura/window.h"
23 #include "ui/aura/window_tree_host.h" 22 #include "ui/aura/window_tree_host.h"
24 #include "ui/base/l10n/l10n_util.h" 23 #include "ui/base/l10n/l10n_util.h"
25 #include "ui/base/resource/resource_bundle.h" 24 #include "ui/base/resource/resource_bundle.h"
26 #include "ui/display/screen.h" 25 #include "ui/display/screen.h"
27 #include "ui/gfx/image/image.h" 26 #include "ui/gfx/image/image.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 result_ = TRY_CHROME_AS_DEFAULT; 370 result_ = TRY_CHROME_AS_DEFAULT;
372 } 371 }
373 372
374 popup_->Close(); 373 popup_->Close();
375 base::MessageLoop::current()->QuitWhenIdle(); 374 base::MessageLoop::current()->QuitWhenIdle();
376 } 375 }
377 376
378 void TryChromeDialogView::LinkClicked(views::Link* source, int event_flags) { 377 void TryChromeDialogView::LinkClicked(views::Link* source, int event_flags) {
379 ::ShellExecuteW(NULL, L"open", kHelpCenterUrl, NULL, NULL, SW_SHOW); 378 ::ShellExecuteW(NULL, L"open", kHelpCenterUrl, NULL, NULL, SW_SHOW);
380 } 379 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_view.cc ('k') | chrome/browser/ui/webui/about_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698