Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index a5ef00dae1dc83cdaeccd314cc80e239ff475c47..f98f3f503c77ce3c211da1c9e3c883d4883c9d2e 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -1431,6 +1431,11 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
const gfx::Point& press_pt, |
ui::DragDropTypes::DragEventSource source); |
+ // Returns true if this is not a top level widget. Virtual for tests. |
+ virtual bool IsChildWidget() const; |
+ // Returns true if the focus is not in a top level widget. Virtual for tests. |
+ virtual bool FocusInChildWidget() const; |
sadrul
2016/01/28 08:11:00
These should not be virtual methods. It should be
meacer
2016/01/29 00:37:36
Done.
|
+ |
////////////////////////////////////////////////////////////////////////////// |
// Creation and lifetime ----------------------------------------------------- |