Widgets: implement zoomFactor

Change-Id: I7ef26e4a2e6c9eb228bcf5542ad272b998f8c6a3
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Quick: Add Favicon API

Adds a favicon API modelled after the WebKit2 QQuickWebView API, but
using an http(s) URL instead of a custom protocol, because there's no
icondatabase yet.

The icon URL lingers even when a new load is committed, until the load
finishes. It might be more prudent to clear the icon when committing a
new load, but I opted to let the app take care of that detail if
desired. Many browsers show a spinner instead of the favicon while
loading, for example.

There's no widget API implementation for favicons yet, because that API
only makes sense if we have a full-fledged icon database (case in
point: QWebEngineSettings::iconForUrl()).

Change-Id: I1e7b85104c80de2ae46a5fe9a273104d43a5c71f
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Add loadProgress API

This exposes loadProgress in both widget and quick webengineviews.
However, the progress will not change until we get an upstream change
in Chromium where the content LoadProgressChanged API is exposed to all
ports, not just Android. The upstream change is
https://src.chromium.org/viewvc/chrome?revision=221010&view=revision

Once we get that change, you'll see the widget example browser start to
paint a blue progress rectangle in the background of the URL bar. Also,
a progress bar was added to the quicknanobrowser, but it will be stuck
at 0 for now.

Change-Id: Icbaa01b86c013e0052b3abb7672c38e57128f44a
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Fix typo in quickwindow.qml

Set favicon image source to the value of the icon property, not the
url. D'oh!

Change-Id: I411f787f4f19fbeb2db9a61e4aada79b3527dcfb
Reviewed-by: Arvid Nilsson <anilsson@blackberry.com>
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Fix my broken coding style from 8c1de0f

Change-Id: Ibde02d2ef64f2684ccf626b908aad9721148297a
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Remove v8-private private dependency

Long live the new v4 (formerly known as v4vm)! :)

Change-Id: I9648e43276abb332b270a7c788a4bbff7334b919
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
We should still be able to build with Qt 5.1 for the time being.

Also remove 3rdparty_upstream from from submodules, accidentally
added in https://codereview.qt-project.org/#change,67241
This fixes init-repository.py.

Change-Id: I08c095e4830581156efc3f069e00e733dda1ffd8
Reviewed-by: Adam Kallai <kadam@inf.u-szeged.hu>
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Add preliminary context menu support

This is essentially the widgets part, with some tricks to get it to
honor the widget's context menu policy.
It enables c++11 for the widgets library for the convenience of using lambdas,
which admitedly we could do without, but seems reasonable considering our timeline
and the fact that we build chromium that way.

Change-Id: I6a632a78d2aa48fb0dfecfe491e92651d12407db
Add javascript dialogs support

This is just the basic core part and widgets plumbing and default
implementations of the virtual functions in QWebEnginePage.

QtQuick implementation is still yet to be done

Change-Id: I7cf8d6e5ec0bf747d45e9914db57bd0e4ef95b7f
WIP: QtQuick Context menus

Change-Id: I853218b548ca0a6a01513a23cca8a4df300f51a6
Pimp up our QtQuick browser

Change-Id: I48c0ed54cd946f223dc050b8a1f26282b02964a2
WIP evaluateJS

Change-Id: I64e15a6f5a168936c52a4da2cef6285dfd16e0d5
evaluateJavaScript: updated API

Change-Id: Ia640e108b3ffd703e756426cc0209e04e1ac8cc3
Import fancybrowser example

Change-Id: Ia61fbe3ef6b76c7530d10d4a3305d4208b3469ef
Make fancybrowser build and link

Change-Id: Ica4d77cb1db040b466c739e4fc1bfd37df544589
Quick and dirty JS example

Change-Id: I917f07335cdfdeaf304b3c013cff7c9e39ccf35b
WIP: function pointer aproach. Only works with lamdas that don't do any capture... pretty crappy

Change-Id: I0d2ba589de2d3b999b91780a78d9f768b9ebaa6f
the silly std::function approach

Change-Id: I0ce9db4d1f25b4af04638fe7088d1e259a3ea74d
Template function + Functor wrappers approach

Change-Id: Ia032831b4143b20bd4f69f29c8d8db4525c94931
Convert Dictionaries and Lists

Change-Id: I4c0a985d9e61829d57964e9dfabd520f9a2239c2