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

Side by Side Diff: chrome/renderer/plugins/non_loadable_plugin_placeholder.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/renderer/plugins/non_loadable_plugin_placeholder.h" 5 #include "chrome/renderer/plugins/non_loadable_plugin_placeholder.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/common/render_messages.h" 9 #include "chrome/common/render_messages.h"
10 #include "chrome/grit/generated_resources.h"
11 #include "chrome/grit/renderer_resources.h" 10 #include "chrome/grit/renderer_resources.h"
12 #include "components/plugins/renderer/plugin_placeholder.h" 11 #include "components/plugins/renderer/plugin_placeholder.h"
13 #include "components/strings/grit/components_strings.h" 12 #include "components/strings/grit/components_strings.h"
14 #include "content/app/strings/grit/content_strings.h" 13 #include "content/app/strings/grit/content_strings.h"
15 #include "content/public/renderer/render_thread.h" 14 #include "content/public/renderer/render_thread.h"
16 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
18 #include "ui/base/webui/jstemplate_builder.h" 17 #include "ui/base/webui/jstemplate_builder.h"
19 18
20 // static 19 // static
(...skipping 30 matching lines...) Expand all
51 50
52 blink::WebPluginParams params; 51 blink::WebPluginParams params;
53 // PluginPlaceholder will destroy itself when its WebViewPlugin is going away. 52 // PluginPlaceholder will destroy itself when its WebViewPlugin is going away.
54 plugins::PluginPlaceholder* plugin = 53 plugins::PluginPlaceholder* plugin =
55 new plugins::PluginPlaceholder(render_frame, params, html_data); 54 new plugins::PluginPlaceholder(render_frame, params, html_data);
56 55
57 content::RenderThread::Get()->Send(new ChromeViewHostMsg_CouldNotLoadPlugin( 56 content::RenderThread::Get()->Send(new ChromeViewHostMsg_CouldNotLoadPlugin(
58 plugin->routing_id(), file_path)); 57 plugin->routing_id(), file_path));
59 return plugin; 58 return plugin;
60 } 59 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | tools/resources/list_unused_grit_header.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698