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

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

Issue 11068010: Show selection handles around selected text. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: tweaked comments Created 8 years, 2 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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void DidUpdateBackingStore( 73 virtual void DidUpdateBackingStore(
74 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 74 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
75 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 75 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
76 virtual void RenderViewGone(base::TerminationStatus status, 76 virtual void RenderViewGone(base::TerminationStatus status,
77 int error_code) OVERRIDE; 77 int error_code) OVERRIDE;
78 virtual void Destroy() OVERRIDE; 78 virtual void Destroy() OVERRIDE;
79 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 79 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
80 virtual void SelectionChanged(const string16& text, 80 virtual void SelectionChanged(const string16& text,
81 size_t offset, 81 size_t offset,
82 const ui::Range& range) OVERRIDE; 82 const ui::Range& range) OVERRIDE;
83 virtual void SelectionBoundsChanged(
84 const gfx::Rect& start_rect,
85 WebKit::WebTextDirection start_direction,
86 const gfx::Rect& end_rect,
87 WebKit::WebTextDirection end_direction) OVERRIDE;
83 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 88 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
84 virtual void AcceleratedSurfaceBuffersSwapped( 89 virtual void AcceleratedSurfaceBuffersSwapped(
85 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 90 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
86 int gpu_host_id) OVERRIDE; 91 int gpu_host_id) OVERRIDE;
87 virtual void AcceleratedSurfacePostSubBuffer( 92 virtual void AcceleratedSurfacePostSubBuffer(
88 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 93 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
89 int gpu_host_id) OVERRIDE; 94 int gpu_host_id) OVERRIDE;
90 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 95 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
91 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 96 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
92 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 97 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // The handle for the transport surface (between renderer and browser-side 162 // The handle for the transport surface (between renderer and browser-side
158 // compositor) for this view. 163 // compositor) for this view.
159 gfx::GLSurfaceHandle shared_surface_; 164 gfx::GLSurfaceHandle shared_surface_;
160 165
161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 166 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
162 }; 167 };
163 168
164 } // namespace content 169 } // namespace content
165 170
166 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 171 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698