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

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

Issue 2815823003: Notify OverscrollController of gesture events in plugins. (Closed)
Patch Set: Address comments. 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void SetActive(bool active) override; 157 void SetActive(bool active) override;
158 void ShowDefinitionForSelection() override; 158 void ShowDefinitionForSelection() override;
159 bool SupportsSpeech() const override; 159 bool SupportsSpeech() const override;
160 void SpeakSelection() override; 160 void SpeakSelection() override;
161 bool IsSpeaking() const override; 161 bool IsSpeaking() const override;
162 void StopSpeaking() override; 162 void StopSpeaking() override;
163 #endif // defined(OS_MACOSX) 163 #endif // defined(OS_MACOSX)
164 164
165 InputEventAckState FilterInputEvent( 165 InputEventAckState FilterInputEvent(
166 const blink::WebInputEvent& input_event) override; 166 const blink::WebInputEvent& input_event) override;
167 InputEventAckState FilterChildGestureEvent(
168 const blink::WebGestureEvent& gesture_event) override;
167 void OnSetNeedsFlushInput() override; 169 void OnSetNeedsFlushInput() override;
168 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 170 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
169 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 171 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
170 172
171 // cc::CompositorFrameSinkSupportClient implementation. 173 // cc::CompositorFrameSinkSupportClient implementation.
172 void DidReceiveCompositorFrameAck( 174 void DidReceiveCompositorFrameAck(
173 const cc::ReturnedResourceArray& resources) override; 175 const cc::ReturnedResourceArray& resources) override;
174 void OnBeginFrame(const cc::BeginFrameArgs& args) override; 176 void OnBeginFrame(const cc::BeginFrameArgs& args) override;
175 void ReclaimResources(const cc::ReturnedResourceArray& resources) override; 177 void ReclaimResources(const cc::ReturnedResourceArray& resources) override;
176 void WillDrawSurface(const cc::LocalSurfaceId& id, 178 void WillDrawSurface(const cc::LocalSurfaceId& id,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 std::unique_ptr<TouchSelectionControllerClientChildFrame> 286 std::unique_ptr<TouchSelectionControllerClientChildFrame>
285 selection_controller_client_; 287 selection_controller_client_;
286 288
287 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 289 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
288 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 290 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
289 }; 291 };
290 292
291 } // namespace content 293 } // namespace content
292 294
293 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 295 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698