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

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

Issue 306803002: Revert of Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; 107 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE;
108 virtual void RenderProcessGone(base::TerminationStatus status, 108 virtual void RenderProcessGone(base::TerminationStatus status,
109 int error_code) OVERRIDE; 109 int error_code) OVERRIDE;
110 virtual void Destroy() OVERRIDE; 110 virtual void Destroy() OVERRIDE;
111 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 111 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
112 virtual void SelectionChanged(const base::string16& text, 112 virtual void SelectionChanged(const base::string16& text,
113 size_t offset, 113 size_t offset,
114 const gfx::Range& range) OVERRIDE; 114 const gfx::Range& range) OVERRIDE;
115 virtual void SelectionBoundsChanged( 115 virtual void SelectionBoundsChanged(
116 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 116 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
117 virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE;
118 virtual void ScrollOffsetChanged() OVERRIDE; 117 virtual void ScrollOffsetChanged() OVERRIDE;
119 virtual void AcceleratedSurfaceInitialized(int host_id, 118 virtual void AcceleratedSurfaceInitialized(int host_id,
120 int route_id) OVERRIDE; 119 int route_id) OVERRIDE;
121 virtual void AcceleratedSurfaceBuffersSwapped( 120 virtual void AcceleratedSurfaceBuffersSwapped(
122 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 121 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
123 int gpu_host_id) OVERRIDE; 122 int gpu_host_id) OVERRIDE;
124 virtual void AcceleratedSurfacePostSubBuffer( 123 virtual void AcceleratedSurfacePostSubBuffer(
125 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 124 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
126 int gpu_host_id) OVERRIDE; 125 int gpu_host_id) OVERRIDE;
127 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 126 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 }; 353 };
355 354
356 scoped_ptr<LastFrameInfo> last_frame_info_; 355 scoped_ptr<LastFrameInfo> last_frame_info_;
357 356
358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 357 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
359 }; 358 };
360 359
361 } // namespace content 360 } // namespace content
362 361
363 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 362 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698