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

Side by Side Diff: chrome/browser/views/options/cookies_view.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/new_profile_dialog.h ('k') | chrome/browser/views/options/cookies_view.cc » ('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 #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 "base/task.h" 8 #include "base/task.h"
9 #include "chrome/views/controls/button/button.h" 9 #include "chrome/views/controls/button/button.h"
10 #include "chrome/views/controls/table/table_view.h" 10 #include "chrome/views/controls/table/table_view.h"
11 #include "chrome/views/controls/text_field.h" 11 #include "chrome/views/controls/text_field.h"
12 #include "chrome/views/view.h" 12 #include "chrome/views/view.h"
13 #include "chrome/views/window/dialog_delegate.h" 13 #include "chrome/views/window/dialog_delegate.h"
14 #include "chrome/views/window/window.h" 14 #include "chrome/views/window/window.h"
15 15
16 namespace views { 16 namespace views {
(...skipping 26 matching lines...) Expand all
43 // views::TableViewObserver implementation: 43 // views::TableViewObserver implementation:
44 virtual void OnSelectionChanged(); 44 virtual void OnSelectionChanged();
45 45
46 // Invoked when the user presses the delete key. Deletes the selected 46 // Invoked when the user presses the delete key. Deletes the selected
47 // cookies. 47 // cookies.
48 virtual void OnTableViewDelete(views::TableView* table_view); 48 virtual void OnTableViewDelete(views::TableView* table_view);
49 49
50 // views::TextField::Controller implementation: 50 // views::TextField::Controller implementation:
51 virtual void ContentsChanged(views::TextField* sender, 51 virtual void ContentsChanged(views::TextField* sender,
52 const std::wstring& new_contents); 52 const std::wstring& new_contents);
53 virtual void HandleKeystroke(views::TextField* sender, 53 virtual bool HandleKeystroke(views::TextField* sender,
54 UINT message, TCHAR key, UINT repeat_count, 54 UINT message, TCHAR key, UINT repeat_count,
55 UINT flags); 55 UINT flags);
56 56
57 // views::WindowDelegate implementation: 57 // views::WindowDelegate implementation:
58 virtual int GetDialogButtons() const { return DIALOGBUTTON_CANCEL; } 58 virtual int GetDialogButtons() const { return DIALOGBUTTON_CANCEL; }
59 virtual views::View* GetInitiallyFocusedView() { 59 virtual views::View* GetInitiallyFocusedView() {
60 return search_field_; 60 return search_field_;
61 } 61 }
62 virtual bool CanResize() const { return true; } 62 virtual bool CanResize() const { return true; }
63 virtual std::wstring GetWindowTitle() const; 63 virtual std::wstring GetWindowTitle() const;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 Profile* profile_; 105 Profile* profile_;
106 106
107 // A factory to construct Runnable Methods so that we can be called back to 107 // A factory to construct Runnable Methods so that we can be called back to
108 // re-evaluate the model after the search query string changes. 108 // re-evaluate the model after the search query string changes.
109 ScopedRunnableMethodFactory<CookiesView> search_update_factory_; 109 ScopedRunnableMethodFactory<CookiesView> search_update_factory_;
110 110
111 // Our containing window. If this is non-NULL there is a visible Cookies 111 // Our containing window. If this is non-NULL there is a visible Cookies
112 // window somewhere. 112 // window somewhere.
113 static views::Window* instance_; 113 static views::Window* instance_;
114 114
115 DISALLOW_EVIL_CONSTRUCTORS(CookiesView); 115 DISALLOW_COPY_AND_ASSIGN(CookiesView);
116 }; 116 };
117 117
118 #endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H__ 118 #endif // CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/new_profile_dialog.h ('k') | chrome/browser/views/options/cookies_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698