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

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

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Fresh update Created 7 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 #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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 class BrowserPpapiHost; 71 class BrowserPpapiHost;
72 class BrowserURLHandler; 72 class BrowserURLHandler;
73 class MediaObserver; 73 class MediaObserver;
74 class QuotaPermissionContext; 74 class QuotaPermissionContext;
75 class RenderProcessHost; 75 class RenderProcessHost;
76 class RenderViewHost; 76 class RenderViewHost;
77 class RenderViewHostDelegateView; 77 class RenderViewHostDelegateView;
78 class ResourceContext; 78 class ResourceContext;
79 class SiteInstance; 79 class SiteInstance;
80 class SpeechRecognitionManagerDelegate; 80 class SpeechRecognitionManagerDelegate;
81 class TtsDispatcherHostDelegate;
81 class WebContents; 82 class WebContents;
82 class WebContentsViewDelegate; 83 class WebContentsViewDelegate;
83 class WebContentsViewPort; 84 class WebContentsViewPort;
84 struct MainFunctionParams; 85 struct MainFunctionParams;
85 struct ShowDesktopNotificationHostMsgParams; 86 struct ShowDesktopNotificationHostMsgParams;
86 87
87 // A mapping from the scheme name to the protocol handler that services its 88 // A mapping from the scheme name to the protocol handler that services its
88 // content. 89 // content.
89 typedef std::map< 90 typedef std::map<
90 std::string, linked_ptr<net::URLRequestJobFactory::ProtocolHandler> > 91 std::string, linked_ptr<net::URLRequestJobFactory::ProtocolHandler> >
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 418
418 // Notifies the embedder that the ResourceDispatcherHost has been created. 419 // Notifies the embedder that the ResourceDispatcherHost has been created.
419 // This is when it can optionally add a delegate. 420 // This is when it can optionally add a delegate.
420 virtual void ResourceDispatcherHostCreated() {} 421 virtual void ResourceDispatcherHostCreated() {}
421 422
422 // Allows the embedder to return a delegate for the SpeechRecognitionManager. 423 // Allows the embedder to return a delegate for the SpeechRecognitionManager.
423 // The delegate will be owned by the manager. It's valid to return NULL. 424 // The delegate will be owned by the manager. It's valid to return NULL.
424 virtual SpeechRecognitionManagerDelegate* 425 virtual SpeechRecognitionManagerDelegate*
425 GetSpeechRecognitionManagerDelegate(); 426 GetSpeechRecognitionManagerDelegate();
426 427
428 // Allows the embedder to return a delegate for the TtsDispatcherHost.
429 // The delegate will be owned by the dispatcher. It's valid to return NULL.
430 virtual TtsDispatcherHostDelegate* GetTtsDispatcherHostDelegate();
431
427 // Getters for common objects. 432 // Getters for common objects.
428 virtual net::NetLog* GetNetLog(); 433 virtual net::NetLog* GetNetLog();
429 434
430 // Creates a new AccessTokenStore for gelocation. 435 // Creates a new AccessTokenStore for gelocation.
431 virtual AccessTokenStore* CreateAccessTokenStore(); 436 virtual AccessTokenStore* CreateAccessTokenStore();
432 437
433 // Returns true if fast shutdown is possible. 438 // Returns true if fast shutdown is possible.
434 virtual bool IsFastShutdownPossible(); 439 virtual bool IsFastShutdownPossible();
435 440
436 // Called by WebContents to override the WebKit preferences that are used by 441 // Called by WebContents to override the WebKit preferences that are used by
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 // This is called on a worker thread. 512 // This is called on a worker thread.
508 virtual 513 virtual
509 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 514 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
510 const GURL& url); 515 const GURL& url);
511 #endif 516 #endif
512 }; 517 };
513 518
514 } // namespace content 519 } // namespace content
515 520
516 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 521 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698