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

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/renderer_context_menu/render_view_context_menu.h" 5 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" 53 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h"
54 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" 54 #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
55 #include "chrome/common/chrome_constants.h" 55 #include "chrome/common/chrome_constants.h"
56 #include "chrome/common/chrome_switches.h" 56 #include "chrome/common/chrome_switches.h"
57 #include "chrome/common/content_restriction.h" 57 #include "chrome/common/content_restriction.h"
58 #include "chrome/common/net/url_util.h" 58 #include "chrome/common/net/url_util.h"
59 #include "chrome/common/pref_names.h" 59 #include "chrome/common/pref_names.h"
60 #include "chrome/common/render_messages.h" 60 #include "chrome/common/render_messages.h"
61 #include "chrome/common/spellcheck_messages.h" 61 #include "chrome/common/spellcheck_messages.h"
62 #include "chrome/common/url_constants.h" 62 #include "chrome/common/url_constants.h"
63 #include "chrome/grit/generated_resources.h"
63 #include "components/google/core/browser/google_util.h" 64 #include "components/google/core/browser/google_util.h"
64 #include "components/metrics/proto/omnibox_input_type.pb.h" 65 #include "components/metrics/proto/omnibox_input_type.pb.h"
65 #include "components/omnibox/autocomplete_match.h" 66 #include "components/omnibox/autocomplete_match.h"
66 #include "components/search_engines/template_url.h" 67 #include "components/search_engines/template_url.h"
67 #include "components/search_engines/template_url_service.h" 68 #include "components/search_engines/template_url_service.h"
68 #include "components/translate/core/browser/translate_download_manager.h" 69 #include "components/translate/core/browser/translate_download_manager.h"
69 #include "components/translate/core/browser/translate_manager.h" 70 #include "components/translate/core/browser/translate_manager.h"
70 #include "components/translate/core/browser/translate_prefs.h" 71 #include "components/translate/core/browser/translate_prefs.h"
71 #include "components/user_prefs/user_prefs.h" 72 #include "components/user_prefs/user_prefs.h"
72 #include "content/public/browser/child_process_security_policy.h" 73 #include "content/public/browser/child_process_security_policy.h"
73 #include "content/public/browser/download_manager.h" 74 #include "content/public/browser/download_manager.h"
74 #include "content/public/browser/download_save_info.h" 75 #include "content/public/browser/download_save_info.h"
75 #include "content/public/browser/download_url_parameters.h" 76 #include "content/public/browser/download_url_parameters.h"
76 #include "content/public/browser/navigation_details.h" 77 #include "content/public/browser/navigation_details.h"
77 #include "content/public/browser/navigation_entry.h" 78 #include "content/public/browser/navigation_entry.h"
78 #include "content/public/browser/notification_service.h" 79 #include "content/public/browser/notification_service.h"
79 #include "content/public/browser/render_frame_host.h" 80 #include "content/public/browser/render_frame_host.h"
80 #include "content/public/browser/render_process_host.h" 81 #include "content/public/browser/render_process_host.h"
81 #include "content/public/browser/render_view_host.h" 82 #include "content/public/browser/render_view_host.h"
82 #include "content/public/browser/render_widget_host_view.h" 83 #include "content/public/browser/render_widget_host_view.h"
83 #include "content/public/browser/user_metrics.h" 84 #include "content/public/browser/user_metrics.h"
84 #include "content/public/browser/web_contents.h" 85 #include "content/public/browser/web_contents.h"
85 #include "content/public/common/menu_item.h" 86 #include "content/public/common/menu_item.h"
86 #include "content/public/common/ssl_status.h" 87 #include "content/public/common/ssl_status.h"
87 #include "content/public/common/url_utils.h" 88 #include "content/public/common/url_utils.h"
88 #include "extensions/browser/extension_host.h" 89 #include "extensions/browser/extension_host.h"
89 #include "extensions/browser/extension_system.h" 90 #include "extensions/browser/extension_system.h"
90 #include "extensions/browser/view_type_utils.h" 91 #include "extensions/browser/view_type_utils.h"
91 #include "extensions/common/extension.h" 92 #include "extensions/common/extension.h"
92 #include "grit/generated_resources.h"
93 #include "net/base/escape.h" 93 #include "net/base/escape.h"
94 #include "third_party/WebKit/public/web/WebContextMenuData.h" 94 #include "third_party/WebKit/public/web/WebContextMenuData.h"
95 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" 95 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h"
96 #include "third_party/WebKit/public/web/WebPluginAction.h" 96 #include "third_party/WebKit/public/web/WebPluginAction.h"
97 #include "ui/base/clipboard/clipboard.h" 97 #include "ui/base/clipboard/clipboard.h"
98 #include "ui/base/l10n/l10n_util.h" 98 #include "ui/base/l10n/l10n_util.h"
99 #include "ui/gfx/favicon_size.h" 99 #include "ui/gfx/favicon_size.h"
100 #include "ui/gfx/point.h" 100 #include "ui/gfx/point.h"
101 #include "ui/gfx/size.h" 101 #include "ui/gfx/size.h"
102 #include "ui/gfx/text_elider.h" 102 #include "ui/gfx/text_elider.h"
(...skipping 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1786 source_web_contents_->GetRenderViewHost()-> 1786 source_web_contents_->GetRenderViewHost()->
1787 ExecuteMediaPlayerActionAtLocation(location, action); 1787 ExecuteMediaPlayerActionAtLocation(location, action);
1788 } 1788 }
1789 1789
1790 void RenderViewContextMenu::PluginActionAt( 1790 void RenderViewContextMenu::PluginActionAt(
1791 const gfx::Point& location, 1791 const gfx::Point& location,
1792 const WebPluginAction& action) { 1792 const WebPluginAction& action) {
1793 source_web_contents_->GetRenderViewHost()-> 1793 source_web_contents_->GetRenderViewHost()->
1794 ExecutePluginActionAtLocation(location, action); 1794 ExecutePluginActionAtLocation(location, action);
1795 } 1795 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698