diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-10 00:09:03 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-10 00:09:03 +0000 |
commit | 4d1929f16b8c00f304fdc291cd4672c61ae5f400 (patch) | |
tree | 08ba2870510d8d11c5bffc0764a0d5968fda2b9d /chrome/browser/automation/automation_provider.h | |
parent | b7ca76b51d7a8c3f28d068a70b7b607be814c63e (diff) | |
download | chromium_src-4d1929f16b8c00f304fdc291cd4672c61ae5f400.zip chromium_src-4d1929f16b8c00f304fdc291cd4672c61ae5f400.tar.gz chromium_src-4d1929f16b8c00f304fdc291cd4672c61ae5f400.tar.bz2 |
PyAuto: Automation hooks to get/set theme
Add automation hooks to:
- install a given theme
- fetch info about the current theme
- reset to default theme
Add a test exercising the above.
BUG=36215
TEST=python chrome/test/functional/themes.py
Review URL: http://codereview.chromium.org/2827048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 5361695..d8e8d0b 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -441,6 +441,12 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, DictionaryValue* args, IPC::Message* reply_message); + // Get info about theme. + // Uses the JSON interface for input/output. + void GetThemeInfo(Browser* browser, + DictionaryValue* args, + IPC::Message* reply_message); + // Get the profiles that are currently saved to the DB. // Uses the JSON interface for input/output. void GetAutoFillProfile(Browser* browser, |