DescriptionInput file type now supported in extension popups.
To do this, this CL generalize the TabContentsFileSelectHelper (renamed FileSelectHelper) so it is associated with a RenderViewHost rather than a TabContents.
This allows the extension popups which don't use a TabContents to use it.
As part of that, I also moved GetTopLevelNativeWindow() from TabContentsView to TabContent, as it can be implemented in a non-platform specific way.
BUG=28829
TEST=Make sure you can still open file on web pages (such as http://www.cs.tut.fi/~jkorpela/forms/file.html.
Create an extension with a popup that contains an input file tag. Make sure it does open a file dialog and lets you choose a file.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59105
Patch Set 1 #Patch Set 2 : Minor changes #Patch Set 3 : Fix compilation on Linux #Patch Set 4 : Adding johnnyg change.wq #Patch Set 5 : GetTopLevelWindow back to TabContentsView #Patch Set 6 : Synced #
Messages
Total messages: 12 (0 generated)
|