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

Unified Diff: content/browser/renderer_host/text_input_client_mac.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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/text_input_client_mac.h
diff --git a/content/browser/renderer_host/text_input_client_mac.h b/content/browser/renderer_host/text_input_client_mac.h
index 00c67b8f2a2d147e6236ed08e1a010fff0a56b16..cf767995258b139483b555adc2a68b7ad1c331c3 100644
--- a/content/browser/renderer_host/text_input_client_mac.h
+++ b/content/browser/renderer_host/text_input_client_mac.h
@@ -14,7 +14,9 @@
template <typename T> struct DefaultSingletonTraits;
+namespace content {
class RenderWidgetHost;
+}
// This class helps with the Mac OS X dictionary popup. For the design overview,
// look at this document:
@@ -44,13 +46,14 @@ class TextInputClientMac {
// unlock and return that stored value.
//
// Returns NSNotFound if the request times out or is not completed.
- NSUInteger GetCharacterIndexAtPoint(RenderWidgetHost* rwh, gfx::Point point);
+ NSUInteger GetCharacterIndexAtPoint(content::RenderWidgetHost* rwh,
+ gfx::Point point);
// Returns nil if the request times out or is completed.
- NSAttributedString* GetAttributedSubstringFromRange(RenderWidgetHost* rwh,
- NSRange range);
+ NSAttributedString* GetAttributedSubstringFromRange(
+ content::RenderWidgetHost* rwh, NSRange range);
// Returns NSZeroRect if the request times out or is not completed. The result
// is in WebKit coordinates.
- NSRect GetFirstRectForRange(RenderWidgetHost* rwh, NSRange range);
+ NSRect GetFirstRectForRange(content::RenderWidgetHost* rwh, NSRange range);
// When the renderer sends the ViewHostMsg reply, the RenderMessageFilter will
// call the corresponding method on the IO thread to unlock the condition and
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.cc ('k') | content/browser/renderer_host/text_input_client_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698