| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |    5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 
|    6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |    6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 
|    7  |    7  | 
|    8 #include <map> |    8 #include <map> | 
|    9 #include <string> |    9 #include <string> | 
|   10 #include <vector> |   10 #include <vector> | 
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  230   // Opens the specified URL string in a new tab.  The |frame_id| specifies the |  230   // Opens the specified URL string in a new tab.  The |frame_id| specifies the | 
|  231   // frame in which the context menu was displayed, or 0 if the menu action is |  231   // frame in which the context menu was displayed, or 0 if the menu action is | 
|  232   // independent of that frame (e.g. protocol handler settings). |  232   // independent of that frame (e.g. protocol handler settings). | 
|  233   void OpenURL(const GURL& url, const GURL& referrer, int64 frame_id, |  233   void OpenURL(const GURL& url, const GURL& referrer, int64 frame_id, | 
|  234                WindowOpenDisposition disposition, |  234                WindowOpenDisposition disposition, | 
|  235                content::PageTransition transition); |  235                content::PageTransition transition); | 
|  236  |  236  | 
|  237   // Copy to the clipboard an image located at a point in the RenderView |  237   // Copy to the clipboard an image located at a point in the RenderView | 
|  238   void CopyImageAt(int x, int y); |  238   void CopyImageAt(int x, int y); | 
|  239  |  239  | 
 |  240   // Get an image located at a point in the RenderView for search. | 
 |  241   void GetImageThumbnailForSearch(); | 
 |  242  | 
|  240   // Launch the inspector targeting a point in the RenderView |  243   // Launch the inspector targeting a point in the RenderView | 
|  241   void Inspect(int x, int y); |  244   void Inspect(int x, int y); | 
|  242  |  245  | 
|  243   // Writes the specified text/url to the system clipboard |  246   // Writes the specified text/url to the system clipboard | 
|  244   void WriteURLToClipboard(const GURL& url); |  247   void WriteURLToClipboard(const GURL& url); | 
|  245  |  248  | 
|  246   void MediaPlayerActionAt(const gfx::Point& location, |  249   void MediaPlayerActionAt(const gfx::Point& location, | 
|  247                            const WebKit::WebMediaPlayerAction& action); |  250                            const WebKit::WebMediaPlayerAction& action); | 
|  248   void PluginActionAt(const gfx::Point& location, |  251   void PluginActionAt(const gfx::Point& location, | 
|  249                       const WebKit::WebPluginAction& action); |  252                       const WebKit::WebPluginAction& action); | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  287   // Guests are rendered inside chrome apps, but have most of the actions |  290   // Guests are rendered inside chrome apps, but have most of the actions | 
|  288   // that a regular web page has. |  291   // that a regular web page has. | 
|  289   // Currently actions/items that are suppressed from guests are: searching, |  292   // Currently actions/items that are suppressed from guests are: searching, | 
|  290   // printing, speech and instant. |  293   // printing, speech and instant. | 
|  291   bool is_guest_; |  294   bool is_guest_; | 
|  292  |  295  | 
|  293   DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |  296   DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 
|  294 }; |  297 }; | 
|  295  |  298  | 
|  296 #endif  // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |  299 #endif  // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 
| OLD | NEW |