Bug 123323

Summary: Move ViewStateFlags out of WebPageProxy
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, cgarcia, commit-queue, eflews.bot, gyuyoung.kim, rego+ews, simon.fraser, svillar, thorton, xan.lopez, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fix sam: review+, eflews.bot: commit-queue-

Description Gavin Barraclough 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.
Comment 1 Gavin Barraclough 2013-10-24 23:54:08 PDT
Created attachment 215144 [details]
Fix
Comment 2 WebKit Commit Bot 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.
Comment 3 EFL EWS Bot 2013-10-25 02:02:44 PDT
Comment on attachment 215144 [details]
Fix

Attachment 215144 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/11928069
Comment 4 Gavin Barraclough 2013-10-25 11:18:47 PDT
Fixed in r158026
Comment 5 Gavin Barraclough 2013-10-25 11:24:32 PDT
Ooops, relanded 158027/158028.