Changeset 55405 in webkit


Ignore:
Timestamp:
Mar 2, 2010 1:59:28 AM (14 years ago)
Author:
zecke@webkit.org
Message:

[Gtk] Support private browsing mode in plugins.

https://bugs.webkit.org/show_bug.cgi?id=35500

Integrate the PluginViewQt.cpp changes from
r55358 into Gtk+ and unskip the test.

  • plugins/gtk/PluginViewGtk.cpp:

(WebCore::PluginView::getValue):

  • platform/gtk/Skipped:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r55396 r55405  
     12010-02-28  Holger Hans Peter Freyther  <zecke@selfish.org>
     2
     3        Reviewed by Gustavo Noronha.
     4
     5        [Gtk] Support private browsing mode in plugins.
     6        https://bugs.webkit.org/show_bug.cgi?id=35500
     7
     8        Unskip test after taking code from PluginViewQt.cpp
     9
     10        * platform/gtk/Skipped:
     11
    1122010-02-27  Alexey Proskuryakov  <ap@apple.com>
    213
  • trunk/LayoutTests/platform/gtk/Skipped

    r55392 r55405  
    35913591# https://bugs.webkit.org/show_bug.cgi?id=30561
    35923592plugins/private-browsing-mode.html
    3593 # https://bugs.webkit.org/show_bug.cgi?id=33180
    3594 plugins/private-browsing-mode-2.html
    35953593
    35963594#   Tests generating new results
  • trunk/WebCore/ChangeLog

    r55404 r55405  
     12010-02-28  Holger Hans Peter Freyther  <zecke@selfish.org>
     2
     3        Reviewed by Gustavo Noronha.
     4
     5        [Gtk] Support private browsing mode in plugins.
     6        https://bugs.webkit.org/show_bug.cgi?id=35500
     7
     8        Integrate the PluginViewQt.cpp changes from r55358 into Gtk+.
     9
     10        * plugins/gtk/PluginViewGtk.cpp:
     11        (WebCore::PluginView::getValue):
     12
    1132010-03-02  Oliver Hunt  <oliver@apple.com>
    214
  • trunk/WebCore/plugins/gtk/PluginViewGtk.cpp

    r55351 r55405  
    701701        }
    702702
     703        case NPNVprivateModeBool: {
     704            Page* page = m_parentFrame->page();
     705            if (!page)
     706                return NPERR_GENERIC_ERROR;
     707            *((NPBool*)value) = !page->settings() || page->settings()->privateBrowsingEnabled();
     708            return NPERR_NO_ERROR;
     709        }
     710
    703711        default:
    704712            return getValueStatic(variable, value);
Note: See TracChangeset for help on using the changeset viewer.