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

Unified Diff: ash/launcher/launcher_button.h

Issue 10827198: Change View::HitTest to View::HitTestRect (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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.h
diff --git a/ash/launcher/launcher_button.h b/ash/launcher/launcher_button.h
index 03e7c5a555f083a24c51c984597b442d99205c02..fdf110e63886793c90428c82971d42358d42b703 100644
--- a/ash/launcher/launcher_button.h
+++ b/ash/launcher/launcher_button.h
@@ -71,7 +71,7 @@ class LauncherButton : public views::CustomButton {
int icon_size() const { return icon_size_; }
// views::View overrides.
- virtual bool HitTest(const gfx::Point& l) const OVERRIDE;
+ virtual bool HitTest(const gfx::Rect& r) const OVERRIDE;
private:
// Set to non-zero to force icons to be resized to fit within a square,
« no previous file with comments | « no previous file | ash/launcher/launcher_button.cc » ('j') | chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698