WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 28805
[Gtk] Add view source mode API
https://bugs.webkit.org/show_bug.cgi?id=28805
Summary
[Gtk] Add view source mode API
Jan Alonzo
Reported
2009-08-28 06:15:23 PDT
The Gtk port needs a view source mode API. Patch forthcoming..
Attachments
Patch v1
(2.70 KB, patch)
2009-08-28 06:17 PDT
,
Jan Alonzo
gustavo
: review+
gustavo
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jan Alonzo
Comment 1
2009-08-28 06:17:11 PDT
Created
attachment 38728
[details]
Patch v1
Gustavo Noronha (kov)
Comment 2
2009-08-28 06:28:06 PDT
Comment on
attachment 38728
[details]
Patch v1
> + * webkit_web_view_set_view_source_mode: > + * @web_view: a #WebKitWebView > + * @mode: the mode to set the view source mode
I think using something like 'view_source_mode', although more verbose, would bring this more in line. Also, what do you think of dropping 'view' from that? set_source_mode.
> + * Set the view to be in "view source" mode. Set this before loading a uri to
"Whether the view should be in", because you'll also use this function to turn it off. Otherwise good. Xan? =D
Gustavo Noronha (kov)
Comment 3
2009-08-28 06:43:46 PDT
Comment on
attachment 38728
[details]
Patch v1 Helping Xan with his Internet problems: <xan> janm: but if you fix the docs and keep set_view_source_mode you have r+ from me ;) Fixing the docs involve explaining why would I want view source mode (what it does).
Jan Alonzo
Comment 4
2009-08-28 08:12:56 PDT
(In reply to
comment #3
)
> (From update of
attachment 38728
[details]
) > Helping Xan with his Internet problems: > > <xan> janm: but if you fix the docs and keep set_view_source_mode you have r+ > from me ;) > > Fixing the docs involve explaining why would I want view source mode (what it > does).
Thanks. Landed as
http://trac.webkit.org/changeset/47865
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug