Index: content/browser/frame_host/interstitial_page_impl.cc |
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc |
index a42a80244688fef8f47d7803d4c8831cd54e9ec8..f622283eb592e47c1179adc289037ae61b9ca36f 100644 |
--- a/content/browser/frame_host/interstitial_page_impl.cc |
+++ b/content/browser/frame_host/interstitial_page_impl.cc |
@@ -459,6 +459,16 @@ void InterstitialPageImpl::Paste() { |
RecordAction(base::UserMetricsAction("Paste")); |
} |
+void InterstitialPageImpl::SelectAll() { |
+ FrameTreeNode* focused_node = frame_tree_.GetFocusedFrame(); |
+ if (!focused_node) |
+ return; |
+ |
+ focused_node->current_frame_host()->Send(new InputMsg_SelectAll( |
+ focused_node->current_frame_host()->GetRoutingID())); |
+ RecordAction(base::UserMetricsAction("SelectAll")); |
+} |
+ |
RenderViewHostDelegateView* InterstitialPageImpl::GetDelegateView() { |
return rvh_delegate_view_.get(); |
} |