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

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

Issue 2213503002: Tracking SelectionBounds for all RenderWidgets on the Browser Side (Mac) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const gfx::Range& range, 119 const gfx::Range& range,
120 const std::vector<gfx::Rect>& character_bounds) override; 120 const std::vector<gfx::Rect>& character_bounds) override;
121 void FocusedNodeChanged(bool is_editable_node) override; 121 void FocusedNodeChanged(bool is_editable_node) override;
122 void RenderProcessGone(base::TerminationStatus status, 122 void RenderProcessGone(base::TerminationStatus status,
123 int error_code) override; 123 int error_code) override;
124 void Destroy() override; 124 void Destroy() override;
125 void SetTooltipText(const base::string16& tooltip_text) override; 125 void SetTooltipText(const base::string16& tooltip_text) override;
126 void SelectionChanged(const base::string16& text, 126 void SelectionChanged(const base::string16& text,
127 size_t offset, 127 size_t offset,
128 const gfx::Range& range) override; 128 const gfx::Range& range) override;
129 void SelectionBoundsChanged(
130 const ViewHostMsg_SelectionBounds_Params& params) override;
131 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 129 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
132 void SetBackgroundColor(SkColor color) override; 130 void SetBackgroundColor(SkColor color) override;
133 void CopyFromCompositingSurface( 131 void CopyFromCompositingSurface(
134 const gfx::Rect& src_subrect, 132 const gfx::Rect& src_subrect,
135 const gfx::Size& dst_size, 133 const gfx::Size& dst_size,
136 const ReadbackRequestCallback& callback, 134 const ReadbackRequestCallback& callback,
137 const SkColorType preferred_color_type) override; 135 const SkColorType preferred_color_type) override;
138 void CopyFromCompositingSurfaceToVideoFrame( 136 void CopyFromCompositingSurfaceToVideoFrame(
139 const gfx::Rect& src_subrect, 137 const gfx::Rect& src_subrect,
140 const scoped_refptr<media::VideoFrame>& target, 138 const scoped_refptr<media::VideoFrame>& target,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 gfx::Vector2dF last_scroll_offset_; 384 gfx::Vector2dF last_scroll_offset_;
387 385
388 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 386 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
389 387
390 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
391 }; 389 };
392 390
393 } // namespace content 391 } // namespace content
394 392
395 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 393 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698