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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_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_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 BookmarkBubbleViewObserver* observer, 70 BookmarkBubbleViewObserver* observer,
71 scoped_ptr<BookmarkBubbleDelegate> delegate, 71 scoped_ptr<BookmarkBubbleDelegate> delegate,
72 Profile* profile, 72 Profile* profile,
73 const GURL& url, 73 const GURL& url,
74 bool newly_bookmarked); 74 bool newly_bookmarked);
75 75
76 // Returns the title to display. 76 // Returns the title to display.
77 base::string16 GetTitle(); 77 base::string16 GetTitle();
78 78
79 // Overridden from views::View: 79 // Overridden from views::View:
80 virtual gfx::Size GetMinimumSize() OVERRIDE; 80 virtual gfx::Size GetMinimumSize() const OVERRIDE;
81 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; 81 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
82 82
83 // Overridden from views::ButtonListener: 83 // Overridden from views::ButtonListener:
84 // Closes the bubble or opens the edit dialog. 84 // Closes the bubble or opens the edit dialog.
85 virtual void ButtonPressed(views::Button* sender, 85 virtual void ButtonPressed(views::Button* sender,
86 const ui::Event& event) OVERRIDE; 86 const ui::Event& event) OVERRIDE;
87 87
88 // Overridden from views::ComboboxListener: 88 // Overridden from views::ComboboxListener:
89 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE; 89 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
90 90
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // When the destructor is invoked should the bookmark be removed? 139 // When the destructor is invoked should the bookmark be removed?
140 bool remove_bookmark_; 140 bool remove_bookmark_;
141 141
142 // When the destructor is invoked should edits be applied? 142 // When the destructor is invoked should edits be applied?
143 bool apply_edits_; 143 bool apply_edits_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView); 145 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleView);
146 }; 146 };
147 147
148 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_ 148 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698