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

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

Issue 21439: Fix for focus traversal issue in Gears dialogs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 shows the user various profiles that currently exist 5 // A dialog box that shows the user various profiles that currently exist
6 // and lets the user select one. 6 // and lets the user select one.
7 7
8 #ifndef CHROME_BROWSER_VIEWS_SELECT_PROFILE_DIALOG_H_ 8 #ifndef CHROME_BROWSER_VIEWS_SELECT_PROFILE_DIALOG_H_
9 #define CHROME_BROWSER_VIEWS_SELECT_PROFILE_DIALOG_H_ 9 #define CHROME_BROWSER_VIEWS_SELECT_PROFILE_DIALOG_H_
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // views::View methods. 45 // views::View methods.
46 virtual gfx::Size GetPreferredSize(); 46 virtual gfx::Size GetPreferredSize();
47 virtual void Layout(); 47 virtual void Layout();
48 48
49 // views::DialogDelegate Methods: 49 // views::DialogDelegate Methods:
50 virtual bool Accept(); 50 virtual bool Accept();
51 virtual bool Cancel(); 51 virtual bool Cancel();
52 virtual views::View* GetContentsView(); 52 virtual views::View* GetContentsView();
53 virtual int GetDialogButtons() const; 53 virtual int GetDialogButtons() const;
54 virtual views::View* GetInitiallyFocusedView() const; 54 virtual views::View* GetInitiallyFocusedView();
55 virtual std::wstring GetWindowTitle() const; 55 virtual std::wstring GetWindowTitle() const;
56 virtual bool IsModal() const { return false; } 56 virtual bool IsModal() const { return false; }
57 57
58 // views::ComboBox::Model methods. 58 // views::ComboBox::Model methods.
59 virtual int GetItemCount(views::ComboBox* source); 59 virtual int GetItemCount(views::ComboBox* source);
60 virtual std::wstring GetItemAt(views::ComboBox* source, int index); 60 virtual std::wstring GetItemAt(views::ComboBox* source, int index);
61 61
62 // GetProfilesHelper::Delegate method. 62 // GetProfilesHelper::Delegate method.
63 virtual void OnGetProfilesDone(const std::vector<std::wstring>& profiles); 63 virtual void OnGetProfilesDone(const std::vector<std::wstring>& profiles);
64 64
(...skipping 10 matching lines...) Expand all
75 std::vector<std::wstring> profiles_; 75 std::vector<std::wstring> profiles_;
76 std::wstring profile_name_; 76 std::wstring profile_name_;
77 77
78 // Helper instance that handles all task posting activities. 78 // Helper instance that handles all task posting activities.
79 scoped_refptr<GetProfilesHelper> helper_; 79 scoped_refptr<GetProfilesHelper> helper_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(SelectProfileDialog); 81 DISALLOW_COPY_AND_ASSIGN(SelectProfileDialog);
82 }; 82 };
83 83
84 #endif // CHROME_BROWSER_VIEWS_SELECT_PROFILE_DIALOG_H_ 84 #endif // CHROME_BROWSER_VIEWS_SELECT_PROFILE_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/options/cookies_view.h ('k') | chrome/browser/views/select_profile_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698