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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 #include "content/browser/child_process_security_policy_impl.h" 21 #include "content/browser/child_process_security_policy_impl.h"
22 #include "content/browser/cross_site_request_manager.h" 22 #include "content/browser/cross_site_request_manager.h"
23 #include "content/browser/gpu/gpu_surface_tracker.h" 23 #include "content/browser/gpu/gpu_surface_tracker.h"
24 #include "content/browser/host_zoom_map_impl.h" 24 #include "content/browser/host_zoom_map_impl.h"
25 #include "content/browser/in_process_webkit/dom_storage_context_impl.h" 25 #include "content/browser/in_process_webkit/dom_storage_context_impl.h"
26 #include "content/browser/power_save_blocker.h" 26 #include "content/browser/power_save_blocker.h"
27 #include "content/browser/renderer_host/render_process_host_impl.h" 27 #include "content/browser/renderer_host/render_process_host_impl.h"
28 #include "content/common/accessibility_messages.h" 28 #include "content/common/accessibility_messages.h"
29 #include "content/common/desktop_notification_messages.h" 29 #include "content/common/desktop_notification_messages.h"
30 #include "content/common/drag_messages.h" 30 #include "content/common/drag_messages.h"
31 #include "content/common/speech_input_messages.h" 31 #include "content/common/speech_recognition_messages.h"
32 #include "content/common/swapped_out_messages.h" 32 #include "content/common/swapped_out_messages.h"
33 #include "content/common/view_messages.h" 33 #include "content/common/view_messages.h"
34 #include "content/port/browser/render_widget_host_view_port.h" 34 #include "content/port/browser/render_widget_host_view_port.h"
35 #include "content/public/browser/browser_context.h" 35 #include "content/public/browser/browser_context.h"
36 #include "content/public/browser/browser_message_filter.h" 36 #include "content/public/browser/browser_message_filter.h"
37 #include "content/public/browser/content_browser_client.h" 37 #include "content/public/browser/content_browser_client.h"
38 #include "content/public/browser/dom_operation_notification_details.h" 38 #include "content/public/browser/dom_operation_notification_details.h"
39 #include "content/public/browser/native_web_keyboard_event.h" 39 #include "content/public/browser/native_web_keyboard_event.h"
40 #include "content/public/browser/notification_details.h" 40 #include "content/public/browser/notification_details.h"
41 #include "content/public/browser/notification_service.h" 41 #include "content/public/browser/notification_service.h"
(...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 void RenderViewHostImpl::DidSelectPopupMenuItem(int selected_index) { 1398 void RenderViewHostImpl::DidSelectPopupMenuItem(int selected_index) {
1399 Send(new ViewMsg_SelectPopupMenuItem(GetRoutingID(), selected_index)); 1399 Send(new ViewMsg_SelectPopupMenuItem(GetRoutingID(), selected_index));
1400 } 1400 }
1401 1401
1402 void RenderViewHostImpl::DidCancelPopupMenu() { 1402 void RenderViewHostImpl::DidCancelPopupMenu() {
1403 Send(new ViewMsg_SelectPopupMenuItem(GetRoutingID(), -1)); 1403 Send(new ViewMsg_SelectPopupMenuItem(GetRoutingID(), -1));
1404 } 1404 }
1405 #endif 1405 #endif
1406 1406
1407 void RenderViewHostImpl::ToggleSpeechInput() { 1407 void RenderViewHostImpl::ToggleSpeechInput() {
1408 Send(new SpeechInputMsg_ToggleSpeechInput(GetRoutingID())); 1408 Send(new InputTagSpeechMsg_ToggleSpeechInput(GetRoutingID()));
1409 } 1409 }
1410 1410
1411 void RenderViewHostImpl::FilterURL(ChildProcessSecurityPolicyImpl* policy, 1411 void RenderViewHostImpl::FilterURL(ChildProcessSecurityPolicyImpl* policy,
1412 int renderer_id, 1412 int renderer_id,
1413 GURL* url) { 1413 GURL* url) {
1414 if (!url->is_valid()) 1414 if (!url->is_valid())
1415 return; // We don't need to block invalid URLs. 1415 return; // We don't need to block invalid URLs.
1416 1416
1417 if (url->SchemeIs(chrome::kAboutScheme)) { 1417 if (url->SchemeIs(chrome::kAboutScheme)) {
1418 // The renderer treats all URLs in the about: scheme as being about:blank. 1418 // The renderer treats all URLs in the about: scheme as being about:blank.
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 // Whenever we change swap out state, we should not be waiting for 1678 // Whenever we change swap out state, we should not be waiting for
1679 // beforeunload or unload acks. We clear them here to be safe, since they 1679 // beforeunload or unload acks. We clear them here to be safe, since they
1680 // can cause navigations to be ignored in OnMsgNavigate. 1680 // can cause navigations to be ignored in OnMsgNavigate.
1681 is_waiting_for_beforeunload_ack_ = false; 1681 is_waiting_for_beforeunload_ack_ = false;
1682 is_waiting_for_unload_ack_ = false; 1682 is_waiting_for_unload_ack_ = false;
1683 } 1683 }
1684 1684
1685 void RenderViewHostImpl::ClearPowerSaveBlockers() { 1685 void RenderViewHostImpl::ClearPowerSaveBlockers() {
1686 STLDeleteValues(&power_save_blockers_); 1686 STLDeleteValues(&power_save_blockers_);
1687 } 1687 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/speech/audio_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698