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

Unified Diff: content/renderer/input_tag_speech_dispatcher.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/input_tag_speech_dispatcher.h ('k') | content/renderer/internal_document_state_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input_tag_speech_dispatcher.cc
diff --git a/content/renderer/input_tag_speech_dispatcher.cc b/content/renderer/input_tag_speech_dispatcher.cc
index afce8c27cd8243b68cdbfb030d1dfef8ae947fb2..b9490ce76392be69360ffd772341f0f670743c86 100644
--- a/content/renderer/input_tag_speech_dispatcher.cc
+++ b/content/renderer/input_tag_speech_dispatcher.cc
@@ -18,18 +18,18 @@
#include "third_party/WebKit/public/web/WebSpeechInputListener.h"
#include "third_party/WebKit/public/web/WebView.h"
-using WebKit::WebDocument;
-using WebKit::WebElement;
-using WebKit::WebFrame;
-using WebKit::WebInputElement;
-using WebKit::WebNode;
-using WebKit::WebView;
+using blink::WebDocument;
+using blink::WebElement;
+using blink::WebFrame;
+using blink::WebInputElement;
+using blink::WebNode;
+using blink::WebView;
namespace content {
InputTagSpeechDispatcher::InputTagSpeechDispatcher(
RenderViewImpl* render_view,
- WebKit::WebSpeechInputListener* listener)
+ blink::WebSpeechInputListener* listener)
: RenderViewObserver(render_view),
listener_(listener) {
}
@@ -53,10 +53,10 @@ bool InputTagSpeechDispatcher::OnMessageReceived(
bool InputTagSpeechDispatcher::startRecognition(
int request_id,
- const WebKit::WebRect& element_rect,
- const WebKit::WebString& language,
- const WebKit::WebString& grammar,
- const WebKit::WebSecurityOrigin& origin) {
+ const blink::WebRect& element_rect,
+ const blink::WebString& language,
+ const blink::WebString& grammar,
+ const blink::WebSecurityOrigin& origin) {
DVLOG(1) << "InputTagSpeechDispatcher::startRecognition enter";
InputTagSpeechHostMsg_StartRecognition_Params params;
@@ -92,7 +92,7 @@ void InputTagSpeechDispatcher::OnSpeechRecognitionResults(
DCHECK_EQ(results.size(), 1U);
const SpeechRecognitionResult& result = results[0];
- WebKit::WebSpeechInputResultArray webkit_result(result.hypotheses.size());
+ blink::WebSpeechInputResultArray webkit_result(result.hypotheses.size());
for (size_t i = 0; i < result.hypotheses.size(); ++i) {
webkit_result[i].assign(result.hypotheses[i].utterance,
result.hypotheses[i].confidence);
@@ -131,8 +131,8 @@ void InputTagSpeechDispatcher::OnSpeechRecognitionToggleSpeechInput() {
if (focused_node.isNull() || !focused_node.isElementNode())
return;
- WebKit::WebElement element = focused_node.to<WebKit::WebElement>();
- WebKit::WebInputElement* input_element = WebKit::toWebInputElement(&element);
+ blink::WebElement element = focused_node.to<blink::WebElement>();
+ blink::WebInputElement* input_element = blink::toWebInputElement(&element);
if (!input_element)
return;
if (!input_element->isSpeechInputEnabled())
« no previous file with comments | « content/renderer/input_tag_speech_dispatcher.h ('k') | content/renderer/internal_document_state_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698