diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 11:28:15 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 11:28:15 +0000 |
commit | 1698f61ab14b98e2d7d48e826acdb73517606f3a (patch) | |
tree | a10378e97c8ac94e4dc3bcbb4fc29ffb9cea76dc /chrome/common/chrome_constants.h | |
parent | 4572f54213d9189385e718eb3533c921d1e8fff8 (diff) | |
download | chromium_src-1698f61ab14b98e2d7d48e826acdb73517606f3a.zip chromium_src-1698f61ab14b98e2d7d48e826acdb73517606f3a.tar.gz chromium_src-1698f61ab14b98e2d7d48e826acdb73517606f3a.tar.bz2 |
Add the 'suppress further messageboxes' checkbox to messages from ExtensionHost.
BUG=70571
TEST=Install extension epjloinmdeceaohafhclddofkiikbabe from Gallery, click the browser action icon, click the button in the popup. Make sure the checkbox appears, that you can click it and that the extension cannot lock up the browser by prompting in a loop.
Review URL: http://codereview.chromium.org/6646049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_constants.h')
-rw-r--r-- | chrome/common/chrome_constants.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h index 9b966bf..b1cbdda 100644 --- a/chrome/common/chrome_constants.h +++ b/chrome/common/chrome_constants.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -95,6 +95,12 @@ extern const int kMaxSessionHistoryEntries; // (Matches what the CLD -Compact Language Detection- library reports.) extern const char* const kUnknownLanguageCode; +// If another javascript message box is displayed within +// kJavascriptMessageExpectedDelay of a previous javascript message box being +// dismissed, display an option to suppress future message boxes from this +// contents. +extern const int kJavascriptMessageExpectedDelay; + } // namespace chrome #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |