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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.cc

Issue 10698053: Breaks compile on Linux Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
===================================================================
--- chrome/browser/ui/webui/extensions/extension_settings_handler.cc (revision 144942)
+++ chrome/browser/ui/webui/extensions/extension_settings_handler.cc (working copy)
@@ -31,7 +31,6 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/tab_contents/background_contents.h"
#include "chrome/browser/ui/browser_finder.h"
-#include "chrome/browser/ui/chrome_select_file_policy.h"
#include "chrome/browser/ui/webui/extensions/extension_icon_source.h"
#include "chrome/browser/view_type_utils.h"
#include "chrome/common/chrome_notification_types.h"
@@ -731,11 +730,10 @@
const int kFileTypeIndex = 0; // No file type information to index.
const SelectFileDialog::Type kSelectType = SelectFileDialog::SELECT_FOLDER;
- load_extension_dialog_ = SelectFileDialog::Create(
- this, new ChromeSelectFilePolicy(web_ui()->GetWebContents()));
+ load_extension_dialog_ = SelectFileDialog::Create(this);
load_extension_dialog_->SelectFile(
kSelectType, select_title, last_unpacked_directory_, NULL,
- kFileTypeIndex, FILE_PATH_LITERAL(""),
+ kFileTypeIndex, FILE_PATH_LITERAL(""), web_ui()->GetWebContents(),
web_ui()->GetWebContents()->GetView()->GetTopLevelNativeWindow(), NULL);
}
« no previous file with comments | « chrome/browser/ui/views/user_data_dir_dialog_view.cc ('k') | chrome/browser/ui/webui/extensions/pack_extension_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698