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/dom_ui/filebrowse_ui.h" | 5 #include "chrome/browser/dom_ui/filebrowse_ui.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 #if defined(OS_CHROMEOS) | 118 #if defined(OS_CHROMEOS) |
119 void MountChanged(chromeos::MountLibrary* obj, | 119 void MountChanged(chromeos::MountLibrary* obj, |
120 chromeos::MountEventType evt, | 120 chromeos::MountEventType evt, |
121 const std::string& path); | 121 const std::string& path); |
122 #endif | 122 #endif |
123 | 123 |
124 // DownloadItem::Observer interface | 124 // DownloadItem::Observer interface |
125 virtual void OnDownloadUpdated(DownloadItem* download); | 125 virtual void OnDownloadUpdated(DownloadItem* download); |
126 virtual void OnDownloadFileCompleted(DownloadItem* download) { } | 126 virtual void OnDownloadFileCompleted(DownloadItem* download) { } |
127 virtual void OnDownloadOpened(DownloadItem* download) { } | 127 virtual void OnDownloadOpened(DownloadItem* download) { } |
| 128 virtual void OnDownloadInterrupted(DownloadItem* download) { } |
128 | 129 |
129 // DownloadManager::Observer interface | 130 // DownloadManager::Observer interface |
130 virtual void ModelChanged(); | 131 virtual void ModelChanged(); |
131 | 132 |
132 // Callback for the "getRoots" message. | 133 // Callback for the "getRoots" message. |
133 void HandleGetRoots(const ListValue* args); | 134 void HandleGetRoots(const ListValue* args); |
134 | 135 |
135 void GetChildrenForPath(FilePath& path, bool is_refresh); | 136 void GetChildrenForPath(FilePath& path, bool is_refresh); |
136 | 137 |
137 void OnURLFetchComplete(const URLFetcher* source, | 138 void OnURLFetchComplete(const URLFetcher* source, |
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 } | 1035 } |
1035 } | 1036 } |
1036 | 1037 |
1037 return NULL; | 1038 return NULL; |
1038 } | 1039 } |
1039 | 1040 |
1040 const int FileBrowseUI::kPopupWidth = 250; | 1041 const int FileBrowseUI::kPopupWidth = 250; |
1041 const int FileBrowseUI::kPopupHeight = 300; | 1042 const int FileBrowseUI::kPopupHeight = 300; |
1042 const int FileBrowseUI::kSmallPopupWidth = 250; | 1043 const int FileBrowseUI::kSmallPopupWidth = 250; |
1043 const int FileBrowseUI::kSmallPopupHeight = 50; | 1044 const int FileBrowseUI::kSmallPopupHeight = 50; |
OLD | NEW |