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

Side by Side Diff: extensions/renderer/resources/guest_view/web_view/web_view_api_methods.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 // This module implements the public-facing API functions for the <webview> tag. 5 // This module implements the public-facing API functions for the <webview> tag.
6 6
7 var WebViewInternal = require('webViewInternal').WebViewInternal; 7 var WebViewInternal = require('webViewInternal').WebViewInternal;
8 var WebViewImpl = require('webView').WebViewImpl; 8 var WebViewImpl = require('webView').WebViewImpl;
9 9
10 // An array of <webview>'s public-facing API methods. Methods without custom 10 // An array of <webview>'s public-facing API methods. Methods without custom
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 WebViewInternal.overrideUserAgent(this.guest.getId(), userAgentOverride); 152 WebViewInternal.overrideUserAgent(this.guest.getId(), userAgentOverride);
153 return true; 153 return true;
154 }; 154 };
155 155
156 // ----------------------------------------------------------------------------- 156 // -----------------------------------------------------------------------------
157 157
158 WebViewImpl.getApiMethods = function() { 158 WebViewImpl.getApiMethods = function() {
159 return WEB_VIEW_API_METHODS; 159 return WEB_VIEW_API_METHODS;
160 }; 160 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698