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

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

Issue 10896: Re-do the way browser windows are shown:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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_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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::vector<BookmarkNode*> GetSelectedTableNodes(); 77 std::vector<BookmarkNode*> GetSelectedTableNodes();
78 78
79 virtual void PaintBackground(ChromeCanvas* canvas); 79 virtual void PaintBackground(ChromeCanvas* 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 void SaveWindowPosition(const CRect& bounds, 87 virtual std::wstring GetWindowName() const;
88 bool maximized,
89 bool always_on_top);
90 virtual bool RestoreWindowPosition(CRect* bounds,
91 bool* maximized,
92 bool* always_on_top);
93 virtual View* GetContentsView() { return this; } 88 virtual View* GetContentsView() { return this; }
94 // TODO(sky): implement these when we have an icon. 89 // TODO(sky): implement these when we have an icon.
95 //virtual SkBitmap GetWindowIcon(); 90 //virtual SkBitmap GetWindowIcon();
96 //virtual bool ShouldShowWindowIcon() const { return true; } 91 //virtual bool ShouldShowWindowIcon() const { return true; }
97 virtual void WindowClosing(); 92 virtual void WindowClosing();
98 93
99 Profile* profile() const { return profile_; } 94 Profile* profile() const { return profile_; }
100 95
101 private: 96 private:
102 // TableViewObserver methods. 97 // TableViewObserver methods.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Import/export file dialog. 207 // Import/export file dialog.
213 scoped_refptr<SelectFileDialog> select_file_dialog_; 208 scoped_refptr<SelectFileDialog> select_file_dialog_;
214 209
215 // Factory used for delaying search. 210 // Factory used for delaying search.
216 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_; 211 ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_;
217 212
218 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView); 213 DISALLOW_COPY_AND_ASSIGN(BookmarkManagerView);
219 }; 214 };
220 215
221 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_ 216 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_MANAGER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698