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

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

Issue 2650833002: Set focusibility correctly when initializing a window in mus+ash. (Closed)
Patch Set: addressed feedback. Created 3 years, 11 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/mus/mus_client.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index a9861ec27b214d7b3efcb0e64fbe3a9505e852a7..33c065643f1cfb6ce82f3dff3b9e4f2ef367b338 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -214,6 +214,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
InitParams(const InitParams& other);
~InitParams();
+ // Returns the activatablity based on |activatable|, but also handles the
+ // case where |activatable| is |ACTIVATABLE_DEFAULT|.
+ bool CanActivate() const;
+
Type type;
// If null, a default implementation will be constructed. The default
// implementation deletes itself when the Widget closes.
« no previous file with comments | « ui/views/mus/mus_client.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698