Make sure account reconcilor only works for connected profiles.
[chromium-blink-merge.git] / chrome_frame / turndown_prompt / turndown_prompt.h
blobb255b1180d75396994b61d5a18ce5e4bdfdd3eb1
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_
8 #include <atlbase.h>
9 #include <atlcom.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
15 // turned down.
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
25 // suppressed.
26 void Configure(IWebBrowser2* web_browser);
28 }; // namespace turndown_prompt
30 #endif // CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_H_