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

Unified Diff: content/public/test/content_browser_test_utils.h

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Added Tests and Modified DEPS Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/public/test/content_browser_test_utils.h
diff --git a/content/public/test/content_browser_test_utils.h b/content/public/test/content_browser_test_utils.h
index 50a9498dd4e649f608084e9a78339b8b5cf92cbb..99cc4b916498b7543064f3a13d96be7386d8c4d6 100644
--- a/content/public/test/content_browser_test_utils.h
+++ b/content/public/test/content_browser_test_utils.h
@@ -18,6 +18,8 @@ class FilePath;
}
namespace gfx {
+class Point;
+class Range;
class Rect;
}
@@ -143,6 +145,17 @@ class ConsoleObserverDelegate : public WebContentsDelegate {
#if defined OS_MACOSX
void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds);
+void GetStringAtPointForRenderWidget(
+ RenderWidgetHost* rwh,
+ const gfx::Point& point,
+ base::Callback<void(const std::string&, const gfx::Point&)>
+ result_callback);
+void GetStringFromRangeForRenderWidget(
+ RenderWidgetHost* rwh,
+ const gfx::Range& range,
+ base::Callback<void(const std::string&, const gfx::Point&)>
+ result_callback);
+
#endif
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698