RESOLVED FIXED 64174
[Qt][WK2] Views should expose QActions for basic navigation.
https://bugs.webkit.org/show_bug.cgi?id=64174
Summary [Qt][WK2] Views should expose QActions for basic navigation.
Andreas Kling
Reported 2011-07-08 10:14:12 PDT
The web views should expose QActions for Back, Forward, Reload and Stop.
Attachments
Proposed patch (10.43 KB, patch)
2011-07-08 10:17 PDT, Andreas Kling
benjamin: review-
Proposed patch v2 (15.93 KB, patch)
2011-07-08 11:08 PDT, Andreas Kling
benjamin: review+
kling: commit-queue-
Andreas Kling
Comment 1 2011-07-08 10:17:00 PDT
Created attachment 100130 [details] Proposed patch
Benjamin Poulain
Comment 2 2011-07-08 10:18:27 PDT
Comment on attachment 100130 [details] Proposed patch Needs tests :)
Andreas Kling
Comment 3 2011-07-08 10:25:30 PDT
(In reply to comment #2) > (From update of attachment 100130 [details]) > Needs tests :) Ah duh, in the CommonViewInterface of course. I also realized that for the mobile view, the page should have the navigation actions, not the view. Cookin' a new one for ya.
Andreas Kling
Comment 4 2011-07-08 11:08:14 PDT
Created attachment 100136 [details] Proposed patch v2
Andreas Kling
Comment 5 2011-07-08 11:11:18 PDT
Comment on attachment 100136 [details] Proposed patch v2 View in context: https://bugs.webkit.org/attachment.cgi?id=100136&action=review > Tools/MiniBrowser/qt/BrowserView.cpp:97 > + return touchWebView()->navigationAction(which); Should be touchWebView()->page()->..., will fix when landing.
WebKit Review Bot
Comment 6 2011-07-08 11:12:03 PDT
Attachment 100136 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Source/WebKit2/UIProcess/API/qt/tests/commonviewtests/webviewabstraction.cpp:20: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 2 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 7 2011-07-08 11:25:43 PDT
Comment on attachment 100136 [details] Proposed patch v2 Attachment 100136 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/9000616
Benjamin Poulain
Comment 8 2011-07-08 11:29:11 PDT
Comment on attachment 100136 [details] Proposed patch v2 Stylebot + > Tools/MiniBrowser/qt/BrowserView.cpp:98 > + Q_ASSERT(0); Q_ASSERT(false)
Andreas Kling
Comment 9 2011-07-08 11:38:04 PDT
Note You need to log in before you can comment on or make changes to this bug.