Changeset 53389 in webkit


Ignore:
Timestamp:
Jan 17, 2010 8:53:26 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-17 Kent Tamura <tkent@chromium.org>

Reviewed by Shinichiro Hamaji.

[Chromium] Remove an old runFileChooser() method.
https://bugs.webkit.org/show_bug.cgi?id=33778

Chromium code switched to new runFileChooser() introduced by
r53269. The old one is not needed anymore.

  • public/WebViewClient.h:
  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::runOpenPanel):
Location:
trunk/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r53347 r53389  
     12010-01-17  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by Shinichiro Hamaji.
     4
     5        [Chromium] Remove an old runFileChooser() method.
     6        https://bugs.webkit.org/show_bug.cgi?id=33778
     7       
     8        Chromium code switched to new runFileChooser() introduced by
     9        r53269. The old one is not needed anymore.
     10
     11        * public/WebViewClient.h:
     12        * src/ChromeClientImpl.cpp:
     13        (WebKit::ChromeClientImpl::runOpenPanel):
     14
    1152010-01-15  Eric Seidel  <eric@webkit.org>
    216
  • trunk/WebKit/chromium/public/WebViewClient.h

    r53269 r53389  
    162162    // Dialogs -------------------------------------------------------------
    163163
    164     // Deprecated. Use another runFileChooser() below instead.
    165     virtual bool runFileChooser(
    166         bool multiSelect, const WebString& title,
    167         const WebString& initialValue, WebFileChooserCompletion*) { return false; }
    168 
    169164    // This method returns immediately after showing the dialog. When the
    170165    // dialog is closed, it should call the WebFileChooserCompletion to
  • trunk/WebKit/chromium/src/ChromeClientImpl.cpp

    r53269 r53389  
    573573        return;
    574574
    575     // Choosing with new function failed, so fallback to old function.
    576     if (client->runFileChooser(params.multiSelect,
    577                                params.title,
    578                                params.initialValue,
    579                                chooserCompletion))
    580         return;
    581 
    582     // Choosing with the old function failed, so do callback with an empty list.
     575    // Choosing failed, so do callback with an empty list.
    583576    chooserCompletion->didChooseFile(WebVector<WebString>());
    584577}
Note: See TracChangeset for help on using the changeset viewer.