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

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

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2009 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_MANAGER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "chrome/browser/bookmarks/bookmark_context_menu.h" 10 #include "chrome/browser/bookmarks/bookmark_context_menu.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Expands all the children of the selected folder. 70 // Expands all the children of the selected folder.
71 void ExpandAll(BookmarkNode* node); 71 void ExpandAll(BookmarkNode* node);
72 72
73 // Returns the selected folder in the tree, which may be null. 73 // Returns the selected folder in the tree, which may be null.
74 BookmarkNode* GetSelectedFolder(); 74 BookmarkNode* GetSelectedFolder();
75 75
76 // Returns the selection of the table. 76 // Returns the selection of the table.
77 std::vector<BookmarkNode*> GetSelectedTableNodes(); 77 std::vector<BookmarkNode*> GetSelectedTableNodes();
78 78
79 virtual void PaintBackground(ChromeCanvas* canvas); 79 virtual void PaintBackground(gfx::Canvas* canvas);
80 80
81 virtual gfx::Size GetPreferredSize(); 81 virtual gfx::Size GetPreferredSize();
82 82
83 // WindowDelegate methods. 83 // WindowDelegate methods.
84 virtual bool CanResize() const { return true; } 84 virtual bool CanResize() const { return true; }
85 virtual bool CanMaximize() const { return true; } 85 virtual bool CanMaximize() const { return true; }
86 virtual std::wstring GetWindowTitle() const; 86 virtual std::wstring GetWindowTitle() const;
87 virtual std::wstring GetWindowName() const; 87 virtual std::wstring GetWindowName() const;
88 virtual View* GetContentsView() { return this; } 88 virtual View* GetContentsView() { return this; }
89 // TODO(sky): implement these when we have an icon. 89 // TODO(sky): implement these when we have an icon.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Import/export file dialog. 212 // Import/export file dialog.
213 scoped_refptr<SelectFileDialog> select_file_dialog_; 213 scoped_refptr<SelectFileDialog> select_file_dialog_;
214 214
215 // Factory used for delaying search. 215 // Factory used for delaying search.
216 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_; 216 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_;
217 217
218 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView); 218 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView);
219 }; 219 };
220 220
221 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ 221 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bubble_view.cc ('k') | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698