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

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: Created 9 years, 2 months 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
« chrome/test/pyautolib/pyautolib.cc ('K') | « 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 958aa1a81f8249ba9f9d0b9b2770a6b21860f9e2..8ba3030b40670ecec21fb8dd78297dce9311154d 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",
« chrome/test/pyautolib/pyautolib.cc ('K') | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698