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

Side by Side Diff: chrome/renderer/plugins/chrome_plugin_placeholder.cc

Issue 450053003: Use a qualified path for grit includes in various chrome/ directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove webkit strings that no longer exist Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/plugins/DEPS ('k') | chrome/renderer/printing/print_web_view_helper.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/chrome_plugin_placeholder.h" 5 #include "chrome/renderer/plugins/chrome_plugin_placeholder.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/common/prerender_messages.h" 9 #include "chrome/common/prerender_messages.h"
10 #include "chrome/common/render_messages.h" 10 #include "chrome/common/render_messages.h"
11 #include "chrome/grit/generated_resources.h"
12 #include "chrome/grit/renderer_resources.h"
11 #include "chrome/renderer/chrome_content_renderer_client.h" 13 #include "chrome/renderer/chrome_content_renderer_client.h"
12 #include "chrome/renderer/custom_menu_commands.h" 14 #include "chrome/renderer/custom_menu_commands.h"
13 #include "chrome/renderer/plugins/plugin_uma.h" 15 #include "chrome/renderer/plugins/plugin_uma.h"
14 #include "content/app/strings/grit/content_strings.h" 16 #include "content/app/strings/grit/content_strings.h"
15 #include "content/public/common/context_menu_params.h" 17 #include "content/public/common/context_menu_params.h"
16 #include "content/public/renderer/render_frame.h" 18 #include "content/public/renderer/render_frame.h"
17 #include "content/public/renderer/render_thread.h" 19 #include "content/public/renderer/render_thread.h"
18 #include "gin/handle.h" 20 #include "gin/handle.h"
19 #include "gin/object_template_builder.h" 21 #include "gin/object_template_builder.h"
20 #include "grit/generated_resources.h"
21 #include "grit/renderer_resources.h"
22 #include "third_party/WebKit/public/web/WebDocument.h" 22 #include "third_party/WebKit/public/web/WebDocument.h"
23 #include "third_party/WebKit/public/web/WebInputEvent.h" 23 #include "third_party/WebKit/public/web/WebInputEvent.h"
24 #include "third_party/WebKit/public/web/WebKit.h" 24 #include "third_party/WebKit/public/web/WebKit.h"
25 #include "third_party/WebKit/public/web/WebLocalFrame.h" 25 #include "third_party/WebKit/public/web/WebLocalFrame.h"
26 #include "third_party/WebKit/public/web/WebScriptSource.h" 26 #include "third_party/WebKit/public/web/WebScriptSource.h"
27 #include "ui/base/l10n/l10n_util.h" 27 #include "ui/base/l10n/l10n_util.h"
28 #include "ui/base/resource/resource_bundle.h" 28 #include "ui/base/resource/resource_bundle.h"
29 #include "ui/base/webui/jstemplate_builder.h" 29 #include "ui/base/webui/jstemplate_builder.h"
30 30
31 using base::UserMetricsAction; 31 using base::UserMetricsAction;
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 v8::Handle<v8::Object> global = context->Global(); 365 v8::Handle<v8::Object> global = context->Global();
366 global->Set(gin::StringToV8(isolate, "plugin"), 366 global->Set(gin::StringToV8(isolate, "plugin"),
367 gin::CreateHandle(isolate, this).ToV8()); 367 gin::CreateHandle(isolate, this).ToV8());
368 } 368 }
369 369
370 gin::ObjectTemplateBuilder ChromePluginPlaceholder::GetObjectTemplateBuilder( 370 gin::ObjectTemplateBuilder ChromePluginPlaceholder::GetObjectTemplateBuilder(
371 v8::Isolate* isolate) { 371 v8::Isolate* isolate) {
372 return PluginPlaceholder::GetObjectTemplateBuilder(isolate).SetMethod( 372 return PluginPlaceholder::GetObjectTemplateBuilder(isolate).SetMethod(
373 "openAboutPlugins", &ChromePluginPlaceholder::OpenAboutPluginsCallback); 373 "openAboutPlugins", &ChromePluginPlaceholder::OpenAboutPluginsCallback);
374 } 374 }
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/DEPS ('k') | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698