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

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: "Transparent" -> "Clickthrough", fix patchset 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
« no previous file with comments | « chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3cc6670613b572c0aceaf6dac7079377e37ddfd7..b14ee188bf3a78372f6c4fca7c1fe8037d002962 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
@@ -283,6 +283,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:
« no previous file with comments | « chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698