summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_view_context_menu_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/render_view_context_menu_controller.h')
-rw-r--r--chrome/browser/render_view_context_menu_controller.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/render_view_context_menu_controller.h b/chrome/browser/render_view_context_menu_controller.h
index dbca5eb..59f44c0 100644
--- a/chrome/browser/render_view_context_menu_controller.h
+++ b/chrome/browser/render_view_context_menu_controller.h
@@ -23,19 +23,12 @@ class RenderViewContextMenuController : public Menu::Delegate {
virtual bool GetAcceleratorInfo(int id, ChromeViews::Accelerator* accel);
private:
- // Opens the specified URL string with a disposition specified by parameter
- // |disposition|.
+ // Opens the specified URL string in a new tab. If |in_current_window| is
+ // false, a new window is created to hold the new tab.
void OpenURL(const GURL& url,
WindowOpenDisposition disposition,
PageTransition::Type transition);
- // Opens the specified URL string with a disposition specified by parameter
- // |disposition| and forces the new page on using |override_encoding|.
- void OpenURLWithOverrideEncoding(const GURL& url,
- WindowOpenDisposition disposition,
- PageTransition::Type transition,
- const std::string& override_encoding);
-
// Copy to the clipboard an image located at a point in the RenderView
void CopyImageAt(int x, int y);