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

Side by Side Diff: chrome/browser/ui/views/user_data_dir_dialog.h

Issue 8497067: views: Remove the old views/window/ directory and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 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 // A dialog box that tells the user that we can't write to the specified user 5 // A dialog box that tells the user that we can't write to the specified user
6 // data directory. Provides the user a chance to pick a different directory. 6 // data directory. Provides the user a chance to pick a different directory.
7 7
8 #ifndef CHROME_BROWSER_UI_VIEWS_USER_DATA_DIR_DIALOG_H_ 8 #ifndef CHROME_BROWSER_UI_VIEWS_USER_DATA_DIR_DIALOG_H_
9 #define CHROME_BROWSER_UI_VIEWS_USER_DATA_DIR_DIALOG_H_ 9 #define CHROME_BROWSER_UI_VIEWS_USER_DATA_DIR_DIALOG_H_
10 #pragma once 10 #pragma once
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "chrome/browser/ui/shell_dialogs.h" 14 #include "chrome/browser/ui/shell_dialogs.h"
15 #include "views/window/dialog_delegate.h" 15 #include "ui/views/window/dialog_delegate.h"
16 16
17 class FilePath; 17 class FilePath;
18 18
19 namespace views { 19 namespace views {
20 class MessageBoxView; 20 class MessageBoxView;
21 } 21 }
22 22
23 class UserDataDirDialog : public views::DialogDelegate, 23 class UserDataDirDialog : public views::DialogDelegate,
24 public MessageLoopForUI::Dispatcher, 24 public MessageLoopForUI::Dispatcher,
25 public SelectFileDialog::Listener { 25 public SelectFileDialog::Listener {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 scoped_refptr<SelectFileDialog> select_file_dialog_; 65 scoped_refptr<SelectFileDialog> select_file_dialog_;
66 66
67 // Used to keep track of whether or not to block the message loop (still 67 // Used to keep track of whether or not to block the message loop (still
68 // waiting for the user to dismiss the dialog). 68 // waiting for the user to dismiss the dialog).
69 bool is_blocking_; 69 bool is_blocking_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(UserDataDirDialog); 71 DISALLOW_COPY_AND_ASSIGN(UserDataDirDialog);
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_UI_VIEWS_USER_DATA_DIR_DIALOG_H_ 74 #endif // CHROME_BROWSER_UI_VIEWS_USER_DATA_DIR_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/update_recommended_message_box.h ('k') | chrome/test/automation/automation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698