summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/browser_proxy.cc')
-rw-r--r--chrome/test/automation/browser_proxy.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index fcbd4af..7da15e2 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -457,3 +457,23 @@ scoped_refptr<AutocompleteEditProxy> BrowserProxy::GetAutocompleteEdit() {
result.swap(&p);
return result;
}
+
+bool BrowserProxy::IsFullscreen(bool* is_fullscreen) {
+ DCHECK(is_fullscreen);
+
+ if (!is_valid())
+ return false;
+
+ return sender_->Send(new AutomationMsg_IsFullscreen(0, handle_,
+ is_fullscreen));
+}
+
+bool BrowserProxy::IsFullscreenBubbleVisible(bool* is_visible) {
+ DCHECK(is_visible);
+
+ if (!is_valid())
+ return false;
+
+ return sender_->Send(new AutomationMsg_IsFullscreenBubbleVisible(0, handle_,
+ is_visible));
+}