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

Unified Diff: ash/shelf/shelf_tooltip_manager.cc

Issue 2901503003: Rename GetPreferredSize to CalculatePreferredSize in ash/ (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: ash/shelf/shelf_tooltip_manager.cc
diff --git a/ash/shelf/shelf_tooltip_manager.cc b/ash/shelf/shelf_tooltip_manager.cc
index 7ed0cc3e95e47d3c6fecd2ec7a5a816aac5c6447..0a0389c35f520f404a46ea58d1f1f7fcb114becd 100644
--- a/ash/shelf/shelf_tooltip_manager.cc
+++ b/ash/shelf/shelf_tooltip_manager.cc
@@ -98,7 +98,7 @@ class ShelfTooltipManager::ShelfTooltipBubble
private:
// BubbleDialogDelegateView overrides:
- gfx::Size GetPreferredSize() const override {
+ gfx::Size CalculatePreferredSize() const override {
const gfx::Size size = BubbleDialogDelegateView::GetPreferredSize();
const int kTooltipMinHeight = kTooltipHeight - 2 * kTooltipTopBottomMargin;
return gfx::Size(std::min(size.width(), kTooltipMaxWidth),

Powered by Google App Engine
This is Rietveld 408576698