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

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

Issue 2173603002: Filter GestureFlingStarts with Vx=Vy=0 in RenderWidgetHostViewChildFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment, undo unintended formatting change. Created 4 years, 5 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 bool SupportsSpeech() const override; 143 bool SupportsSpeech() const override;
144 void SpeakSelection() override; 144 void SpeakSelection() override;
145 bool IsSpeaking() const override; 145 bool IsSpeaking() const override;
146 void StopSpeaking() override; 146 void StopSpeaking() override;
147 #endif // defined(OS_MACOSX) 147 #endif // defined(OS_MACOSX)
148 148
149 // RenderWidgetHostViewBase implementation. 149 // RenderWidgetHostViewBase implementation.
150 void LockCompositingSurface() override; 150 void LockCompositingSurface() override;
151 void UnlockCompositingSurface() override; 151 void UnlockCompositingSurface() override;
152 152
153 InputEventAckState FilterInputEvent(
154 const blink::WebInputEvent& input_event) override;
153 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 155 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
154 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 156 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
155 157
156 // cc::SurfaceFactoryClient implementation. 158 // cc::SurfaceFactoryClient implementation.
157 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 159 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
158 void SetBeginFrameSource(cc::BeginFrameSource* source) override; 160 void SetBeginFrameSource(cc::BeginFrameSource* source) override;
159 161
160 // cc::BeginFrameObserver implementation. 162 // cc::BeginFrameObserver implementation.
161 void OnBeginFrame(const cc::BeginFrameArgs& args) override; 163 void OnBeginFrame(const cc::BeginFrameArgs& args) override;
162 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override; 164 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // The surface client ID of the parent RenderWidgetHostView. 0 if none. 235 // The surface client ID of the parent RenderWidgetHostView. 0 if none.
234 uint32_t parent_surface_client_id_; 236 uint32_t parent_surface_client_id_;
235 237
236 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 238 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
237 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 239 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
238 }; 240 };
239 241
240 } // namespace content 242 } // namespace content
241 243
242 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 244 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698