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

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

Issue 636863002: Make SpeechRecognitionController per frame instead of per page. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class WebElement; 55 class WebElement;
56 class WebFileChooserCompletion; 56 class WebFileChooserCompletion;
57 class WebGestureEvent; 57 class WebGestureEvent;
58 class WebHitTestResult; 58 class WebHitTestResult;
59 class WebImage; 59 class WebImage;
60 class WebInputElement; 60 class WebInputElement;
61 class WebKeyboardEvent; 61 class WebKeyboardEvent;
62 class WebNode; 62 class WebNode;
63 class WebPushClient; 63 class WebPushClient;
64 class WebRange; 64 class WebRange;
65 class WebSpeechRecognizer;
66 class WebStorageNamespace; 65 class WebStorageNamespace;
67 class WebURL; 66 class WebURL;
68 class WebURLRequest; 67 class WebURLRequest;
69 class WebView; 68 class WebView;
70 class WebWidget; 69 class WebWidget;
71 struct WebConsoleMessage; 70 struct WebConsoleMessage;
72 struct WebDateTimeChooserParams; 71 struct WebDateTimeChooserParams;
73 struct WebPoint; 72 struct WebPoint;
74 struct WebPopupMenuInfo; 73 struct WebPopupMenuInfo;
75 struct WebRect; 74 struct WebRect;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 231
233 // Developer tools ----------------------------------------------------- 232 // Developer tools -----------------------------------------------------
234 233
235 // Called to notify the client that the inspector's settings were 234 // Called to notify the client that the inspector's settings were
236 // changed and should be saved. See WebView::inspectorSettings. 235 // changed and should be saved. See WebView::inspectorSettings.
237 virtual void didUpdateInspectorSettings() { } 236 virtual void didUpdateInspectorSettings() { }
238 237
239 virtual void didUpdateInspectorSetting(const WebString& key, const WebString & value) { } 238 virtual void didUpdateInspectorSetting(const WebString& key, const WebString & value) { }
240 239
241 240
242 // Speech --------------------------------------------------------------
dcheng 2014/11/11 08:09:58 These sort of things usually require a 3-way patch
mlamouri (slow - plz ping) 2014/11/28 10:43:04 That's correct. I use this patch with a chromium p
243
244 // Access the embedder API for speech recognition services.
245 virtual WebSpeechRecognizer* speechRecognizer() { return 0; }
246
247
248 // Zoom ---------------------------------------------------------------- 241 // Zoom ----------------------------------------------------------------
249 242
250 // Informs the browser that the zoom levels for this frame have changed from 243 // Informs the browser that the zoom levels for this frame have changed from
251 // the default values. 244 // the default values.
252 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } 245 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { }
253 246
254 // Informs the browser that the zoom level has changed as a result of an 247 // Informs the browser that the zoom level has changed as a result of an
255 // action that wasn't initiated by the client. 248 // action that wasn't initiated by the client.
256 virtual void zoomLevelChanged() { } 249 virtual void zoomLevelChanged() { }
257 250
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // Informs the browser that the draggable regions have been updated. 299 // Informs the browser that the draggable regions have been updated.
307 virtual void draggableRegionsChanged() { } 300 virtual void draggableRegionsChanged() { }
308 301
309 protected: 302 protected:
310 ~WebViewClient() { } 303 ~WebViewClient() { }
311 }; 304 };
312 305
313 } // namespace blink 306 } // namespace blink
314 307
315 #endif 308 #endif
OLDNEW
« Source/web/WebLocalFrameImpl.cpp ('K') | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698