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

Unified Diff: chrome_frame/ready_mode/internal/ready_prompt_content.h

Issue 6314016: Update the Ready Mode UI in response to feedback from UI leads, Chrome Frame ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome_frame/chrome_frame.gyp ('k') | chrome_frame/ready_mode/internal/ready_prompt_content.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/ready_mode/internal/ready_prompt_content.h
===================================================================
--- chrome_frame/ready_mode/internal/ready_prompt_content.h (revision 72333)
+++ chrome_frame/ready_mode/internal/ready_prompt_content.h (working copy)
@@ -13,14 +13,18 @@
class ReadyModeState;
class ReadyPromptWindow;
+class UrlLauncher;
// Encapsulates the Ready Mode prompt inviting users to permanently activate
// Chrome Frame, temporarily disable Ready Mode, or permanently disable Ready
// Mode.
class ReadyPromptContent : public InfobarContent {
public:
- explicit ReadyPromptContent(ReadyModeState* ready_mode_state);
- ~ReadyPromptContent();
+ // Takes ownership of the ReadyModeState and UrlLauncher instances, which
+ // will be freed upon destruction of the ReadyPromptContent.
+ ReadyPromptContent(ReadyModeState* ready_mode_state,
+ UrlLauncher* url_launcher);
+ virtual ~ReadyPromptContent();
// InfobarContent implementation
virtual bool InstallInFrame(Frame* frame);
@@ -30,6 +34,7 @@
private:
base::WeakPtr<ReadyPromptWindow> window_;
scoped_ptr<ReadyModeState> ready_mode_state_;
+ scoped_ptr<UrlLauncher> url_launcher_;
DISALLOW_COPY_AND_ASSIGN(ReadyPromptContent);
}; // class ReadyPromptContent
« no previous file with comments | « chrome_frame/chrome_frame.gyp ('k') | chrome_frame/ready_mode/internal/ready_prompt_content.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698