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

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

Issue 2036023002: Rewire Android WebView's compositor changed signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 (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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 scoped_refptr<cc::Layer> CreateDelegatedLayer() const; 239 scoped_refptr<cc::Layer> CreateDelegatedLayer() const;
240 240
241 bool HasValidFrame() const; 241 bool HasValidFrame() const;
242 242
243 void MoveCaret(const gfx::Point& point); 243 void MoveCaret(const gfx::Point& point);
244 void DismissTextHandles(); 244 void DismissTextHandles();
245 void SetTextHandlesTemporarilyHidden(bool hidden); 245 void SetTextHandlesTemporarilyHidden(bool hidden);
246 void OnShowingPastePopup(const gfx::PointF& point); 246 void OnShowingPastePopup(const gfx::PointF& point);
247 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 247 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
248 248
249 SynchronousCompositorHost* GetSynchronousCompositor();
250 void SynchronousFrameMetadata( 249 void SynchronousFrameMetadata(
251 const cc::CompositorFrameMetadata& frame_metadata); 250 const cc::CompositorFrameMetadata& frame_metadata);
252 251
253 void SetOverlayVideoMode(bool enabled); 252 void SetOverlayVideoMode(bool enabled);
254 253
255 typedef base::Callback< 254 typedef base::Callback<
256 void(const base::string16& content, int start_offset, int end_offset)> 255 void(const base::string16& content, int start_offset, int end_offset)>
257 TextSurroundingSelectionCallback; 256 TextSurroundingSelectionCallback;
258 void SetTextSurroundingSelectionCallback( 257 void SetTextSurroundingSelectionCallback(
259 const TextSurroundingSelectionCallback& callback); 258 const TextSurroundingSelectionCallback& callback);
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 gfx::Vector2dF last_scroll_offset_; 405 gfx::Vector2dF last_scroll_offset_;
407 406
408 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 407 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
409 408
410 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 409 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
411 }; 410 };
412 411
413 } // namespace content 412 } // namespace content
414 413
415 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698