RESOLVED FIXED 123323
Move ViewStateFlags out of WebPageProxy
https://bugs.webkit.org/show_bug.cgi?id=123323
Summary Move ViewStateFlags out of WebPageProxy
Gavin Barraclough
Reported 2013-10-24 23:51:34 PDT
WebPageProxy contains an enum and typedef that provide a bitfield of flags describing the visibility of the view containing the page. We're going to want to use this bitfield in a message to the WebProcess, so moving out from the UIProcess to shared code. Creating struct 'ViewState' to scope the enum and typedef. Renamed ViewStateFlags to ViewState::Flags, and removed redundant 'View' from enum entries.
Attachments
Fix (15.92 KB, patch)
2013-10-24 23:54 PDT, Gavin Barraclough
sam: review+
eflews.bot: commit-queue-
Gavin Barraclough
Comment 1 2013-10-24 23:54:08 PDT
WebKit Commit Bot
Comment 2 2013-10-24 23:55:34 PDT
Attachment 215144 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/Shared/ViewState.h', u'Source/WebKit2/UIProcess/API/mac/WKView.mm', u'Source/WebKit2/UIProcess/WebPageProxy.cpp', u'Source/WebKit2/UIProcess/WebPageProxy.h', u'Source/WebKit2/WebKit2.xcodeproj/project.pbxproj']" exit_code: 1 Source/WebKit2/UIProcess/WebPageProxy.h:327: The parameter name "flags" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
EFL EWS Bot
Comment 3 2013-10-25 02:02:44 PDT
Gavin Barraclough
Comment 4 2013-10-25 11:18:47 PDT
Fixed in r158026
Gavin Barraclough
Comment 5 2013-10-25 11:24:32 PDT
Ooops, relanded 158027/158028.
Note You need to log in before you can comment on or make changes to this bug.