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

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

Issue 2273863002: Revert of 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/opaque_browser_frame_view.h
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
index 937d9d1ea7626473aa7a3dbf5210bafc04b803a0..a78ec1bc54050777bb10451855d1434c6ed2f5a5 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
@@ -105,6 +105,10 @@
void UpdateProfileIcons() override;
private:
+ // views::NonClientFrameView:
+ bool DoesIntersectRect(const views::View* target,
+ const gfx::Rect& rect) const override;
+
// Creates, adds and returns a new image button with |this| as its listener.
// Memory is owned by the caller.
views::ImageButton* InitWindowCaptionButton(int normal_image_id,

Powered by Google App Engine
This is Rietveld 408576698