1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_H_
6 #define CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_H_
11 interface IWebBrowser2
;
13 // Integrates the Turndown prompt functionality with a specified IWebBrowser2
14 // instance. Displays prompts informing the user that Chrome Frame is being
16 namespace turndown_prompt
{
18 // Returns true if the Turndown prompt is suppressed. Suppression may be
19 // explicit via the SuppressChromeFrameTurndownPrompt GPO or implicit by virtue
20 // of Chrome Frame having been installed via the .MSI or by updates to Chrome
21 // Frame having been disabled.
22 bool IsPromptSuppressed();
24 // Configures |web_browser| for the turndown prompt if the prompt has not been
26 void Configure(IWebBrowser2
* web_browser
);
28 }; // namespace turndown_prompt
30 #endif // CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_H_