Index: third_party/WebKit/Source/core/page/Page.cpp |
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp |
index bcad85fab860c81da591168bd70bb56249623d8d..2db6b62f9bdd0e630f276c3ffa6d21a11ece1709 100644 |
--- a/third_party/WebKit/Source/core/page/Page.cpp |
+++ b/third_party/WebKit/Source/core/page/Page.cpp |
@@ -381,6 +381,11 @@ PageVisibilityState Page::visibilityState() const |
return m_visibilityState; |
} |
+bool Page::isPageVisible() const |
haraken
2016/01/25 22:54:31
const won't be needed in the cpp side.
ortuno
2016/01/25 23:36:34
not sure what you mean here? All functions that ha
haraken
2016/01/25 23:40:17
ah, sorry, you're right!
|
+{ |
+ return visibilityState() == PageVisibilityStateVisible; |
+} |
+ |
bool Page::isCursorVisible() const |
{ |
return m_isCursorVisible && settings().deviceSupportsMouse(); |