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

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

Issue 62129: Find should allow keyboard scrolling while Find bar has focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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/views/input_window.cc ('k') | chrome/browser/views/options/cookies_view.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) 2006-2008 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 // A dialog box that prompts the user to enter a profile name, and opens a new 5 // A dialog box that prompts the user to enter a profile name, and opens a new
6 // window in that profile. 6 // window in that profile.
7 7
8 #ifndef CHROME_BROWSER_VIEWS_NEW_PROFILE_DIALOG_H_ 8 #ifndef CHROME_BROWSER_VIEWS_NEW_PROFILE_DIALOG_H_
9 #define CHROME_BROWSER_VIEWS_NEW_PROFILE_DIALOG_H_ 9 #define CHROME_BROWSER_VIEWS_NEW_PROFILE_DIALOG_H_
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
(...skipping 20 matching lines...) Expand all
32 virtual bool Accept(); 32 virtual bool Accept();
33 virtual int GetDialogButtons() const; 33 virtual int GetDialogButtons() const;
34 virtual views::View* GetInitiallyFocusedView(); 34 virtual views::View* GetInitiallyFocusedView();
35 virtual bool IsDialogButtonEnabled(DialogButton button) const; 35 virtual bool IsDialogButtonEnabled(DialogButton button) const;
36 virtual std::wstring GetWindowTitle() const; 36 virtual std::wstring GetWindowTitle() const;
37 virtual void DeleteDelegate(); 37 virtual void DeleteDelegate();
38 38
39 // views::TextField::Controller methods. 39 // views::TextField::Controller methods.
40 virtual void ContentsChanged(views::TextField* sender, 40 virtual void ContentsChanged(views::TextField* sender,
41 const std::wstring& new_contents); 41 const std::wstring& new_contents);
42 virtual void HandleKeystroke(views::TextField* sender, 42 virtual bool HandleKeystroke(views::TextField* sender,
43 UINT message, TCHAR key, UINT repeat_count, 43 UINT message, TCHAR key, UINT repeat_count,
44 UINT flags) {} 44 UINT flags) { return false; }
45 45
46 // views::WindowDelegate methods. 46 // views::WindowDelegate methods.
47 virtual views::View* GetContentsView(); 47 virtual views::View* GetContentsView();
48 virtual bool IsAlwaysOnTop() const { return false; } 48 virtual bool IsAlwaysOnTop() const { return false; }
49 virtual bool IsModal() const { return false; } 49 virtual bool IsModal() const { return false; }
50 50
51 private: 51 private:
52 NewProfileDialog(); 52 NewProfileDialog();
53 53
54 MessageBoxView* message_box_view_; 54 MessageBoxView* message_box_view_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(NewProfileDialog); 56 DISALLOW_COPY_AND_ASSIGN(NewProfileDialog);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_VIEWS_NEW_PROFILE_DIALOG_H_ 59 #endif // CHROME_BROWSER_VIEWS_NEW_PROFILE_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/input_window.cc ('k') | chrome/browser/views/options/cookies_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698