Implemented explicit resizing from guestview.
commiteb98f911ef43bf5463621031d0e79a98e061b3cb
authorpaulmeyer <paulmeyer@chromium.org>
Fri, 23 Jan 2015 17:13:38 +0000 (23 09:13 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 23 Jan 2015 17:14:51 +0000 (23 17:14 +0000)
treee7ba01d6f7ceadcd94941ed1c6db7b857727c57b
parentfa52466b75af4dc5cf17354b4912fa6634d33b3d
Implemented explicit resizing from guestview.

A guest can now be explicitly resized (in addition to autosizing) from guest_view.js, using the new |setSize| function. This new function combines autosizing and normal resizing, as described in: https://docs.google.com/document/d/1EJfmJSK0JJsxKptSRhepnsOOwvXJNv5nnJ1pZdjGDRQ

BUG=434226

Review URL: https://codereview.chromium.org/857093003

Cr-Commit-Position: refs/heads/master@{#312866}
15 files changed:
chrome/renderer/resources/extensions/extension_options.js
chrome/test/data/extensions/platform_apps/web_view/shim/main.js
extensions/browser/api/guest_view/guest_view_internal_api.cc
extensions/browser/api/guest_view/guest_view_internal_api.h
extensions/browser/guest_view/extension_options/extension_options_guest.cc
extensions/browser/guest_view/guest_view_base.cc
extensions/browser/guest_view/guest_view_base.h
extensions/common/api/guest_view_internal.json
extensions/common/guest_view/guest_view_constants.cc
extensions/common/guest_view/guest_view_constants.h
extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc
extensions/renderer/resources/guest_view/guest_view.js
extensions/renderer/resources/guest_view/guest_view_container.js
extensions/renderer/resources/guest_view/web_view_attributes.js
extensions/test/data/web_view/apitest/main.js