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

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

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/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyautolib.i
diff --git a/chrome/test/pyautolib/pyautolib.i b/chrome/test/pyautolib/pyautolib.i
index e135e9721035b47c88cc7d228e97267922336389..7bff1bc100d5a1b84f155ce508c273ebe638a90b 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -264,6 +264,9 @@ class PyUITestBase {
%feature("docstring", "Like ApplyAccelerator, except that it waits for "
"the command to execute.") RunCommand;
bool RunCommand(int browser_command, int window_index = 0);
+ %feature("docstring", "Returns true if the given command id is enabled on "
+ "the given window.") IsMenuCommandEnabled;
+ bool IsMenuCommandEnabled(int browser_command, int window_index = 0);
// Get/fetch properties
%feature("docstring",
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698