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

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

Issue 2262563002: Refactor DoesIntersectRect into BrowserNonClientFrameView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: chrome/browser/ui/views/frame/browser_non_client_frame_view.h
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
index b305e67b27600ff46cee26af68d55451c9676dd8..985a5f7a4d28d5a3ec93b19a2f4edc270376865c 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
@@ -100,6 +100,8 @@ class BrowserNonClientFrameView : public views::NonClientFrameView,
void ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) override;
void ActivationChanged(bool active) override;
+ bool DoesIntersectRect(const views::View* target,
+ const gfx::Rect& rect) const override;
// ProfileAttributesStorage::Observer:
void OnProfileAdded(const base::FilePath& profile_path) override;

Powered by Google App Engine
This is Rietveld 408576698