Implemented explicit resizing from guestview.
commit681a4fc1d1ac77a17c69ba23fa6710a0e3aa206f
authorpaulmeyer <paulmeyer@chromium.org>
Tue, 13 Jan 2015 17:45:13 +0000 (13 09:45 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 13 Jan 2015 17:46:39 +0000 (13 17:46 +0000)
tree1924a1c0430ca7b906c9f28b5bb15e9cc4fbb662
parentc3d70846e8ebe78e77e10e4fe6ca361db46093a9
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/847893002

Cr-Commit-Position: refs/heads/master@{#311286}
13 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/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/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