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

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

Issue 811563008: Moving files from //chrome to //components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix deps, owners, readme Created 5 years, 11 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 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/geometry/point.h" 100 #include "ui/gfx/geometry/point.h"
101 #include "ui/gfx/geometry/size.h" 101 #include "ui/gfx/geometry/size.h"
102 #include "ui/gfx/text_elider.h" 102 #include "ui/gfx/text_elider.h"
103 103
104 #if defined(ENABLE_PRINTING) 104 #if defined(ENABLE_PRINTING)
105 #include "chrome/browser/printing/print_view_manager_common.h" 105 #include "chrome/browser/printing/print_view_manager_common.h"
106 #include "chrome/common/print_messages.h" 106 #include "components/printing/common/print_messages.h"
107 107
108 #if defined(ENABLE_PRINT_PREVIEW) 108 #if defined(ENABLE_PRINT_PREVIEW)
109 #include "chrome/browser/printing/print_preview_context_menu_observer.h" 109 #include "chrome/browser/printing/print_preview_context_menu_observer.h"
110 #include "chrome/browser/printing/print_preview_dialog_controller.h" 110 #include "chrome/browser/printing/print_preview_dialog_controller.h"
111 #endif // defined(ENABLE_PRINT_PREVIEW) 111 #endif // defined(ENABLE_PRINT_PREVIEW)
112 #endif // defined(ENABLE_PRINTING) 112 #endif // defined(ENABLE_PRINTING)
113 113
114 using base::UserMetricsAction; 114 using base::UserMetricsAction;
115 using blink::WebContextMenuData; 115 using blink::WebContextMenuData;
116 using blink::WebMediaPlayerAction; 116 using blink::WebMediaPlayerAction;
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1783 source_web_contents_->GetRenderViewHost()-> 1783 source_web_contents_->GetRenderViewHost()->
1784 ExecuteMediaPlayerActionAtLocation(location, action); 1784 ExecuteMediaPlayerActionAtLocation(location, action);
1785 } 1785 }
1786 1786
1787 void RenderViewContextMenu::PluginActionAt( 1787 void RenderViewContextMenu::PluginActionAt(
1788 const gfx::Point& location, 1788 const gfx::Point& location,
1789 const WebPluginAction& action) { 1789 const WebPluginAction& action) {
1790 source_web_contents_->GetRenderViewHost()-> 1790 source_web_contents_->GetRenderViewHost()->
1791 ExecutePluginActionAtLocation(location, action); 1791 ExecutePluginActionAtLocation(location, action);
1792 } 1792 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/printing_message_filter.cc ('k') | chrome/browser/resources/print_preview/print_preview_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698