2011-06-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
authorcaio.oliveira@openbossa.org <caio.oliveira@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Jun 2011 01:44:54 +0000 (01:44 +0000)
committercaio.oliveira@openbossa.org <caio.oliveira@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Jun 2011 01:44:54 +0000 (01:44 +0000)
        Reviewed by Andreas Kling.

        [Qt] Fix enum order in qwebpage.h public API header
        https://bugs.webkit.org/show_bug.cgi?id=61959

        Since qwebpage.h is a public header, we can't change the values of
        the enumerations. This patch moves the new enumeration to the end
        of the list. As a bonus, adds a missing entry in
        editorCommandWebActions table.

        * Api/qwebpage.cpp:
        * Api/qwebpage.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/qt/Api/qwebpage.cpp
Source/WebKit/qt/Api/qwebpage.h
Source/WebKit/qt/ChangeLog

index 87dd926..07ff0aa 100644 (file)
@@ -173,7 +173,6 @@ static const char* editorCommandWebActions[] =
     0, // OpenImageInNewWindow,
     0, // DownloadImageToDisk,
     0, // CopyImageToClipboard,
-    0, // CopyImageUrlToClipboard,
 
     0, // Back,
     0, // Forward,
@@ -244,6 +243,10 @@ static const char* editorCommandWebActions[] =
     "AlignLeft", // AlignLeft,
     "AlignRight", // AlignRight,
 
+    0, // StopScheduledPageRefresh,
+
+    0, // CopyImageUrlToClipboard,
+
     0 // WebActionCount
 };
 
index e12b460..f1f481b 100644 (file)
@@ -105,7 +105,6 @@ public:
         OpenImageInNewWindow,
         DownloadImageToDisk,
         CopyImageToClipboard,
-        CopyImageUrlToClipboard,
 
         Back,
         Forward,
@@ -179,6 +178,8 @@ public:
 
         StopScheduledPageRefresh,
 
+        CopyImageUrlToClipboard,
+
         WebActionCount
     };
 
index 187c7b5..41e6bc2 100644 (file)
@@ -1,3 +1,18 @@
+2011-06-02  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
+
+        Reviewed by Andreas Kling.
+
+        [Qt] Fix enum order in qwebpage.h public API header
+        https://bugs.webkit.org/show_bug.cgi?id=61959
+
+        Since qwebpage.h is a public header, we can't change the values of
+        the enumerations. This patch moves the new enumeration to the end
+        of the list. As a bonus, adds a missing entry in
+        editorCommandWebActions table.
+
+        * Api/qwebpage.cpp:
+        * Api/qwebpage.h:
+
 2011-06-02  Andreas Kling  <kling@webkit.org>
 
         Rubber-stamped by Simon Hausmann.