Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9058)

Unified Diff: chrome/test/pyautolib/pyautolib.h

Issue 8395044: Disable the Developer Tools when Javascript is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/functional/policy_prefs_ui.py ('k') | chrome/test/pyautolib/pyautolib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyautolib.h
diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h
index 72c3fbeaec6a9e33266a6b32f866ad1a38133a75..d08a8ba20596e15f0a09dd95a7d5c986811a4402 100644
--- a/chrome/test/pyautolib/pyautolib.h
+++ b/chrome/test/pyautolib/pyautolib.h
@@ -101,6 +101,9 @@ class PyUITestBase : public UITestBase {
// Like ApplyAccelerator except that it waits for the command to execute.
bool RunCommand(int browser_command, int window_index = 0);
+ // Returns true if the given command id is enabled on the given window.
+ bool IsMenuCommandEnabled(int browser_command, int window_index = 0);
+
// Shows or hides the download shelf.
void SetDownloadShelfVisible(bool is_visible, int window_index = 0);
« no previous file with comments | « chrome/test/functional/policy_prefs_ui.py ('k') | chrome/test/pyautolib/pyautolib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698