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

Unified Diff: ash/launcher/launcher_button.cc

Issue 10827198: Change View::HitTest to View::HitTestRect (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed errors reported by trybots 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
« no previous file with comments | « ash/launcher/launcher_button.h ('k') | chrome/browser/chromeos/input_method/candidate_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_button.cc
diff --git a/ash/launcher/launcher_button.cc b/ash/launcher/launcher_button.cc
index af9b0e18aab2dbf5500b638bac5849ed4ffd150d..24b5adf3dd05b89bf0a7a072d5123905f67cb1d9 100644
--- a/ash/launcher/launcher_button.cc
+++ b/ash/launcher/launcher_button.cc
@@ -64,7 +64,7 @@ class LauncherButton::BarView : public views::ImageView,
}
// View overrides.
- bool HitTest(const gfx::Point& l) const OVERRIDE {
+ bool HitTestRect(const gfx::Rect& rect) const OVERRIDE {
// Allow Mouse...() messages to go to the parent view.
return false;
}
@@ -206,7 +206,7 @@ LauncherButton::IconView::IconView() : icon_size_(kIconSize) {
LauncherButton::IconView::~IconView() {
}
-bool LauncherButton::IconView::HitTest(const gfx::Point& l) const {
+bool LauncherButton::IconView::HitTestRect(const gfx::Rect& rect) const {
// Return false so that LauncherButton gets all the mouse events.
return false;
}
« no previous file with comments | « ash/launcher/launcher_button.h ('k') | chrome/browser/chromeos/input_method/candidate_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698