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

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

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
« no previous file with comments | « content/renderer/android/content_detector.h ('k') | content/renderer/bmp_image_decoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/content_detector.cc
diff --git a/content/renderer/android/content_detector.cc b/content/renderer/android/content_detector.cc
index 95caba55a943d675c45da9e10e5fa5d9ecedc6f2..66af04174b4ad57659437482534185ade052efb6 100644
--- a/content/renderer/android/content_detector.cc
+++ b/content/renderer/android/content_detector.cc
@@ -9,14 +9,14 @@
#include "third_party/WebKit/public/web/WebHitTestResult.h"
#include "third_party/WebKit/public/web/WebSurroundingText.h"
-using WebKit::WebRange;
-using WebKit::WebSurroundingText;
+using blink::WebRange;
+using blink::WebSurroundingText;
namespace content {
ContentDetector::Result::Result() : valid(false) {}
-ContentDetector::Result::Result(const WebKit::WebRange& content_boundaries,
+ContentDetector::Result::Result(const blink::WebRange& content_boundaries,
const std::string& text,
const GURL& intent_url)
: valid(true),
@@ -28,12 +28,12 @@ ContentDetector::Result::Result(const WebKit::WebRange& content_boundaries,
ContentDetector::Result::~Result() {}
ContentDetector::Result ContentDetector::FindTappedContent(
- const WebKit::WebHitTestResult& hit_test) {
+ const blink::WebHitTestResult& hit_test) {
if (hit_test.isNull())
return Result();
std::string content_text;
- WebKit::WebRange range = FindContentRange(hit_test, &content_text);
+ blink::WebRange range = FindContentRange(hit_test, &content_text);
if (range.isNull())
return Result();
@@ -42,7 +42,7 @@ ContentDetector::Result ContentDetector::FindTappedContent(
}
WebRange ContentDetector::FindContentRange(
- const WebKit::WebHitTestResult& hit_test,
+ const blink::WebHitTestResult& hit_test,
std::string* content_text) {
// As the surrounding text extractor looks at maxLength/2 characters on
// either side of the hit point, we need to double max content length here.
« no previous file with comments | « content/renderer/android/content_detector.h ('k') | content/renderer/bmp_image_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698