| OLD | NEW |
| 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 #include "chrome/browser/chromeos/usb_mount_observer.h" | 5 #include "chrome/browser/chromeos/usb_mount_observer.h" |
| 6 | 6 |
| 7 #include "chrome/browser/browser.h" | 7 #include "chrome/browser/browser.h" |
| 8 #include "chrome/browser/browser_list.h" | 8 #include "chrome/browser/browser_list.h" |
| 9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
| 10 #include "chrome/browser/dom_ui/filebrowse_ui.h" | 10 #include "chrome/browser/dom_ui/filebrowse_ui.h" |
| 11 #include "chrome/browser/pref_service.h" | 11 #include "chrome/browser/prefs/pref_service.h" |
| 12 #include "chrome/browser/tab_contents/tab_contents.h" | 12 #include "chrome/browser/tab_contents/tab_contents.h" |
| 13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
| 14 #include "chrome/common/url_constants.h" | 14 #include "chrome/common/url_constants.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 const char* kFilebrowseURLHash = "chrome://filebrowse#"; | 18 const char* kFilebrowseURLHash = "chrome://filebrowse#"; |
| 19 const char* kFilebrowseScanning = "scanningdevice"; | 19 const char* kFilebrowseScanning = "scanningdevice"; |
| 20 const int kPopupLeft = 0; | 20 const int kPopupLeft = 0; |
| 21 const int kPopupTop = 0; | 21 const int kPopupTop = 0; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 } | 184 } |
| 185 } | 185 } |
| 186 for (size_t x = 0; x < close_these.size(); x++) { | 186 for (size_t x = 0; x < close_these.size(); x++) { |
| 187 if (close_these[x]->window()) { | 187 if (close_these[x]->window()) { |
| 188 close_these[x]->window()->Close(); | 188 close_these[x]->window()->Close(); |
| 189 } | 189 } |
| 190 } | 190 } |
| 191 } | 191 } |
| 192 | 192 |
| 193 } // namespace chromeos | 193 } // namespace chromeos |
| OLD | NEW |