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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 1673783004: Hook up BeginFrameSource to SurfaceFactoryClient via SurfaceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register id namespace on Android Created 4 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override; 162 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override;
163 void LockCompositingSurface() override; 163 void LockCompositingSurface() override;
164 void UnlockCompositingSurface() override; 164 void UnlockCompositingSurface() override;
165 void OnTextSurroundingSelectionResponse(const base::string16& content, 165 void OnTextSurroundingSelectionResponse(const base::string16& content,
166 size_t start_offset, 166 size_t start_offset,
167 size_t end_offset) override; 167 size_t end_offset) override;
168 void OnDidNavigateMainFrameToNewPage() override; 168 void OnDidNavigateMainFrameToNewPage() override;
169 169
170 // cc::SurfaceFactoryClient implementation. 170 // cc::SurfaceFactoryClient implementation.
171 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 171 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
172 void SetBeginFrameSource(cc::SurfaceId surface_id, 172 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;
173 cc::BeginFrameSource* begin_frame_source) override;
174 173
175 // ui::GestureProviderClient implementation. 174 // ui::GestureProviderClient implementation.
176 void OnGestureEvent(const ui::GestureEventData& gesture) override; 175 void OnGestureEvent(const ui::GestureEventData& gesture) override;
177 176
178 // ui::WindowAndroidObserver implementation. 177 // ui::WindowAndroidObserver implementation.
179 void OnCompositingDidCommit() override; 178 void OnCompositingDidCommit() override;
180 void OnRootWindowVisibilityChanged(bool visible) override; 179 void OnRootWindowVisibilityChanged(bool visible) override;
181 void OnAttachCompositor() override; 180 void OnAttachCompositor() override;
182 void OnDetachCompositor() override; 181 void OnDetachCompositor() override;
183 void OnVSync(base::TimeTicks frame_time, 182 void OnVSync(base::TimeTicks frame_time,
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 gfx::Vector2dF last_scroll_offset_; 408 gfx::Vector2dF last_scroll_offset_;
410 409
411 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 410 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
412 411
413 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 412 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
414 }; 413 };
415 414
416 } // namespace content 415 } // namespace content
417 416
418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698