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

Side by Side Diff: public/web/WebFrameClient.h

Issue 899853002: Merge 188868 "Revert of Make SpeechRecognitionController per fra..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2272/
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 class WebMediaPlayerClient; 71 class WebMediaPlayerClient;
72 class WebMIDIClient; 72 class WebMIDIClient;
73 class WebNotificationPermissionCallback; 73 class WebNotificationPermissionCallback;
74 class WebServiceWorkerProvider; 74 class WebServiceWorkerProvider;
75 class WebSocketHandle; 75 class WebSocketHandle;
76 class WebPlugin; 76 class WebPlugin;
77 class WebPluginPlaceholder; 77 class WebPluginPlaceholder;
78 class WebPushClient; 78 class WebPushClient;
79 class WebRTCPeerConnectionHandler; 79 class WebRTCPeerConnectionHandler;
80 class WebScreenOrientationClient; 80 class WebScreenOrientationClient;
81 class WebSpeechRecognizer;
82 class WebString; 81 class WebString;
83 class WebURL; 82 class WebURL;
84 class WebURLResponse; 83 class WebURLResponse;
85 class WebUserMediaClient; 84 class WebUserMediaClient;
86 class WebWorkerPermissionClientProxy; 85 class WebWorkerPermissionClientProxy;
87 struct WebColorSuggestion; 86 struct WebColorSuggestion;
88 struct WebConsoleMessage; 87 struct WebConsoleMessage;
89 struct WebContextMenuData; 88 struct WebContextMenuData;
90 struct WebPluginParams; 89 struct WebPluginParams;
91 struct WebPopupMenuInfo; 90 struct WebPopupMenuInfo;
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 587
589 // Whether the document associated with WebDataSource is controlled by the 588 // Whether the document associated with WebDataSource is controlled by the
590 // ServiceWorker. 589 // ServiceWorker.
591 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } 590 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; }
592 591
593 // Returns an identifier of the service worker controlling the document 592 // Returns an identifier of the service worker controlling the document
594 // associated with the WebDataSource. 593 // associated with the WebDataSource.
595 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } 594 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
596 595
597 596
598 // Speech --------------------------------------------------------------
599
600 // Access the embedder API for speech recognition services.
601 virtual WebSpeechRecognizer* speechRecognizer() { return 0; }
602
603
604 // Fullscreen ---------------------------------------------------------- 597 // Fullscreen ----------------------------------------------------------
605 598
606 // Called to enter/exit fullscreen mode. If enterFullScreen returns true, 599 // Called to enter/exit fullscreen mode. If enterFullScreen returns true,
607 // then WebWidget::{will,Did}EnterFullScreen should bound resizing the 600 // then WebWidget::{will,Did}EnterFullScreen should bound resizing the
608 // WebWidget into fullscreen mode. Similarly, when exitFullScreen is 601 // WebWidget into fullscreen mode. Similarly, when exitFullScreen is
609 // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the 602 // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the
610 // WebWidget out of fullscreen mode. 603 // WebWidget out of fullscreen mode.
611 virtual bool enterFullscreen() { return false; } 604 virtual bool enterFullscreen() { return false; }
612 virtual bool exitFullscreen() { return false; } 605 virtual bool exitFullscreen() { return false; }
613 606
614 protected: 607 protected:
615 virtual ~WebFrameClient() { } 608 virtual ~WebFrameClient() { }
616 }; 609 };
617 610
618 } // namespace blink 611 } // namespace blink
619 612
620 #endif 613 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698