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

Side by Side Diff: chrome/browser/views/uninstall_view.h

Issue 3159031: Remove wstrings from bookmarks, part 12. (Closed)
Patch Set: rebased ToT Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VIEWS_UNINSTALL_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_UNINSTALL_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_UNINSTALL_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_UNINSTALL_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/combobox_model.h" 9 #include "app/combobox_model.h"
10 #include "base/string16.h"
10 #include "views/controls/combobox/combobox.h" 11 #include "views/controls/combobox/combobox.h"
11 #include "views/window/dialog_delegate.h" 12 #include "views/window/dialog_delegate.h"
12 13
13 namespace views { 14 namespace views {
14 class Checkbox; 15 class Checkbox;
15 class Label; 16 class Label;
16 } 17 }
17 18
18 // UninstallView implements the dialog that confirms Chrome uninstallation 19 // UninstallView implements the dialog that confirms Chrome uninstallation
19 // and asks whether to delete Chrome profile. Also if currently Chrome is set 20 // and asks whether to delete Chrome profile. Also if currently Chrome is set
(...skipping 14 matching lines...) Expand all
34 35
35 // Overridden form views::ButtonListener. 36 // Overridden form views::ButtonListener.
36 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 37 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
37 38
38 // Overridden from views::WindowDelegate: 39 // Overridden from views::WindowDelegate:
39 virtual std::wstring GetWindowTitle() const; 40 virtual std::wstring GetWindowTitle() const;
40 virtual views::View* GetContentsView(); 41 virtual views::View* GetContentsView();
41 42
42 // Overridden from views::Combobox::Model. 43 // Overridden from views::Combobox::Model.
43 virtual int GetItemCount(); 44 virtual int GetItemCount();
44 virtual std::wstring GetItemAt(int index); 45 virtual string16 GetItemAt(int index);
45 46
46 private: 47 private:
47 // Initializes the controls on the dialog. 48 // Initializes the controls on the dialog.
48 void SetupControls(); 49 void SetupControls();
49 50
50 views::Label* confirm_label_; 51 views::Label* confirm_label_;
51 views::Checkbox* delete_profile_; 52 views::Checkbox* delete_profile_;
52 views::Checkbox* change_default_browser_; 53 views::Checkbox* change_default_browser_;
53 views::Combobox* browsers_combo_; 54 views::Combobox* browsers_combo_;
54 typedef std::map<std::wstring, std::wstring> BrowsersMap; 55 typedef std::map<std::wstring, std::wstring> BrowsersMap;
55 scoped_ptr<BrowsersMap> browsers_; 56 scoped_ptr<BrowsersMap> browsers_;
56 int& user_selection_; 57 int& user_selection_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(UninstallView); 59 DISALLOW_COPY_AND_ASSIGN(UninstallView);
59 }; 60 };
60 61
61 #endif // CHROME_BROWSER_VIEWS_UNINSTALL_VIEW_H_ 62 #endif // CHROME_BROWSER_VIEWS_UNINSTALL_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/options/general_page_view.cc ('k') | chrome/browser/views/uninstall_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698