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

Unified Diff: content/renderer/render_view_impl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 2291bc4465ce099aaa9400991dda0266fb5be0e1..7d4ca8cf13b261ad81e66fa18f5c644c5163685e 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -344,7 +344,7 @@ class CONTENT_EXPORT RenderViewImpl
int selection_start,
int selection_end);
void SimulateImeConfirmComposition(const string16& text,
- const ui::Range& replacement_range);
+ const gfx::Range& replacement_range);
#if defined(OS_MACOSX) || defined(OS_WIN)
// Informs the render view that the given plugin has gained or lost focus.
@@ -767,7 +767,7 @@ class CONTENT_EXPORT RenderViewImpl
int selection_start,
int selection_end) OVERRIDE;
virtual void OnImeConfirmComposition(const string16& text,
- const ui::Range& replacement_range,
+ const gfx::Range& replacement_range,
bool keep_selection) OVERRIDE;
virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE;
virtual ui::TextInputType GetTextInputType() OVERRIDE;
@@ -775,7 +775,7 @@ class CONTENT_EXPORT RenderViewImpl
#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
virtual void GetCompositionCharacterBounds(
std::vector<gfx::Rect>* character_bounds) OVERRIDE;
- virtual void GetCompositionRange(ui::Range* range) OVERRIDE;
+ virtual void GetCompositionRange(gfx::Range* range) OVERRIDE;
#endif
virtual bool CanComposeInline() OVERRIDE;
virtual void DidCommitCompositorFrame() OVERRIDE;
@@ -1140,7 +1140,7 @@ class CONTENT_EXPORT RenderViewImpl
static bool ShouldUpdateSelectionTextFromContextMenuParams(
const string16& selection_text,
size_t selection_text_offset,
- const ui::Range& selection_range,
+ const gfx::Range& selection_range,
const ContextMenuParams& params);
// Starts nav_state_sync_timer_ if it isn't already running.
@@ -1313,7 +1313,7 @@ class CONTENT_EXPORT RenderViewImpl
size_t selection_text_offset_;
// Range over the document corresponding to the actual selected text (which
// could correspond to a substring of |selection_text_|; see above).
- ui::Range selection_range_;
+ gfx::Range selection_range_;
// External context menu requests we're waiting for. "Internal"
// (WebKit-originated) context menu events will have an ID of 0 and will not
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698