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

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

Issue 7344: Convert GetPreferredSize from:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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_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"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // DialogDelegate methods: 64 // DialogDelegate methods:
65 virtual bool IsDialogButtonEnabled(DialogButton button) const; 65 virtual bool IsDialogButtonEnabled(DialogButton button) const;
66 virtual bool IsModal() const; 66 virtual bool IsModal() const;
67 virtual std::wstring GetWindowTitle() const; 67 virtual std::wstring GetWindowTitle() const;
68 virtual bool Accept(); 68 virtual bool Accept();
69 virtual bool AreAcceleratorsEnabled(DialogButton button); 69 virtual bool AreAcceleratorsEnabled(DialogButton button);
70 virtual ChromeViews::View* GetContentsView(); 70 virtual ChromeViews::View* GetContentsView();
71 71
72 // View methods. 72 // View methods.
73 virtual void Layout(); 73 virtual void Layout();
74 virtual void GetPreferredSize(CSize *out); 74 virtual gfx::Size GetPreferredSize();
75 virtual void DidChangeBounds(const CRect& previous, const CRect& current); 75 virtual void DidChangeBounds(const CRect& previous, const CRect& current);
76 virtual void ViewHierarchyChanged(bool is_add, ChromeViews::View* parent, 76 virtual void ViewHierarchyChanged(bool is_add, ChromeViews::View* parent,
77 ChromeViews::View* child); 77 ChromeViews::View* child);
78 78
79 // TreeViewObserver methods. 79 // TreeViewObserver methods.
80 virtual void OnTreeViewSelectionChanged(ChromeViews::TreeView* tree_view); 80 virtual void OnTreeViewSelectionChanged(ChromeViews::TreeView* tree_view);
81 virtual bool CanEdit(ChromeViews::TreeView* tree_view, 81 virtual bool CanEdit(ChromeViews::TreeView* tree_view,
82 ChromeViews::TreeModelNode* node); 82 ChromeViews::TreeModelNode* node);
83 83
84 // TextField::Controller methods. 84 // TextField::Controller methods.
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 BookmarkModel* bb_model_; 247 BookmarkModel* bb_model_;
248 248
249 // If true, we're running the menu for the bookmark bar or other bookmarks 249 // If true, we're running the menu for the bookmark bar or other bookmarks
250 // nodes. 250 // nodes.
251 bool running_menu_for_root_; 251 bool running_menu_for_root_;
252 252
253 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); 253 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView);
254 }; 254 };
255 255
256 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ 256 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698