diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-09 00:12:09 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-09 00:12:09 +0000 |
commit | 3493043c61392d48177275f90e29bdeede966308 (patch) | |
tree | e3ba4eca8ba36ad9f257d161daf534dd9b26e672 /chrome/test/automation/browser_proxy.cc | |
parent | 3367fc1dd134eeaf9ab6e62397f05ad3964319fe (diff) | |
download | chromium_src-3493043c61392d48177275f90e29bdeede966308.zip chromium_src-3493043c61392d48177275f90e29bdeede966308.tar.gz chromium_src-3493043c61392d48177275f90e29bdeede966308.tar.bz2 |
Kiosk Mode implementation.
Kiosk mode will just hide the status bar and initially set it as full screen. Added some tests to add --kiosk mode as a command switch that tests if its in fullscreen state and doesn't have a status bubble.
BUG=23145
TEST=Kiosk Mode functions and
Run the ./ui_tests --gtest_filter=KioskModeTest.*
Review URL: http://codereview.chromium.org/244003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/browser_proxy.cc')
-rw-r--r-- | chrome/test/automation/browser_proxy.cc | 20 |
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)); +} |