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

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

Issue 10917270: linux_aura: Make X11 selection buffers work on text in both direction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove check Created 8 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void ImeCompositionRangeChanged( 89 virtual void ImeCompositionRangeChanged(
90 const ui::Range& range, 90 const ui::Range& range,
91 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 91 const std::vector<gfx::Rect>& character_bounds) OVERRIDE;
92 virtual void DidUpdateBackingStore( 92 virtual void DidUpdateBackingStore(
93 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 93 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
94 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 94 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
95 virtual void RenderViewGone(base::TerminationStatus status, 95 virtual void RenderViewGone(base::TerminationStatus status,
96 int error_code) OVERRIDE; 96 int error_code) OVERRIDE;
97 virtual void Destroy() OVERRIDE; 97 virtual void Destroy() OVERRIDE;
98 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 98 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
99 virtual void SelectionChanged(const string16& text,
100 size_t offset,
101 const ui::Range& range) OVERRIDE;
99 virtual void SelectionBoundsChanged( 102 virtual void SelectionBoundsChanged(
100 const gfx::Rect& start_rect, 103 const gfx::Rect& start_rect,
101 WebKit::WebTextDirection start_direction, 104 WebKit::WebTextDirection start_direction,
102 const gfx::Rect& end_rect, 105 const gfx::Rect& end_rect,
103 WebKit::WebTextDirection end_direction) OVERRIDE; 106 WebKit::WebTextDirection end_direction) OVERRIDE;
104 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 107 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
105 virtual void CopyFromCompositingSurface( 108 virtual void CopyFromCompositingSurface(
106 const gfx::Rect& src_subrect, 109 const gfx::Rect& src_subrect,
107 const gfx::Size& dst_size, 110 const gfx::Size& dst_size,
108 const base::Callback<void(bool)>& callback, 111 const base::Callback<void(bool)>& callback,
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 383
381 // This lock is for waiting for a front surface to become available to draw. 384 // This lock is for waiting for a front surface to become available to draw.
382 scoped_refptr<aura::CompositorLock> released_front_lock_; 385 scoped_refptr<aura::CompositorLock> released_front_lock_;
383 386
384 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 387 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
385 }; 388 };
386 389
387 } // namespace content 390 } // namespace content
388 391
389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 392 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | 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