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

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

Issue 2299613003: New Compositor and tab content
Patch Set: more clean up Created 4 years, 3 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 void MoveCaret(const gfx::Point& point); 236 void MoveCaret(const gfx::Point& point);
237 void DismissTextHandles(); 237 void DismissTextHandles();
238 void SetTextHandlesTemporarilyHidden(bool hidden); 238 void SetTextHandlesTemporarilyHidden(bool hidden);
239 void OnShowingPastePopup(const gfx::PointF& point); 239 void OnShowingPastePopup(const gfx::PointF& point);
240 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 240 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
241 241
242 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); 242 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata);
243 243
244 void SetOverlayVideoMode(bool enabled); 244 void SetOverlayVideoMode(bool enabled);
245 245
246 ui::DelegatedFrameHostAndroid* delegated_frame_host() {
247 return delegated_frame_host_.get();
248 }
246 static void OnContextLost(); 249 static void OnContextLost();
247 250
248 private: 251 private:
249 void RunAckCallbacks(); 252 void RunAckCallbacks();
250 253
251 void CheckOutputSurfaceChanged(uint32_t output_surface_id); 254 void CheckOutputSurfaceChanged(uint32_t output_surface_id);
252 void SubmitCompositorFrame(cc::CompositorFrame frame_data); 255 void SubmitCompositorFrame(cc::CompositorFrame frame_data);
253 void SendReclaimCompositorResources(uint32_t output_surface_id, 256 void SendReclaimCompositorResources(uint32_t output_surface_id,
254 bool is_swap_ack); 257 bool is_swap_ack);
255 258
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 gfx::Vector2dF last_scroll_offset_; 387 gfx::Vector2dF last_scroll_offset_;
385 388
386 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 389 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
387 390
388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 391 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
389 }; 392 };
390 393
391 } // namespace content 394 } // namespace content
392 395
393 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 396 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698