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

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: Removing some #ifdefs 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 const gfx::Range& range, 115 const gfx::Range& range,
116 const std::vector<gfx::Rect>& character_bounds) override; 116 const std::vector<gfx::Rect>& character_bounds) override;
117 void FocusedNodeChanged(bool is_editable_node) override; 117 void FocusedNodeChanged(bool is_editable_node) override;
118 void RenderProcessGone(base::TerminationStatus status, 118 void RenderProcessGone(base::TerminationStatus status,
119 int error_code) override; 119 int error_code) override;
120 void Destroy() override; 120 void Destroy() override;
121 void SetTooltipText(const base::string16& tooltip_text) override; 121 void SetTooltipText(const base::string16& tooltip_text) override;
122 void SelectionChanged(const base::string16& text, 122 void SelectionChanged(const base::string16& text,
123 size_t offset, 123 size_t offset,
124 const gfx::Range& range) override; 124 const gfx::Range& range) override;
125 void SelectionBoundsChanged(
126 const ViewHostMsg_SelectionBounds_Params& params) override;
127 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 125 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
128 void SetBackgroundColor(SkColor color) override; 126 void SetBackgroundColor(SkColor color) override;
129 void CopyFromCompositingSurface( 127 void CopyFromCompositingSurface(
130 const gfx::Rect& src_subrect, 128 const gfx::Rect& src_subrect,
131 const gfx::Size& dst_size, 129 const gfx::Size& dst_size,
132 const ReadbackRequestCallback& callback, 130 const ReadbackRequestCallback& callback,
133 const SkColorType preferred_color_type) override; 131 const SkColorType preferred_color_type) override;
134 void CopyFromCompositingSurfaceToVideoFrame( 132 void CopyFromCompositingSurfaceToVideoFrame(
135 const gfx::Rect& src_subrect, 133 const gfx::Rect& src_subrect,
136 const scoped_refptr<media::VideoFrame>& target, 134 const scoped_refptr<media::VideoFrame>& target,
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 gfx::Vector2dF last_scroll_offset_; 387 gfx::Vector2dF last_scroll_offset_;
390 388
391 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 389 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
392 390
393 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 391 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
394 }; 392 };
395 393
396 } // namespace content 394 } // namespace content
397 395
398 #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