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

Unified Diff: chrome/browser/ui/views/frame/avatar_button_manager.h

Issue 1529703003: [EXPERIMENT] [MacViews] Enable and handle the profile switcher. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 | « no previous file | chrome/browser/ui/views/frame/avatar_button_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/avatar_button_manager.h
diff --git a/chrome/browser/ui/views/frame/avatar_button_manager.h b/chrome/browser/ui/views/frame/avatar_button_manager.h
index ca3aa5bdf0cd895fb93f0f53f55adc94ac0071ee..e87157719e93c8c30d37ca225c5e2f10c772c9af 100644
--- a/chrome/browser/ui/views/frame/avatar_button_manager.h
+++ b/chrome/browser/ui/views/frame/avatar_button_manager.h
@@ -23,6 +23,9 @@ class AvatarButtonManager : public AvatarButtonDelegate {
// Gets the avatar button as a view::View.
views::View* view() const { return view_; }
+ bool Intersects(const gfx::Rect& rect) const;
+ bool HitTest(const gfx::Point& point) const;
+
private:
// AvatarButtonDelegate:
void ButtonPreferredSizeChanged() override;
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/avatar_button_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698