Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 2935563002: input: Remove dead code. (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "content/browser/frame_host/render_widget_host_view_child_frame.h" 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 // We may be the owner of a RenderWidgetHostViewGuest, 751 // We may be the owner of a RenderWidgetHostViewGuest,
752 // so we talk to the root RWHV on its behalf. 752 // so we talk to the root RWHV on its behalf.
753 // TODO(mcnee): Remove once MimeHandlerViewGuest is based on OOPIF. 753 // TODO(mcnee): Remove once MimeHandlerViewGuest is based on OOPIF.
754 // See crbug.com/659750 754 // See crbug.com/659750
755 if (frame_connector_) 755 if (frame_connector_)
756 return frame_connector_->GetRootRenderWidgetHostView() 756 return frame_connector_->GetRootRenderWidgetHostView()
757 ->FilterChildGestureEvent(gesture_event); 757 ->FilterChildGestureEvent(gesture_event);
758 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; 758 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
759 } 759 }
760 760
761 void RenderWidgetHostViewChildFrame::OnSetNeedsFlushInput() {
762 NOTIMPLEMENTED();
763 }
764
765 BrowserAccessibilityManager* 761 BrowserAccessibilityManager*
766 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( 762 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager(
767 BrowserAccessibilityDelegate* delegate, bool for_root_frame) { 763 BrowserAccessibilityDelegate* delegate, bool for_root_frame) {
768 return BrowserAccessibilityManager::Create( 764 return BrowserAccessibilityManager::Create(
769 BrowserAccessibilityManager::GetEmptyDocument(), delegate); 765 BrowserAccessibilityManager::GetEmptyDocument(), delegate);
770 } 766 }
771 767
772 void RenderWidgetHostViewChildFrame::ClearCompositorSurfaceIfNecessary() { 768 void RenderWidgetHostViewChildFrame::ClearCompositorSurfaceIfNecessary() {
773 if (!support_) 769 if (!support_)
774 return; 770 return;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 auto origin = GetViewBounds().origin() - 840 auto origin = GetViewBounds().origin() -
845 frame_connector_->GetRootRenderWidgetHostView() 841 frame_connector_->GetRootRenderWidgetHostView()
846 ->GetViewBounds() 842 ->GetViewBounds()
847 .origin(); 843 .origin();
848 return gfx::Point(origin.x(), origin.y()); 844 return gfx::Point(origin.x(), origin.y());
849 } 845 }
850 return gfx::Point(); 846 return gfx::Point();
851 } 847 }
852 848
853 } // namespace content 849 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698