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

Unified Diff: content/renderer/android/content_detector.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/renderer/android/content_detector.h
diff --git a/content/renderer/android/content_detector.h b/content/renderer/android/content_detector.h
index d17a5855b2375946be40bbb37d8f0c000a45c27a..85ee6688d6ff77cea306a592fc127cc38e1f6c45 100644
--- a/content/renderer/android/content_detector.h
+++ b/content/renderer/android/content_detector.h
@@ -8,7 +8,7 @@
#include "third_party/WebKit/public/web/WebRange.h"
#include "url/gurl.h"
-namespace WebKit {
+namespace blink {
class WebHitTestResult;
}
@@ -20,13 +20,13 @@ class ContentDetector {
// Holds the content detection results.
struct Result {
Result();
- Result(const WebKit::WebRange& content_boundaries,
+ Result(const blink::WebRange& content_boundaries,
const std::string& text,
const GURL& intent_url);
~Result();
bool valid;
- WebKit::WebRange content_boundaries;
+ blink::WebRange content_boundaries;
std::string text; // Processed text of the content.
GURL intent_url; // URL of the intent that should process this content.
};
@@ -35,7 +35,7 @@ class ContentDetector {
// Returns a WebKit range delimiting the contents found around the tapped
// position. If no content is found a null range will be returned.
- Result FindTappedContent(const WebKit::WebHitTestResult& hit_test);
+ Result FindTappedContent(const blink::WebHitTestResult& hit_test);
protected:
ContentDetector() {}
@@ -57,7 +57,7 @@ class ContentDetector {
// position in order to search for content.
virtual size_t GetMaximumContentLength() = 0;
- WebKit::WebRange FindContentRange(const WebKit::WebHitTestResult& hit_test,
+ blink::WebRange FindContentRange(const blink::WebHitTestResult& hit_test,
std::string* content_text);
DISALLOW_COPY_AND_ASSIGN(ContentDetector);
« no previous file with comments | « content/renderer/active_notification_tracker_unittest.cc ('k') | content/renderer/android/content_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698