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

Unified Diff: chrome/browser/ui/webui/welcome_win10_handler.h

Issue 2513953004: Adding metrics on the usefulness of the Win10 version of the Welcome Page (Closed)
Patch Set: merge Created 4 years, 1 month 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 | « no previous file | chrome/browser/ui/webui/welcome_win10_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/welcome_win10_handler.h
diff --git a/chrome/browser/ui/webui/welcome_win10_handler.h b/chrome/browser/ui/webui/welcome_win10_handler.h
index 440eb75641ce1bb603bb2ab35997ed0dac3e8587..4bc6e32fda68ce7641b25889a3e755f19ba7607a 100644
--- a/chrome/browser/ui/webui/welcome_win10_handler.h
+++ b/chrome/browser/ui/webui/welcome_win10_handler.h
@@ -20,7 +20,7 @@ class ListValue;
// Handles actions on the Windows 10 specific Welcome page.
class WelcomeWin10Handler : public content::WebUIMessageHandler {
public:
- WelcomeWin10Handler();
+ explicit WelcomeWin10Handler(bool inline_style_variant);
~WelcomeWin10Handler() override;
// content::WebUIMessageHandler:
@@ -58,6 +58,9 @@ class WelcomeWin10Handler : public content::WebUIMessageHandler {
// when it is received, or wait for the call to happen.
std::string pinned_state_callback_id_;
+ // Indicates if the inline style variant is displayed.
+ bool inline_style_variant_;
+
base::WeakPtrFactory<WelcomeWin10Handler> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(WelcomeWin10Handler);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/welcome_win10_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698