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

Side by Side Diff: chrome/browser/extensions/api/developer_private/entry_picker.cc

Issue 16702003: Move ShellWindow into apps component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yar Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/extensions/api/developer_private/entry_picker.h" 5 #include "chrome/browser/extensions/api/developer_private/entry_picker.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "chrome/browser/extensions/api/developer_private/developer_private_api. h" 10 #include "chrome/browser/extensions/api/developer_private/developer_private_api. h"
11 #include "chrome/browser/extensions/shell_window_registry.h"
12 #include "chrome/browser/platform_util.h" 11 #include "chrome/browser/platform_util.h"
13 #include "chrome/browser/ui/chrome_select_file_policy.h" 12 #include "chrome/browser/ui/chrome_select_file_policy.h"
14 #include "chrome/browser/ui/extensions/shell_window.h"
15 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
16 #include "content/public/browser/web_contents_view.h" 14 #include "content/public/browser/web_contents_view.h"
17 #include "ui/shell_dialogs/select_file_dialog.h" 15 #include "ui/shell_dialogs/select_file_dialog.h"
18 16
19 namespace { 17 namespace {
20 18
21 bool g_skip_picker_for_test = false; 19 bool g_skip_picker_for_test = false;
22 base::FilePath* g_path_to_be_picked_for_test = NULL; 20 base::FilePath* g_path_to_be_picked_for_test = NULL;
23 21
24 } // namespace 22 } // namespace
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 94 }
97 95
98 // static 96 // static
99 void EntryPicker::StopSkippingPickerForTest() { 97 void EntryPicker::StopSkippingPickerForTest() {
100 g_skip_picker_for_test = false; 98 g_skip_picker_for_test = false;
101 } 99 }
102 100
103 } // namespace api 101 } // namespace api
104 102
105 } // namespace extensions 103 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698