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

Unified Diff: third_party/WebKit/public/web/mac/WebSubstringUtil.h

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Addressing lfg@'s comment Created 4 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 | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/mac/WebSubstringUtil.h
diff --git a/third_party/WebKit/public/web/mac/WebSubstringUtil.h b/third_party/WebKit/public/web/mac/WebSubstringUtil.h
index 29c9cdd24f2f73d09f49848938116d63811b772a..de2469cdd00743afee711f3ea791598ad1e09b63 100644
--- a/third_party/WebKit/public/web/mac/WebSubstringUtil.h
+++ b/third_party/WebKit/public/web/mac/WebSubstringUtil.h
@@ -32,7 +32,6 @@
#define WebSubstringUtil_h
#include "../../platform/WebCommon.h"
-#include "public/web/WebFrame.h"
#if __OBJC__
@class NSAttributedString;
@@ -42,16 +41,18 @@ class NSAttributedString;
namespace blink {
-class WebView;
+class WebFrameWidget;
+class WebLocalFrame;
struct WebPoint;
class WebSubstringUtil {
public:
// Returns an autoreleased NSAttributedString that is the word under
- // the given point, or nil on error.
+ // the given point inside the given WebFrameWidget or nil on error.
// Upon return, |baselinePoint| is set to the left baseline point in
// AppKit coordinates.
- BLINK_EXPORT static NSAttributedString* attributedWordAtPoint(WebView*,
+ BLINK_EXPORT static NSAttributedString* attributedWordAtPoint(
+ WebFrameWidget*,
WebPoint,
WebPoint& baselinePoint);
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698