Index: chrome/browser/ui/views/frame/browser_view.h |
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h |
index 7d40bfc8cb25ba374e309dd08bbb174d7ce9d111..f92384501a670d22f407e92be56289475a8dee37 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.h |
+++ b/chrome/browser/ui/views/frame/browser_view.h |
@@ -344,9 +344,7 @@ class BrowserView : public BrowserWindow, |
bool* is_keyboard_shortcut) override; |
void HandleKeyboardEvent( |
const content::NativeWebKeyboardEvent& event) override; |
- void Cut() override; |
- void Copy() override; |
- void Paste() override; |
+ void CutCopyPaste(int command_id) override; |
WindowOpenDisposition GetDispositionForPopupBounds( |
const gfx::Rect& bounds) override; |
FindBar* CreateFindBar() override; |
@@ -552,12 +550,6 @@ class BrowserView : public BrowserWindow, |
void UpdateAcceleratorMetrics(const ui::Accelerator& accelerator, |
int command_id); |
- // Calls |method| which is either WebContents::Cut, ::Copy, or ::Paste, |
- // first trying the content WebContents, then the devtools WebContents, and |
- // lastly the Views::Textfield if one is focused. |
- void DoCutCopyPaste(void (content::WebContents::*method)(), |
- int command_id); |
- |
// Calls |method| which is either WebContents::Cut, ::Copy, or ::Paste on |
// the given WebContents, returning true if it consumed the event. |
bool DoCutCopyPasteForWebContents( |