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

Side by Side Diff: chrome/browser/webui/filebrowse_ui.h

Issue 6532069: Reland "WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/webui/downloads_ui.cc ('k') | chrome/browser/webui/fileicon_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_WEBUI_FILEBROWSE_UI_H_ 5 #ifndef CHROME_BROWSER_WEBUI_FILEBROWSE_UI_H_
6 #define CHROME_BROWSER_WEBUI_FILEBROWSE_UI_H_ 6 #define CHROME_BROWSER_WEBUI_FILEBROWSE_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
12 #include "chrome/browser/dom_ui/html_dialog_ui.h"
13 #include "chrome/browser/history/history.h" 11 #include "chrome/browser/history/history.h"
12 #include "chrome/browser/webui/chrome_url_data_manager.h"
13 #include "chrome/browser/webui/html_dialog_ui.h"
14 #include "net/base/directory_lister.h" 14 #include "net/base/directory_lister.h"
15 15
16 class Browser; 16 class Browser;
17 class Profile; 17 class Profile;
18 18
19 class FileBrowseUI : public HtmlDialogUI { 19 class FileBrowseUI : public HtmlDialogUI {
20 public: 20 public:
21 static const int kPopupWidth; 21 static const int kPopupWidth;
22 static const int kPopupHeight; 22 static const int kPopupHeight;
23 static const int kSmallPopupWidth; 23 static const int kSmallPopupWidth;
24 static const int kSmallPopupHeight; 24 static const int kSmallPopupHeight;
25 25
26 explicit FileBrowseUI(TabContents* contents); 26 explicit FileBrowseUI(TabContents* contents);
27 27
28 static Browser* OpenPopup(Profile* profile, 28 static Browser* OpenPopup(Profile* profile,
29 const std::string& hashArgument, 29 const std::string& hashArgument,
30 int width, 30 int width,
31 int height); 31 int height);
32 static Browser* GetPopupForPath(const std::string& path, 32 static Browser* GetPopupForPath(const std::string& path,
33 Profile* profile); 33 Profile* profile);
34 34
35 private: 35 private:
36 DISALLOW_COPY_AND_ASSIGN(FileBrowseUI); 36 DISALLOW_COPY_AND_ASSIGN(FileBrowseUI);
37 }; 37 };
38 38
39 #endif // CHROME_BROWSER_WEBUI_FILEBROWSE_UI_H_ 39 #endif // CHROME_BROWSER_WEBUI_FILEBROWSE_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/webui/downloads_ui.cc ('k') | chrome/browser/webui/fileicon_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698