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

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

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
Patch Set: rebase Created 6 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
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/create_application_shortcut_view.h" 5 #include "chrome/browser/ui/views/create_application_shortcut_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/web_applications/web_app.h" 22 #include "chrome/browser/web_applications/web_app.h"
23 #include "chrome/common/chrome_constants.h" 23 #include "chrome/common/chrome_constants.h"
24 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
25 #include "chrome/grit/generated_resources.h" 25 #include "chrome/grit/generated_resources.h"
26 #include "chrome/grit/locale_settings.h" 26 #include "chrome/grit/locale_settings.h"
27 #include "components/favicon_base/select_favicon_frames.h" 27 #include "components/favicon_base/select_favicon_frames.h"
28 #include "content/public/browser/render_view_host.h" 28 #include "content/public/browser/render_view_host.h"
29 #include "content/public/browser/render_widget_host_view.h" 29 #include "content/public/browser/render_widget_host_view.h"
30 #include "content/public/browser/web_contents.h" 30 #include "content/public/browser/web_contents.h"
31 #include "extensions/common/extension.h" 31 #include "extensions/common/extension.h"
32 #include "grit/theme_resources.h"
33 #include "net/base/load_flags.h" 32 #include "net/base/load_flags.h"
34 #include "net/url_request/url_request.h" 33 #include "net/url_request/url_request.h"
35 #include "skia/ext/image_operations.h" 34 #include "skia/ext/image_operations.h"
36 #include "third_party/skia/include/core/SkBitmap.h" 35 #include "third_party/skia/include/core/SkBitmap.h"
37 #include "third_party/skia/include/core/SkPaint.h" 36 #include "third_party/skia/include/core/SkPaint.h"
38 #include "third_party/skia/include/core/SkRect.h" 37 #include "third_party/skia/include/core/SkRect.h"
39 #include "ui/base/l10n/l10n_util.h" 38 #include "ui/base/l10n/l10n_util.h"
40 #include "ui/base/layout.h" 39 #include "ui/base/layout.h"
41 #include "ui/base/resource/resource_bundle.h" 40 #include "ui/base/resource/resource_bundle.h"
42 #include "ui/gfx/canvas.h" 41 #include "ui/gfx/canvas.h"
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 close_callback_.Run(false); 539 close_callback_.Run(false);
541 return CreateApplicationShortcutView::Cancel(); 540 return CreateApplicationShortcutView::Cancel();
542 } 541 }
543 542
544 void CreateChromeApplicationShortcutView::OnAppInfoLoaded( 543 void CreateChromeApplicationShortcutView::OnAppInfoLoaded(
545 const web_app::ShortcutInfo& shortcut_info, 544 const web_app::ShortcutInfo& shortcut_info,
546 const extensions::FileHandlersInfo& file_handlers_info) { 545 const extensions::FileHandlersInfo& file_handlers_info) {
547 shortcut_info_ = shortcut_info; 546 shortcut_info_ = shortcut_info;
548 file_handlers_info_ = file_handlers_info; 547 file_handlers_info_ = file_handlers_info;
549 } 548 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698