[Webkit-unassigned] [Bug 83959] [chromium] Add ability to override user agent string per-WebFrameClient
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 27 14:37:09 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83959
--- Comment #8 from Tony Chang <tony at chromium.org> 2012-04-27 14:37:05 PST ---
The inspector hook is in FrameLoader::userAgent (calls into InspectorInstrumentation::applyUserAgentOverride). I think it would be nice if we could share some code with Inspector (e.g., the override code would live in WebCore and Inspector would call into this code), but not a requirement. The benefit of sharing would be we wouldn't have to check twice for an override.
Rather than keep track of the override in NavigationEntry, is it possible to set a bool on FrameLoaderClientImpl (by adding a method on WebFrame that you call when the menu is checked)? That may use less memory and keep most of the code change in a single repository.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list