Revert "Revert "Merge branch 'mjog/558-webkit-shared-process' into 'mainline'""
This reverts commitcbe6e0ba9b, which reinstates commite4a5b85698. See !411 and !374
This commit is contained in:
parent
d0fff267f8
commit
d7af23201c
28 changed files with 418 additions and 245 deletions
|
|
@ -1,11 +0,0 @@
|
|||
/*
|
||||
* Copyright 2016 Michael Gratton <mike@vee.net>
|
||||
*
|
||||
* This software is licensed under the GNU Lesser General Public License
|
||||
* (version 2.1 or later). See the COPYING file in this distribution.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Enables remote image loading in a client web view.
|
||||
*/
|
||||
geary.allowRemoteImages = true;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Application logic for ClientWebView and subclasses.
|
||||
* Application logic for Components.WebView and subclasses.
|
||||
*/
|
||||
|
||||
let PageState = function() {
|
||||
|
|
@ -14,7 +14,6 @@ let PageState = function() {
|
|||
};
|
||||
PageState.prototype = {
|
||||
init: function() {
|
||||
this.allowRemoteImages = false;
|
||||
this.isLoaded = false;
|
||||
this.undoEnabled = false;
|
||||
this.redoEnabled = false;
|
||||
|
|
@ -108,7 +107,7 @@ PageState.prototype = {
|
|||
window.webkit.messageHandlers.contentLoaded.postMessage(null);
|
||||
},
|
||||
loadRemoteImages: function() {
|
||||
this.allowRemoteImages = true;
|
||||
window._gearyAllowRemoteResourceLoads = true;
|
||||
let images = document.getElementsByTagName("IMG");
|
||||
for (let i = 0; i < images.length; i++) {
|
||||
let img = images.item(i);
|
||||
|
|
@ -473,6 +473,7 @@
|
|||
<object class="GtkRevealer" id="body_revealer">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="transition_type">slide-up</property>
|
||||
<child>
|
||||
<object class="GtkGrid">
|
||||
<property name="visible">True</property>
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@
|
|||
<file compressed="true" preprocess="xml-stripblanks">accounts_editor_servers_pane.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">application-main-window.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">certificate_warning_dialog.glade</file>
|
||||
<file compressed="true">client-web-view.js</file>
|
||||
<file compressed="true">client-web-view-allow-remote-images.js</file>
|
||||
<file compressed="true">components-web-view.js</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">components-attachment-pane.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">components-attachment-pane-menus.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">components-attachment-view.ui</file>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue