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

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

Issue 5747002: Implement a ReadyPromptContent that displays a prompt to accept, temporarily ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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
Index: chrome_frame/ready_mode/internal/ready_mode_state.h
===================================================================
--- chrome_frame/ready_mode/internal/ready_mode_state.h (revision 0)
+++ chrome_frame/ready_mode/internal/ready_mode_state.h (revision 0)
@@ -0,0 +1,24 @@
+// Copyright (c) 2010 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.
+
+#ifndef CHROME_FRAME_READY_MODE_INTERNAL_READY_MODE_STATE_H_
+#define CHROME_FRAME_READY_MODE_INTERNAL_READY_MODE_STATE_H_
+#pragma once
+
+// Allows the UI element to signal the user's response to a Ready Mode prompt.
+class ReadyModeState {
+ public:
+ virtual ~ReadyModeState() {}
+
+ // Indicates that the user has temporarily declined the product.
+ virtual void TemporarilyDeclineChromeFrame() = 0;
+
+ // Indicates that the user has permanently declined the product.
+ virtual void PermanentlyDeclineChromeFrame() = 0;
+
+ // Indicates that the user has accepted the product.
+ virtual void AcceptChromeFrame() = 0;
+}; // class ReadyModeState
+
+#endif // CHROME_FRAME_READY_MODE_INTERNAL_READY_MODE_STATE_H_
Property changes on: chrome_frame\ready_mode\internal\ready_mode_state.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome_frame/ready_mode/internal/installation_state.h ('k') | chrome_frame/ready_mode/internal/ready_prompt_content.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698