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

Unified Diff: content/public/browser/render_widget_host_view.h

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 | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_widget_host_view.h
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
index 99d152cb15f3f3ffc8c6c3c4e37d766cf1ddc376..3ca9b92516b0e2c3b2ae55de5479f16cc71ef896 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -12,6 +12,7 @@
#include "content/common/content_export.h"
#include "third_party/skia/include/core/SkBitmap.h"
+#include "third_party/skia/include/core/SkRegion.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
#include "ui/gfx/native_widget_types.h"
@@ -136,6 +137,11 @@ class CONTENT_EXPORT RenderWidgetHostView {
// on browser_accessibility* files in content.
virtual BrowserAccessibilityManager*
GetBrowserAccessibilityManager() const = 0;
+
+#if defined(OS_WIN) && !defined(USE_AURA)
+ // The region specified will be transparent to mouse clicks.
+ virtual void SetClickthroughRegion(SkRegion* region) {}
+#endif
};
} // namespace content
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698