Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: chrome/renderer/render_view.h

Issue 497001: Add runFileChooser() with selected filenames and acceptable types parameters.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Switch to runFileChooser() with WebFileChooserParams.... Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 89
90 namespace WebKit { 90 namespace WebKit {
91 class WebAccessibilityCache; 91 class WebAccessibilityCache;
92 class WebDataSource; 92 class WebDataSource;
93 class WebDragData; 93 class WebDragData;
94 class WebMediaPlayer; 94 class WebMediaPlayer;
95 class WebMediaPlayerClient; 95 class WebMediaPlayerClient;
96 class WebStorageNamespace; 96 class WebStorageNamespace;
97 class WebURLRequest; 97 class WebURLRequest;
98 struct WebFileChooserParams;
98 struct WebFindOptions; 99 struct WebFindOptions;
99 } 100 }
100 101
101 // We need to prevent a page from trying to create infinite popups. It is not 102 // We need to prevent a page from trying to create infinite popups. It is not
102 // as simple as keeping a count of the number of immediate children 103 // as simple as keeping a count of the number of immediate children
103 // popups. Having an html file that window.open()s itself would create 104 // popups. Having an html file that window.open()s itself would create
104 // an unlimited chain of RenderViews who only have one RenderView child. 105 // an unlimited chain of RenderViews who only have one RenderView child.
105 // 106 //
106 // Therefore, each new top level RenderView creates a new counter and shares it 107 // Therefore, each new top level RenderView creates a new counter and shares it
107 // with all its children and grandchildren popup RenderViews created with 108 // with all its children and grandchildren popup RenderViews created with
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 virtual bool handleCurrentKeyboardEvent(); 208 virtual bool handleCurrentKeyboardEvent();
208 virtual void spellCheck( 209 virtual void spellCheck(
209 const WebKit::WebString& text, int& offset, int& length); 210 const WebKit::WebString& text, int& offset, int& length);
210 virtual WebKit::WebString autoCorrectWord( 211 virtual WebKit::WebString autoCorrectWord(
211 const WebKit::WebString& misspelled_word); 212 const WebKit::WebString& misspelled_word);
212 virtual void showSpellingUI(bool show); 213 virtual void showSpellingUI(bool show);
213 virtual bool isShowingSpellingUI(); 214 virtual bool isShowingSpellingUI();
214 virtual void updateSpellingUIWithMisspelledWord( 215 virtual void updateSpellingUIWithMisspelledWord(
215 const WebKit::WebString& word); 216 const WebKit::WebString& word);
216 virtual bool runFileChooser( 217 virtual bool runFileChooser(
217 bool multi_select, 218 const WebKit::WebFileChooserParams& params,
218 const WebKit::WebString& title,
219 const WebKit::WebString& initial_value,
220 WebKit::WebFileChooserCompletion* chooser_completion); 219 WebKit::WebFileChooserCompletion* chooser_completion);
221 virtual void runModalAlertDialog( 220 virtual void runModalAlertDialog(
222 WebKit::WebFrame* frame, const WebKit::WebString& message); 221 WebKit::WebFrame* frame, const WebKit::WebString& message);
223 virtual bool runModalConfirmDialog( 222 virtual bool runModalConfirmDialog(
224 WebKit::WebFrame* frame, const WebKit::WebString& message); 223 WebKit::WebFrame* frame, const WebKit::WebString& message);
225 virtual bool runModalPromptDialog( 224 virtual bool runModalPromptDialog(
226 WebKit::WebFrame* frame, const WebKit::WebString& message, 225 WebKit::WebFrame* frame, const WebKit::WebString& message,
227 const WebKit::WebString& default_value, WebKit::WebString* actual_value); 226 const WebKit::WebString& default_value, WebKit::WebString* actual_value);
228 virtual bool runModalBeforeUnloadDialog( 227 virtual bool runModalBeforeUnloadDialog(
229 WebKit::WebFrame* frame, const WebKit::WebString& message); 228 WebKit::WebFrame* frame, const WebKit::WebString& message);
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 HostZoomLevels host_zoom_levels_; 1007 HostZoomLevels host_zoom_levels_;
1009 1008
1010 // Page translation related objects. 1009 // Page translation related objects.
1011 TextTranslatorImpl text_translator_; 1010 TextTranslatorImpl text_translator_;
1012 scoped_ptr<PageTranslator> page_translator_; 1011 scoped_ptr<PageTranslator> page_translator_;
1013 1012
1014 DISALLOW_COPY_AND_ASSIGN(RenderView); 1013 DISALLOW_COPY_AND_ASSIGN(RenderView);
1015 }; 1014 };
1016 1015
1017 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1016 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698