| Index: chrome/renderer/resources/extensions/web_view_experimental.js
|
| diff --git a/chrome/renderer/resources/extensions/web_view_experimental.js b/chrome/renderer/resources/extensions/web_view_experimental.js
|
| index d8628e0966e524655e08b8ea481f9be0d803dfea..34d536d10d7b244fffb432832bfcd16e87fdee9a 100644
|
| --- a/chrome/renderer/resources/extensions/web_view_experimental.js
|
| +++ b/chrome/renderer/resources/extensions/web_view_experimental.js
|
| @@ -35,17 +35,6 @@ var utils = require('utils');
|
| // is prevented, then its dispatch function will return false in its event
|
| // handler. The event must have a custom handler for this to be meaningful.
|
| var WEB_VIEW_EXPERIMENTAL_EVENTS = {
|
| - 'findupdate': {
|
| - evt: CreateEvent('webViewInternal.onFindReply'),
|
| - fields: [
|
| - 'searchText',
|
| - 'numberOfMatches',
|
| - 'activeMatchOrdinal',
|
| - 'selectionRect',
|
| - 'canceled',
|
| - 'finalUpdate'
|
| - ]
|
| - },
|
| 'zoomchange': {
|
| evt: CreateEvent('webViewInternal.onZoomChange'),
|
| fields: ['oldZoomFactor', 'newZoomFactor']
|
| @@ -207,22 +196,6 @@ WebViewInternal.prototype.captureVisibleRegion = function(spec, callback) {
|
| WebView.captureVisibleRegion(this.instanceId, spec, callback);
|
| };
|
|
|
| -/** @private */
|
| -WebViewInternal.prototype.find = function(search_text, options, callback) {
|
| - if (!this.instanceId) {
|
| - return;
|
| - }
|
| - WebView.find(this.instanceId, search_text, options, callback);
|
| -};
|
| -
|
| -/** @private */
|
| -WebViewInternal.prototype.stopFinding = function(action) {
|
| - if (!this.instanceId) {
|
| - return;
|
| - }
|
| - WebView.stopFinding(this.instanceId, action);
|
| -};
|
| -
|
| WebViewInternal.maybeRegisterExperimentalAPIs = function(proto) {
|
| proto.setZoom = function(zoomFactor, callback) {
|
| privates(this).internal.setZoom(zoomFactor, callback);
|
| @@ -235,14 +208,6 @@ WebViewInternal.maybeRegisterExperimentalAPIs = function(proto) {
|
| proto.captureVisibleRegion = function(spec, callback) {
|
| privates(this).internal.captureVisibleRegion(spec, callback);
|
| };
|
| -
|
| - proto.find = function(search_text, options, callback) {
|
| - privates(this).internal.find(search_text, options, callback);
|
| - };
|
| -
|
| - proto.stopFinding = function(action) {
|
| - privates(this).internal.stopFinding(action);
|
| - };
|
| };
|
|
|
| /** @private */
|
|
|