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

Unified Diff: chrome/browser/tab_contents/web_contents.h

Issue 45048: Remove Windows "Save As" dialogs from Save Page code.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/shell_dialogs.h ('k') | chrome/browser/tab_contents/web_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_contents.h
===================================================================
--- chrome/browser/tab_contents/web_contents.h (revision 12784)
+++ chrome/browser/tab_contents/web_contents.h (working copy)
@@ -239,12 +239,13 @@
bool success,
const std::wstring& prompt);
- // Prepare for saving page.
+ // Prepare for saving the current web page to disk.
void OnSavePage();
// Save page with the main HTML file path, the directory for saving resources,
// and the save type: HTML only or complete web page.
- void SavePage(const std::wstring& main_file, const std::wstring& dir_path,
+ void SavePage(const std::wstring& main_file,
+ const std::wstring& dir_path,
SavePackage::SavePackageType save_type);
// Displays asynchronously a print preview (generated by the renderer) if not
@@ -429,7 +430,7 @@
// SelectFileDialog::Listener ------------------------------------------------
- virtual void FileSelected(const std::wstring& path, void* params);
+ virtual void FileSelected(const std::wstring& path, int index, void* params);
virtual void MultiFilesSelected(const std::vector<std::wstring>& files,
void* params);
virtual void FileSelectionCanceled(void* params);
« no previous file with comments | « chrome/browser/shell_dialogs.h ('k') | chrome/browser/tab_contents/web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698