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

Side by Side Diff: chrome/browser/views/options/cookies_view.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 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H__
6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H__ 6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H__
7 7
8 #include "chrome/views/dialog_delegate.h" 8 #include "chrome/views/dialog_delegate.h"
9 #include "chrome/views/native_button.h" 9 #include "chrome/views/native_button.h"
10 #include "chrome/views/table_view.h" 10 #include "chrome/views/table_view.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 // views::TextField::Controller implementation: 48 // views::TextField::Controller implementation:
49 virtual void ContentsChanged(views::TextField* sender, 49 virtual void ContentsChanged(views::TextField* sender,
50 const std::wstring& new_contents); 50 const std::wstring& new_contents);
51 virtual void HandleKeystroke(views::TextField* sender, 51 virtual void HandleKeystroke(views::TextField* sender,
52 UINT message, TCHAR key, UINT repeat_count, 52 UINT message, TCHAR key, UINT repeat_count,
53 UINT flags); 53 UINT flags);
54 54
55 // views::WindowDelegate implementation: 55 // views::WindowDelegate implementation:
56 virtual int GetDialogButtons() const { return DIALOGBUTTON_CANCEL; } 56 virtual int GetDialogButtons() const { return DIALOGBUTTON_CANCEL; }
57 virtual views::View* GetInitiallyFocusedView() const { 57 virtual views::View* GetInitiallyFocusedView() {
58 return search_field_; 58 return search_field_;
59 } 59 }
60 virtual bool CanResize() const { return true; } 60 virtual bool CanResize() const { return true; }
61 virtual std::wstring GetWindowTitle() const; 61 virtual std::wstring GetWindowTitle() const;
62 virtual void WindowClosing(); 62 virtual void WindowClosing();
63 virtual views::View* GetContentsView(); 63 virtual views::View* GetContentsView();
64 64
65 // views::View overrides: 65 // views::View overrides:
66 virtual void Layout(); 66 virtual void Layout();
67 virtual gfx::Size GetPreferredSize(); 67 virtual gfx::Size GetPreferredSize();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ScopedRunnableMethodFactory<CookiesView> search_update_factory_; 107 ScopedRunnableMethodFactory<CookiesView> search_update_factory_;
108 108
109 // Our containing window. If this is non-NULL there is a visible Cookies 109 // Our containing window. If this is non-NULL there is a visible Cookies
110 // window somewhere. 110 // window somewhere.
111 static views::Window* instance_; 111 static views::Window* instance_;
112 112
113 DISALLOW_EVIL_CONSTRUCTORS(CookiesView); 113 DISALLOW_EVIL_CONSTRUCTORS(CookiesView);
114 }; 114 };
115 115
116 #endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H__ 116 #endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H__
OLDNEW
« no previous file with comments | « chrome/browser/views/new_profile_dialog.cc ('k') | chrome/browser/views/select_profile_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698