Changeset 162028 in webkit
- Timestamp:
- Jan 14, 2014 5:35:27 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r162007 r162028 1 2014-01-14 Benjamin Poulain <bpoulain@apple.com> 2 3 [WK2] Make WebPageProxy's setUserAgent private 4 https://bugs.webkit.org/show_bug.cgi?id=127013 5 6 Reviewed by Anders Carlsson. 7 8 * UIProcess/WebPageProxy.h: 9 The API to modify the user agent already has 3 "setters": 10 -standardUserAgent 11 -setApplicationNameForUserAgent 12 -setCustomUserAgent 13 14 The method WebPageProxy::setUserAgent() is supposed to be internal, not used directly. 15 Using it directly would cause unexpected behaviors, for example: 16 -Set the user agent with setUserAgent. 17 -Set CustomUserAgent. 18 -Reset CustomUserAgent. 19 ->The user agent is now standardUserAgent instead of the user agent defined initially. 20 1 21 2014-01-14 Commit Queue <commit-queue@webkit.org> 2 22 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r162007 r162028 523 523 const String& toolTip() const { return m_toolTip; } 524 524 525 void setUserAgent(const String&);526 525 const String& userAgent() const { return m_userAgent; } 527 526 void setApplicationNameForUserAgent(const String&); … … 864 863 void resetState(); 865 864 void resetStateAfterProcessExited(); 865 866 void setUserAgent(const String&); 866 867 867 868 // IPC::MessageReceiver
Note: See TracChangeset
for help on using the changeset viewer.