Merge lp:~osomon/oxide/loadHtml into lp:~oxide-developers/oxide/oxide.trunk
Proposed by
Olivier Tilloy
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 560 | ||||
Proposed branch: | lp:~osomon/oxide/loadHtml | ||||
Merge into: | lp:~oxide-developers/oxide/oxide.trunk | ||||
Diff against target: | 0 lines | ||||
To merge this branch: | bzr merge lp:~osomon/oxide/loadHtml | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Coulson | Approve | ||
Review via email: mp+220391@code.launchpad.net |
Commit message
Add a loadHtml slot to the QML webview.
To post a comment you must log in.
Thanks, this looks pretty much fine.
+ :NavigationCont roller: :LoadURLParams params( (GURL(url) )); :NavigationCont roller: :LOAD_TYPE_ DATA; base_url_ for_data_ url = baseUrl; virtual_ url_for_ data_url = baseUrl.is_empty() ? GURL(content: :kAboutBlankURL ) : baseUrl; can_load_ local_resources = true; ->GetController ().LoadURLWithP arams(params) ;
+ content:
+ params.load_type = content:
+ params.
+ params.
+ params.
+ web_contents_
You're just missing the following:
params. override_ user_agent = content: :NavigationCont roller: :UA_OVERRIDE_ TRUE;
With that, this is fine to merge