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

Unified Diff: chrome/browser/bookmarks/bookmark_extension_api.h

Issue 10820034: Remove redirection header and add "ui::" before all SelectFileDialog usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuploading for different try run. Created 8 years, 5 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 | « no previous file | chrome/browser/bookmarks/bookmark_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_extension_api.h
diff --git a/chrome/browser/bookmarks/bookmark_extension_api.h b/chrome/browser/bookmarks/bookmark_extension_api.h
index 369c633ccf311096a3dbdb23a4e60392ecdf0e16..fd0ff0f9c0945338e01db91a532aea00c346b1e0 100644
--- a/chrome/browser/bookmarks/bookmark_extension_api.h
+++ b/chrome/browser/bookmarks/bookmark_extension_api.h
@@ -13,9 +13,9 @@
#include "base/memory/ref_counted.h"
#include "chrome/browser/bookmarks/bookmark_model_observer.h"
#include "chrome/browser/extensions/extension_function.h"
-#include "chrome/browser/ui/select_file_dialog.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "ui/base/dialogs/select_file_dialog.h"
class FilePath;
@@ -239,29 +239,29 @@ class UpdateBookmarkFunction : public BookmarksFunction {
};
class BookmarksIOFunction : public BookmarksFunction,
- public SelectFileDialog::Listener {
+ public ui::SelectFileDialog::Listener {
public:
BookmarksIOFunction();
virtual void FileSelected(const FilePath& path, int index, void* params) = 0;
- // SelectFileDialog::Listener:
+ // ui::SelectFileDialog::Listener:
virtual void MultiFilesSelected(const std::vector<FilePath>& files,
void* params) OVERRIDE;
virtual void FileSelectionCanceled(void* params) OVERRIDE;
- void SelectFile(SelectFileDialog::Type type);
+ void SelectFile(ui::SelectFileDialog::Type type);
protected:
virtual ~BookmarksIOFunction();
private:
void ShowSelectFileDialog(
- SelectFileDialog::Type type,
+ ui::SelectFileDialog::Type type,
const FilePath& default_path);
protected:
- scoped_refptr<SelectFileDialog> select_file_dialog_;
+ scoped_refptr<ui::SelectFileDialog> select_file_dialog_;
};
class ImportBookmarksFunction : public BookmarksIOFunction {
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698