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

Unified Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.cc

Issue 9391024: Custom frame UI for platform apps on Windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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/tab_contents/native_tab_contents_view_win.cc
diff --git a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.cc b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.cc
index c551e9e960957d354616cb6e3e4376c9e39a78ca..ec01bcc15896fb4c5e3959717bea80f6ae0e4185 100644
--- a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.cc
+++ b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.cc
@@ -282,6 +282,12 @@ void NativeTabContentsViewWin::OnNCPaint(HRGN rgn) {
// here since the view will draw everything correctly.
}
+LRESULT NativeTabContentsViewWin::OnNCHitTest(const CPoint& point) {
+ // Allow hit tests to fall through to the parent window.
+ SetMsgHandled(true);
+ return HTTRANSPARENT;
+}
+
////////////////////////////////////////////////////////////////////////////////
// NativeTabContentsViewWin, private:

Powered by Google App Engine
This is Rietveld 408576698