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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.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
Index: content/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index ab8f8cb8be807d46aed70b2accb6eb6c6df21116..a36fea30dc348f248a7d8e96cb21c5333ed94bc9 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -20,8 +20,8 @@
#include "base/callback_forward.h"
#include "content/common/content_export.h"
#include "content/port/browser/render_widget_host_view_port.h"
-#include "ui/base/range/range.h"
#include "ui/gfx/native_widget_types.h"
+#include "ui/gfx/range/range.h"
#include "ui/gfx/rect.h"
namespace content {
@@ -48,7 +48,7 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
virtual void SelectionChanged(const string16& text,
size_t offset,
- const ui::Range& range) OVERRIDE;
+ const gfx::Range& range) OVERRIDE;
virtual void SetBackground(const SkBitmap& background) OVERRIDE;
virtual const SkBitmap& GetBackground() OVERRIDE;
virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
@@ -144,7 +144,7 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
size_t selection_text_offset_;
// The current selection range relative to the start of the web page.
- ui::Range selection_range_;
+ gfx::Range selection_range_;
protected:
// The scale factor of the display the renderer is currently on.

Powered by Google App Engine
This is Rietveld 408576698