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

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

Issue 10855036: Adding selection text direction to SelectionBoundsChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 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 | 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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void ImeCompositionRangeChanged( 88 virtual void ImeCompositionRangeChanged(
89 const ui::Range& range, 89 const ui::Range& range,
90 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 90 const std::vector<gfx::Rect>& character_bounds) OVERRIDE;
91 virtual void DidUpdateBackingStore( 91 virtual void DidUpdateBackingStore(
92 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 92 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
93 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 93 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
94 virtual void RenderViewGone(base::TerminationStatus status, 94 virtual void RenderViewGone(base::TerminationStatus status,
95 int error_code) OVERRIDE; 95 int error_code) OVERRIDE;
96 virtual void Destroy() OVERRIDE; 96 virtual void Destroy() OVERRIDE;
97 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 97 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
98 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, 98 virtual void SelectionBoundsChanged(
99 const gfx::Rect& end_rect) OVERRIDE; 99 const gfx::Rect& start_rect,
100 WebKit::WebTextDirection start_direction,
101 const gfx::Rect& end_rect,
102 WebKit::WebTextDirection end_direction) OVERRIDE;
100 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
101 virtual void CopyFromCompositingSurface( 104 virtual void CopyFromCompositingSurface(
102 const gfx::Rect& src_subrect, 105 const gfx::Rect& src_subrect,
103 const gfx::Size& dst_size, 106 const gfx::Size& dst_size,
104 const base::Callback<void(bool)>& callback, 107 const base::Callback<void(bool)>& callback,
105 skia::PlatformCanvas* output) OVERRIDE; 108 skia::PlatformCanvas* output) OVERRIDE;
106 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 109 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
107 virtual void AcceleratedSurfaceBuffersSwapped( 110 virtual void AcceleratedSurfaceBuffersSwapped(
108 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, 111 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel,
109 int gpu_host_id) OVERRIDE; 112 int gpu_host_id) OVERRIDE;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 377
375 // This lock is for waiting for a front surface to become available to draw. 378 // This lock is for waiting for a front surface to become available to draw.
376 scoped_refptr<aura::CompositorLock> released_front_lock_; 379 scoped_refptr<aura::CompositorLock> released_front_lock_;
377 380
378 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
379 }; 382 };
380 383
381 } // namespace content 384 } // namespace content
382 385
383 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698