Title: [108682] trunk/Tools
Revision
108682
Author
[email protected]
Date
2012-02-23 15:20:11 -0800 (Thu, 23 Feb 2012)

Log Message

[Qt][WK2] Implement proxy authentication dialog.
https://bugs.webkit.org/show_bug.cgi?id=79350

Patch by Michael BrĂ¼ning <[email protected]> on 2012-02-23
Reviewed by Simon Hausmann.

* MiniBrowser/qt/MiniBrowser.qrc:
* MiniBrowser/qt/qml/BrowserWindow.qml:
* MiniBrowser/qt/qml/ProxyAuthenticationDialog.qml: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/Tools/ChangeLog (108681 => 108682)


--- trunk/Tools/ChangeLog	2012-02-23 23:18:05 UTC (rev 108681)
+++ trunk/Tools/ChangeLog	2012-02-23 23:20:11 UTC (rev 108682)
@@ -1,3 +1,14 @@
+2012-02-23  Michael BrĂ¼ning  <[email protected]>
+
+        [Qt][WK2] Implement proxy authentication dialog.
+        https://bugs.webkit.org/show_bug.cgi?id=79350
+
+        Reviewed by Simon Hausmann.
+
+        * MiniBrowser/qt/MiniBrowser.qrc:
+        * MiniBrowser/qt/qml/BrowserWindow.qml:
+        * MiniBrowser/qt/qml/ProxyAuthenticationDialog.qml: Added.
+
 2012-02-23  Kevin Ollivier  <[email protected]>
 
         [wx] Build fix, add recently added source dirs.

Modified: trunk/Tools/MiniBrowser/qt/MiniBrowser.qrc (108681 => 108682)


--- trunk/Tools/MiniBrowser/qt/MiniBrowser.qrc	2012-02-23 23:18:05 UTC (rev 108681)
+++ trunk/Tools/MiniBrowser/qt/MiniBrowser.qrc	2012-02-23 23:20:11 UTC (rev 108682)
@@ -18,6 +18,7 @@
         <file>qml/ItemSelector.qml</file>
         <file>qml/MockTouchPoint.qml</file>
         <file>qml/PromptDialog.qml</file>
+        <file>qml/ProxyAuthenticationDialog.qml</file>
         <file>qml/ViewportInfoItem.qml</file>
         <file>useragentlist.txt</file>
         <file>icons/favicon.png</file>

Modified: trunk/Tools/MiniBrowser/qt/qml/BrowserWindow.qml (108681 => 108682)


--- trunk/Tools/MiniBrowser/qt/qml/BrowserWindow.qml	2012-02-23 23:18:05 UTC (rev 108681)
+++ trunk/Tools/MiniBrowser/qt/qml/BrowserWindow.qml	2012-02-23 23:20:11 UTC (rev 108682)
@@ -311,6 +311,7 @@
         experimental.confirmDialog: ConfirmDialog { }
         experimental.promptDialog: PromptDialog { }
         experimental.authenticationDialog: AuthenticationDialog { }
+        experimental.proxyAuthenticationDialog: ProxyAuthenticationDialog { }
     }
 
     ViewportInfoItem {

Added: trunk/Tools/MiniBrowser/qt/qml/ProxyAuthenticationDialog.qml (0 => 108682)


--- trunk/Tools/MiniBrowser/qt/qml/ProxyAuthenticationDialog.qml	                        (rev 0)
+++ trunk/Tools/MiniBrowser/qt/qml/ProxyAuthenticationDialog.qml	2012-02-23 23:20:11 UTC (rev 108682)
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
+ *
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+import QtQuick 2.0
+
+AuthenticationDialog {
+    id: dialog
+
+    title: "Proxy authentication required."
+    message: model.hostname + ":" + model.port + " requires authentication."
+}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to