| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ | 5 #ifndef CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ |
| 6 #define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ | 6 #define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 // Gets the boolean value of the specified preference. | 197 // Gets the boolean value of the specified preference. |
| 198 bool GetBooleanPreference(const std::wstring& name, bool* value); | 198 bool GetBooleanPreference(const std::wstring& name, bool* value); |
| 199 | 199 |
| 200 // Sets the boolean value of the specified preference. | 200 // Sets the boolean value of the specified preference. |
| 201 bool SetBooleanPreference(const std::wstring& name, bool value); | 201 bool SetBooleanPreference(const std::wstring& name, bool value); |
| 202 | 202 |
| 203 // Simulates a termination the browser session (as if the user logged off the | 203 // Simulates a termination the browser session (as if the user logged off the |
| 204 // mahine). | 204 // mahine). |
| 205 bool TerminateSession(); | 205 bool TerminateSession(); |
| 206 | 206 |
| 207 // Sets |is_fullscreen| to whether the browser is currently in fullscreen |
| 208 // mode. |
| 209 bool IsFullscreen(bool* is_fullscreen); |
| 210 |
| 211 // Sets |is_visible| to whether the browser's fullscreen bubble is visible. |
| 212 bool IsFullscreenBubbleVisible(bool* is_visible); |
| 213 |
| 207 protected: | 214 protected: |
| 208 virtual ~BrowserProxy() {} | 215 virtual ~BrowserProxy() {} |
| 209 private: | 216 private: |
| 210 DISALLOW_COPY_AND_ASSIGN(BrowserProxy); | 217 DISALLOW_COPY_AND_ASSIGN(BrowserProxy); |
| 211 }; | 218 }; |
| 212 | 219 |
| 213 #endif // CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ | 220 #endif // CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ |
| OLD | NEW |