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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h

Issue 277083004: Added browser and OS credits link to EULA page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/chromeos/login/screens/eula_screen_actor.h" 10 #include "chrome/browser/chromeos/login/screens/eula_screen_actor.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void GetAdditionalParameters(base::DictionaryValue* dict) OVERRIDE; 42 virtual void GetAdditionalParameters(base::DictionaryValue* dict) OVERRIDE;
43 virtual void Initialize() OVERRIDE; 43 virtual void Initialize() OVERRIDE;
44 44
45 // WebUIMessageHandler implementation: 45 // WebUIMessageHandler implementation:
46 virtual void RegisterMessages() OVERRIDE; 46 virtual void RegisterMessages() OVERRIDE;
47 47
48 private: 48 private:
49 // JS messages handlers. 49 // JS messages handlers.
50 void HandleOnExit(bool accepted, bool usager_stats_enabled); 50 void HandleOnExit(bool accepted, bool usager_stats_enabled);
51 void HandleOnLearnMore(); 51 void HandleOnLearnMore();
52 void HandleOnChromeCredits();
53 void HandleOnChromeOSCredits();
52 void HandleOnInstallationSettingsPopupOpened(); 54 void HandleOnInstallationSettingsPopupOpened();
53 55
54 EulaScreenActor::Delegate* delegate_; 56 EulaScreenActor::Delegate* delegate_;
55 CoreOobeActor* core_oobe_actor_; 57 CoreOobeActor* core_oobe_actor_;
56 58
57 // Help application used for help dialogs. 59 // Help application used for help dialogs.
58 scoped_refptr<HelpAppLauncher> help_app_; 60 scoped_refptr<HelpAppLauncher> help_app_;
59 61
60 // Keeps whether screen should be shown right after initialization. 62 // Keeps whether screen should be shown right after initialization.
61 bool show_on_init_; 63 bool show_on_init_;
62 64
63 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler); 65 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler);
64 }; 66 };
65 67
66 } // namespace chromeos 68 } // namespace chromeos
67 69
68 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 70 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/chromeos/login/eula_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698