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

Unified Diff: ui/views/widget/native_widget_delegate.h

Issue 10566009: app_list: Fix shadow bleeds over launcher button and steals mouse events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix aura_demo compilation Created 8 years, 6 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 | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_delegate.h
diff --git a/ui/views/widget/native_widget_delegate.h b/ui/views/widget/native_widget_delegate.h
index 41e38e7710ec0343d34c724a1c9459983b9d6384..35bc61cf6b1dc2932f6fd6467bc28439a29db2cd 100644
--- a/ui/views/widget/native_widget_delegate.h
+++ b/ui/views/widget/native_widget_delegate.h
@@ -11,6 +11,7 @@
namespace gfx {
class Canvas;
+class Path;
class Point;
class Size;
}
@@ -113,6 +114,12 @@ class VIEWS_EXPORT NativeWidgetDelegate {
// if the widget doesn't have input method.
virtual InputMethod* GetInputMethodDirect() = 0;
+ // Returns true if window has a hit-test mask.
+ virtual bool HasHitTestMask() const = 0;
+
+ // Provides the hit-test mask if HasHitTestMask above returns true.
+ virtual void GetHitTestMask(gfx::Path* mask) const = 0;
+
//
virtual Widget* AsWidget() = 0;
virtual const Widget* AsWidget() const = 0;
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698