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

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

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 7 years, 3 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 | Annotate | Revision Log
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const gfx::Rect& scroll_rect, 105 const gfx::Rect& scroll_rect,
106 const gfx::Vector2d& scroll_delta, 106 const gfx::Vector2d& scroll_delta,
107 const std::vector<gfx::Rect>& copy_rects, 107 const std::vector<gfx::Rect>& copy_rects,
108 const ui::LatencyInfo& latency_info) OVERRIDE; 108 const ui::LatencyInfo& latency_info) OVERRIDE;
109 virtual void RenderProcessGone(base::TerminationStatus status, 109 virtual void RenderProcessGone(base::TerminationStatus status,
110 int error_code) OVERRIDE; 110 int error_code) OVERRIDE;
111 virtual void Destroy() OVERRIDE; 111 virtual void Destroy() OVERRIDE;
112 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 112 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
113 virtual void SelectionChanged(const string16& text, 113 virtual void SelectionChanged(const string16& text,
114 size_t offset, 114 size_t offset,
115 const ui::Range& range) OVERRIDE; 115 const gfx::Range& range) OVERRIDE;
116 virtual void SelectionBoundsChanged( 116 virtual void SelectionBoundsChanged(
117 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 117 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
118 virtual void ScrollOffsetChanged() OVERRIDE; 118 virtual void ScrollOffsetChanged() OVERRIDE;
119 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 119 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
120 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 120 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
121 virtual void AcceleratedSurfaceBuffersSwapped( 121 virtual void AcceleratedSurfaceBuffersSwapped(
122 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 122 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
123 int gpu_host_id) OVERRIDE; 123 int gpu_host_id) OVERRIDE;
124 virtual void AcceleratedSurfacePostSubBuffer( 124 virtual void AcceleratedSurfacePostSubBuffer(
125 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 125 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // Used to render overscroll overlays. 321 // Used to render overscroll overlays.
322 bool overscroll_effect_enabled_; 322 bool overscroll_effect_enabled_;
323 scoped_ptr<OverscrollGlow> overscroll_effect_; 323 scoped_ptr<OverscrollGlow> overscroll_effect_;
324 324
325 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 325 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
326 }; 326 };
327 327
328 } // namespace content 328 } // namespace content
329 329
330 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 330 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698