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

Side by Side Diff: extensions/renderer/resources/guest_view/web_view/web_view_events.js

Issue 988853002: Moved the javascript files for each respective guest_view type into subdirectories of guest_view/ . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Event management for WebView. 5 // Event management for WebView.
6 6
7 var CreateEvent = require('guestViewEvents').CreateEvent; 7 var CreateEvent = require('guestViewEvents').CreateEvent;
8 var DeclarativeWebRequestSchema = 8 var DeclarativeWebRequestSchema =
9 requireNative('schema_registry').GetSchema('declarativeWebRequest'); 9 requireNative('schema_registry').GetSchema('declarativeWebRequest');
10 var EventBindings = require('event_bindings'); 10 var EventBindings = require('event_bindings');
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 WebRequestMessageEvent.addListener(function() { 271 WebRequestMessageEvent.addListener(function() {
272 // Re-dispatch to subEvent's listeners. 272 // Re-dispatch to subEvent's listeners.
273 $Function.apply(this.dispatch, this, $Array.slice(arguments)); 273 $Function.apply(this.dispatch, this, $Array.slice(arguments));
274 }.bind(this), {instanceId: opt_webViewInstanceId || 0}); 274 }.bind(this), {instanceId: opt_webViewInstanceId || 0});
275 } 275 }
276 276
277 DeclarativeWebRequestEvent.prototype.__proto__ = EventBindings.Event.prototype; 277 DeclarativeWebRequestEvent.prototype.__proto__ = EventBindings.Event.prototype;
278 278
279 // Exports. 279 // Exports.
280 exports.WebViewEvents = WebViewEvents; 280 exports.WebViewEvents = WebViewEvents;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698