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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 636863003: Make SpeechRecognition per RenderFrame instead of per RenderView. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanups Created 6 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 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 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/containers/scoped_ptr_hash_map.h" 13 #include "base/containers/scoped_ptr_hash_map.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/observer_list.h" 16 #include "base/observer_list.h"
17 #include "base/process/process.h" 17 #include "base/process/process.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "content/browser/frame_host/frame_tree.h" 19 #include "content/browser/frame_host/frame_tree.h"
20 #include "content/browser/frame_host/navigation_controller_delegate.h" 20 #include "content/browser/frame_host/navigation_controller_delegate.h"
21 #include "content/browser/frame_host/navigation_controller_impl.h" 21 #include "content/browser/frame_host/navigation_controller_impl.h"
22 #include "content/browser/frame_host/navigator_delegate.h" 22 #include "content/browser/frame_host/navigator_delegate.h"
23 #include "content/browser/frame_host/render_frame_host_delegate.h" 23 #include "content/browser/frame_host/render_frame_host_delegate.h"
24 #include "content/browser/frame_host/render_frame_host_manager.h" 24 #include "content/browser/frame_host/render_frame_host_manager.h"
25 #include "content/browser/media/audio_stream_monitor.h" 25 #include "content/browser/media/audio_stream_monitor.h"
26 #include "content/browser/renderer_host/render_view_host_delegate.h" 26 #include "content/browser/renderer_host/render_view_host_delegate.h"
27 #include "content/browser/renderer_host/render_widget_host_delegate.h" 27 #include "content/browser/renderer_host/render_widget_host_delegate.h"
28 #include "content/common/accessibility_mode_enums.h" 28 #include "content/common/accessibility_mode_enums.h"
29 #include "content/common/content_export.h" 29 #include "content/common/content_export.h"
30 #include "content/public/browser/browser_thread.h"
30 #include "content/public/browser/color_chooser.h" 31 #include "content/public/browser/color_chooser.h"
31 #include "content/public/browser/notification_observer.h" 32 #include "content/public/browser/notification_observer.h"
32 #include "content/public/browser/notification_registrar.h" 33 #include "content/public/browser/notification_registrar.h"
33 #include "content/public/browser/web_contents.h" 34 #include "content/public/browser/web_contents.h"
34 #include "content/public/common/renderer_preferences.h" 35 #include "content/public/common/renderer_preferences.h"
35 #include "content/public/common/resource_type.h" 36 #include "content/public/common/resource_type.h"
36 #include "content/public/common/three_d_api_types.h" 37 #include "content/public/common/three_d_api_types.h"
37 #include "net/base/load_states.h" 38 #include "net/base/load_states.h"
38 #include "net/http/http_response_headers.h" 39 #include "net/http/http_response_headers.h"
39 #include "third_party/WebKit/public/web/WebDragOperation.h" 40 #include "third_party/WebKit/public/web/WebDragOperation.h"
(...skipping 18 matching lines...) Expand all
58 class ManifestManagerHost; 59 class ManifestManagerHost;
59 class MidiDispatcherHost; 60 class MidiDispatcherHost;
60 class PluginContentOriginWhitelist; 61 class PluginContentOriginWhitelist;
61 class PowerSaveBlocker; 62 class PowerSaveBlocker;
62 class RenderViewHost; 63 class RenderViewHost;
63 class RenderViewHostDelegateView; 64 class RenderViewHostDelegateView;
64 class RenderViewHostImpl; 65 class RenderViewHostImpl;
65 class RenderWidgetHostImpl; 66 class RenderWidgetHostImpl;
66 class SavePackage; 67 class SavePackage;
67 class ScreenOrientationDispatcherHost; 68 class ScreenOrientationDispatcherHost;
69 class SpeechRecognitionDispatcherHost;
68 class SiteInstance; 70 class SiteInstance;
69 class TestWebContents; 71 class TestWebContents;
70 class WebContentsAudioMuter; 72 class WebContentsAudioMuter;
71 class WebContentsDelegate; 73 class WebContentsDelegate;
72 class WebContentsImpl; 74 class WebContentsImpl;
73 class WebContentsObserver; 75 class WebContentsObserver;
74 class WebContentsView; 76 class WebContentsView;
75 class WebContentsViewDelegate; 77 class WebContentsViewDelegate;
76 struct AXEventNotificationDetails; 78 struct AXEventNotificationDetails;
77 struct ColorSuggestion; 79 struct ColorSuggestion;
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 1215
1214 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; 1216 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_;
1215 1217
1216 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; 1218 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_;
1217 1219
1218 scoped_ptr<ScreenOrientationDispatcherHost> 1220 scoped_ptr<ScreenOrientationDispatcherHost>
1219 screen_orientation_dispatcher_host_; 1221 screen_orientation_dispatcher_host_;
1220 1222
1221 scoped_ptr<ManifestManagerHost> manifest_manager_host_; 1223 scoped_ptr<ManifestManagerHost> manifest_manager_host_;
1222 1224
1225 scoped_ptr<SpeechRecognitionDispatcherHost, BrowserThread::DeleteOnIOThread>
1226 speech_recognition_dispatcher_host_;
1227
1223 // The accessibility mode for all frames. This is queried when each frame 1228 // The accessibility mode for all frames. This is queried when each frame
1224 // is created, and broadcast to all frames when it changes. 1229 // is created, and broadcast to all frames when it changes.
1225 AccessibilityMode accessibility_mode_; 1230 AccessibilityMode accessibility_mode_;
1226 1231
1227 // Monitors power levels for audio streams associated with this WebContents. 1232 // Monitors power levels for audio streams associated with this WebContents.
1228 AudioStreamMonitor audio_stream_monitor_; 1233 AudioStreamMonitor audio_stream_monitor_;
1229 1234
1230 // Created on-demand to mute all audio output from this WebContents. 1235 // Created on-demand to mute all audio output from this WebContents.
1231 scoped_ptr<WebContentsAudioMuter> audio_muter_; 1236 scoped_ptr<WebContentsAudioMuter> audio_muter_;
1232 1237
1233 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; 1238 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
1234 1239
1235 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1240 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1236 }; 1241 };
1237 1242
1238 } // namespace content 1243 } // namespace content
1239 1244
1240 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1245 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698