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

Side by Side Diff: chrome/browser/views/bookmark_editor_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
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_BOOKMARK_EDITOR_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
11 #include "chrome/views/controls/button/button.h" 11 #include "chrome/views/controls/button/button.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 views::View* child); 100 views::View* child);
101 101
102 // TreeViewObserver methods. 102 // TreeViewObserver methods.
103 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view); 103 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view);
104 virtual bool CanEdit(views::TreeView* tree_view, 104 virtual bool CanEdit(views::TreeView* tree_view,
105 views::TreeModelNode* node); 105 views::TreeModelNode* node);
106 106
107 // TextField::Controller methods. 107 // TextField::Controller methods.
108 virtual void ContentsChanged(views::TextField* sender, 108 virtual void ContentsChanged(views::TextField* sender,
109 const std::wstring& new_contents); 109 const std::wstring& new_contents);
110 virtual void HandleKeystroke(views::TextField* sender, 110 virtual bool HandleKeystroke(views::TextField* sender,
111 UINT message, TCHAR key, UINT repeat_count, 111 UINT message, TCHAR key, UINT repeat_count,
112 UINT flags) {} 112 UINT flags) { return false; }
113 113
114 // NativeButton. 114 // NativeButton.
115 virtual void ButtonPressed(views::Button* sender); 115 virtual void ButtonPressed(views::Button* sender);
116 116
117 // Menu::Delegate method. 117 // Menu::Delegate method.
118 virtual void ExecuteCommand(int id); 118 virtual void ExecuteCommand(int id);
119 119
120 // Menu::Delegate method, return false if id is edit and the bookmark node 120 // Menu::Delegate method, return false if id is edit and the bookmark node
121 // was selected, true otherwise. 121 // was selected, true otherwise.
122 virtual bool IsCommandEnabled(int id) const; 122 virtual bool IsCommandEnabled(int id) const;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 278
279 // Is the tree shown? 279 // Is the tree shown?
280 bool show_tree_; 280 bool show_tree_;
281 281
282 scoped_ptr<Handler> handler_; 282 scoped_ptr<Handler> handler_;
283 283
284 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); 284 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView);
285 }; 285 };
286 286
287 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ 287 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.cc ('k') | chrome/browser/views/bookmark_manager_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698