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

Side by Side Diff: chrome_frame/turndown_prompt/turndown_prompt.h

Issue 17153006: Chrome Frame turndown prompt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_H_
6 #define CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_H_
7
8 #include <atlbase.h>
9 #include <atlcom.h>
10
11 interface IWebBrowser2;
12
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 {
17
18 // Returns true if the Turndown prompt is suppressed by group policy, either
19 // implicitly by disabling updates to Chrome Frame, or explicitly by the
20 // SuppressChromeFrameTurndownPrompt GPO.
21 bool IsPromptSuppressed();
22
23 // Configures |web_browser| for the turndown prompt if the prompt has not been
24 // suppressed.
25 void Configure(IWebBrowser2* web_browser);
26
27 }; // namespace turndown_prompt
28
29 #endif // CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698