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

Side by Side Diff: extensions/renderer/resources/guest_view/web_view/web_view_attributes.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 attributes of the <webview> tag. 5 // This module implements the attributes of the <webview> tag.
6 6
7 var GuestViewInternal = 7 var GuestViewInternal =
8 require('binding').Binding.create('guestViewInternal').generate(); 8 require('binding').Binding.create('guestViewInternal').generate();
9 var WebViewImpl = require('webView').WebViewImpl; 9 var WebViewImpl = require('webView').WebViewImpl;
10 var WebViewConstants = require('webViewConstants').WebViewConstants; 10 var WebViewConstants = require('webViewConstants').WebViewConstants;
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 var autosizeAttributes = [WebViewConstants.ATTRIBUTE_MAXHEIGHT, 335 var autosizeAttributes = [WebViewConstants.ATTRIBUTE_MAXHEIGHT,
336 WebViewConstants.ATTRIBUTE_MAXWIDTH, 336 WebViewConstants.ATTRIBUTE_MAXWIDTH,
337 WebViewConstants.ATTRIBUTE_MINHEIGHT, 337 WebViewConstants.ATTRIBUTE_MINHEIGHT,
338 WebViewConstants.ATTRIBUTE_MINWIDTH]; 338 WebViewConstants.ATTRIBUTE_MINWIDTH];
339 for (var i = 0; autosizeAttributes[i]; ++i) { 339 for (var i = 0; autosizeAttributes[i]; ++i) {
340 this.attributes[autosizeAttributes[i]] = 340 this.attributes[autosizeAttributes[i]] =
341 new AutosizeDimensionAttribute(autosizeAttributes[i], this); 341 new AutosizeDimensionAttribute(autosizeAttributes[i], this);
342 } 342 }
343 }; 343 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698