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

Side by Side Diff: content/public/browser/content_browser_client.h

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
« no previous file with comments | « content/public/browser/browser_context.h ('k') | content/public/browser/speech_input_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "content/public/common/content_client.h" 14 #include "content/public/common/content_client.h"
15 #include "content/public/common/media_stream_request.h" 15 #include "content/public/common/media_stream_request.h"
16 #include "content/public/common/window_container_type.h" 16 #include "content/public/common/window_container_type.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h"
18 18
19 class BrowserURLHandler; 19 class BrowserURLHandler;
20 class CommandLine; 20 class CommandLine;
21 class FilePath; 21 class FilePath;
22 class GURL; 22 class GURL;
23 class PluginProcessHost; 23 class PluginProcessHost;
24 class RenderViewHost; 24 class RenderViewHost;
25 class ResourceDispatcherHost; 25 class ResourceDispatcherHost;
26 class SkBitmap; 26 class SkBitmap;
27 struct WebPreferences; 27 struct WebPreferences;
28 28
29 namespace content {
30 class AccessTokenStore;
31 class BrowserMainParts;
32 class RenderProcessHost;
33 class SiteInstance;
34 class SpeechRecognitionManagerDelegate;
35 class WebContents;
36 class WebContentsView;
37 struct MainFunctionParams;
38 struct ShowDesktopNotificationHostMsgParams;
39 }
40
29 namespace crypto { 41 namespace crypto {
30 class CryptoModuleBlockingPasswordDelegate; 42 class CryptoModuleBlockingPasswordDelegate;
31 } 43 }
32 44
33 namespace net { 45 namespace net {
34 class CookieList; 46 class CookieList;
35 class CookieOptions; 47 class CookieOptions;
36 class HttpNetworkSession; 48 class HttpNetworkSession;
37 class NetLog; 49 class NetLog;
38 class SSLCertRequestInfo; 50 class SSLCertRequestInfo;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 // Returns a title string to use in the task manager for a process host with 327 // Returns a title string to use in the task manager for a process host with
316 // the given URL, or the empty string to fall back to the default logic. 328 // the given URL, or the empty string to fall back to the default logic.
317 // This is called on the IO thread. 329 // This is called on the IO thread.
318 virtual std::string GetWorkerProcessTitle( 330 virtual std::string GetWorkerProcessTitle(
319 const GURL& url, content::ResourceContext* context) = 0; 331 const GURL& url, content::ResourceContext* context) = 0;
320 332
321 // Notifies the embedder that the ResourceDispatcherHost has been created. 333 // Notifies the embedder that the ResourceDispatcherHost has been created.
322 // This is when it can optionally add a delegate or ResourceQueueDelegates. 334 // This is when it can optionally add a delegate or ResourceQueueDelegates.
323 virtual void ResourceDispatcherHostCreated() = 0; 335 virtual void ResourceDispatcherHostCreated() = 0;
324 336
325 // Allows the embedder to return a delegate for the SpeechInputManager. The 337 // Allows the embedder to return a delegate for the SpeechRecognitionManager.
326 // delegate will be owned by the manager. It's valid to return NULL. 338 // The delegate will be owned by the manager. It's valid to return NULL.
327 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() = 0; 339 virtual SpeechRecognitionManagerDelegate*
340 GetSpeechRecognitionManagerDelegate() = 0;
328 341
329 // Getters for common objects. 342 // Getters for common objects.
330 virtual ui::Clipboard* GetClipboard() = 0; 343 virtual ui::Clipboard* GetClipboard() = 0;
331 virtual net::NetLog* GetNetLog() = 0; 344 virtual net::NetLog* GetNetLog() = 0;
332 345
333 // Creates a new AccessTokenStore for gelocation. 346 // Creates a new AccessTokenStore for gelocation.
334 virtual AccessTokenStore* CreateAccessTokenStore() = 0; 347 virtual AccessTokenStore* CreateAccessTokenStore() = 0;
335 348
336 // Returns true if fast shutdown is possible. 349 // Returns true if fast shutdown is possible.
337 virtual bool IsFastShutdownPossible() = 0; 350 virtual bool IsFastShutdownPossible() = 0;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 // This is called on a worker thread. 402 // This is called on a worker thread.
390 virtual 403 virtual
391 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 404 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
392 const GURL& url) = 0; 405 const GURL& url) = 0;
393 #endif 406 #endif
394 }; 407 };
395 408
396 } // namespace content 409 } // namespace content
397 410
398 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 411 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_context.h ('k') | content/public/browser/speech_input_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698