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

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

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual base::string16 GetDialogButtonLabel( 81 virtual base::string16 GetDialogButtonLabel(
82 ui::DialogButton button) const OVERRIDE; 82 ui::DialogButton button) const OVERRIDE;
83 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 83 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
84 virtual views::View* CreateExtraView() OVERRIDE; 84 virtual views::View* CreateExtraView() OVERRIDE;
85 virtual ui::ModalType GetModalType() const OVERRIDE; 85 virtual ui::ModalType GetModalType() const OVERRIDE;
86 virtual bool CanResize() const OVERRIDE; 86 virtual bool CanResize() const OVERRIDE;
87 virtual base::string16 GetWindowTitle() const OVERRIDE; 87 virtual base::string16 GetWindowTitle() const OVERRIDE;
88 virtual bool Accept() OVERRIDE; 88 virtual bool Accept() OVERRIDE;
89 89
90 // views::View: 90 // views::View:
91 virtual gfx::Size GetPreferredSize() OVERRIDE; 91 virtual gfx::Size GetPreferredSize() const OVERRIDE;
92 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; 92 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
93 93
94 // views::TreeViewController: 94 // views::TreeViewController:
95 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view) OVERRIDE; 95 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view) OVERRIDE;
96 virtual bool CanEdit(views::TreeView* tree_view, 96 virtual bool CanEdit(views::TreeView* tree_view,
97 ui::TreeModelNode* node) OVERRIDE; 97 ui::TreeModelNode* node) OVERRIDE;
98 98
99 // views::TextfieldController: 99 // views::TextfieldController:
100 virtual void ContentsChanged(views::Textfield* sender, 100 virtual void ContentsChanged(views::Textfield* sender,
101 const base::string16& new_contents) OVERRIDE; 101 const base::string16& new_contents) OVERRIDE;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // Is the tree shown? 266 // Is the tree shown?
267 bool show_tree_; 267 bool show_tree_;
268 268
269 // List of deleted bookmark folders. 269 // List of deleted bookmark folders.
270 std::vector<int64> deletes_; 270 std::vector<int64> deletes_;
271 271
272 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); 272 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView);
273 }; 273 };
274 274
275 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ 275 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698