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

Unified Diff: ash/launcher/launcher_button.cc

Issue 9703026: Makes the maximize/restore button handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 9 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/launcher/launcher_button.cc
diff --git a/ash/launcher/launcher_button.cc b/ash/launcher/launcher_button.cc
index b9f50004255b3b6cae1a72e994c142596cb5b068..2963c9fc6be6bc12553b8f145af87e919e110a0a 100644
--- a/ash/launcher/launcher_button.cc
+++ b/ash/launcher/launcher_button.cc
@@ -140,6 +140,10 @@ void LauncherButton::ClearState(State state) {
}
}
+gfx::Rect LauncherButton::GetIconBounds() const {
+ return icon_view_->bounds();
+}
+
bool LauncherButton::OnMousePressed(const views::MouseEvent& event) {
CustomButton::OnMousePressed(event);
host_->MousePressedOnButton(this, event);

Powered by Google App Engine
This is Rietveld 408576698