| OLD | NEW | 
|     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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|    90 #include "extensions/browser/view_type_utils.h" |    90 #include "extensions/browser/view_type_utils.h" | 
|    91 #include "extensions/common/extension.h" |    91 #include "extensions/common/extension.h" | 
|    92 #include "grit/generated_resources.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/geometry/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" | 
|   103  |   103  | 
|   104 #if defined(ENABLE_PRINTING) |   104 #if defined(ENABLE_PRINTING) | 
|   105 #include "chrome/common/print_messages.h" |   105 #include "chrome/common/print_messages.h" | 
|   106  |   106  | 
|   107 #if defined(ENABLE_FULL_PRINTING) |   107 #if defined(ENABLE_FULL_PRINTING) | 
|   108 #include "chrome/browser/printing/print_preview_context_menu_observer.h" |   108 #include "chrome/browser/printing/print_preview_context_menu_observer.h" | 
|   109 #include "chrome/browser/printing/print_preview_dialog_controller.h" |   109 #include "chrome/browser/printing/print_preview_dialog_controller.h" | 
|   110 #include "chrome/browser/printing/print_view_manager.h" |   110 #include "chrome/browser/printing/print_view_manager.h" | 
| (...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1995   source_web_contents_->GetRenderViewHost()-> |  1995   source_web_contents_->GetRenderViewHost()-> | 
|  1996       ExecuteMediaPlayerActionAtLocation(location, action); |  1996       ExecuteMediaPlayerActionAtLocation(location, action); | 
|  1997 } |  1997 } | 
|  1998  |  1998  | 
|  1999 void RenderViewContextMenu::PluginActionAt( |  1999 void RenderViewContextMenu::PluginActionAt( | 
|  2000     const gfx::Point& location, |  2000     const gfx::Point& location, | 
|  2001     const WebPluginAction& action) { |  2001     const WebPluginAction& action) { | 
|  2002   source_web_contents_->GetRenderViewHost()-> |  2002   source_web_contents_->GetRenderViewHost()-> | 
|  2003       ExecutePluginActionAtLocation(location, action); |  2003       ExecutePluginActionAtLocation(location, action); | 
|  2004 } |  2004 } | 
| OLD | NEW |