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

Side by Side Diff: chrome/browser/ui/webui/help/help_handler.h

Issue 680393002: Alt text for About UI product label (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
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_HELP_HELP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // Callback method which forwards promotion state to the page. 83 // Callback method which forwards promotion state to the page.
84 void SetPromotionState(VersionUpdater::PromotionState state); 84 void SetPromotionState(VersionUpdater::PromotionState state);
85 #endif 85 #endif
86 86
87 #if defined(OS_CHROMEOS) 87 #if defined(OS_CHROMEOS)
88 // Callbacks from VersionLoader. 88 // Callbacks from VersionLoader.
89 void OnOSVersion(const std::string& version); 89 void OnOSVersion(const std::string& version);
90 void OnOSFirmware(const std::string& firmware); 90 void OnOSFirmware(const std::string& firmware);
91 void OnCurrentChannel(const std::string& channel); 91 void OnCurrentChannel(const std::string& channel);
92 void OnTargetChannel(const std::string& channel); 92 void OnTargetChannel(const std::string& channel);
93
94 // Callback for loading FCC label alt text.
95 void LoadFCCLabelText();
93 #endif 96 #endif
94 97
95 // Specialized instance of the VersionUpdater used to update the browser. 98 // Specialized instance of the VersionUpdater used to update the browser.
96 scoped_ptr<VersionUpdater> version_updater_; 99 scoped_ptr<VersionUpdater> version_updater_;
97 100
98 // Used to observe notifications. 101 // Used to observe notifications.
99 content::NotificationRegistrar registrar_; 102 content::NotificationRegistrar registrar_;
100 103
101 #if defined(OS_CHROMEOS) 104 #if defined(OS_CHROMEOS)
102 // Handles asynchronously loading the CrOS version info. 105 // Handles asynchronously loading the CrOS version info.
103 chromeos::VersionLoader loader_; 106 chromeos::VersionLoader loader_;
104 107
105 // Used to request the version. 108 // Used to request the version.
106 base::CancelableTaskTracker tracker_; 109 base::CancelableTaskTracker tracker_;
107 #endif // defined(OS_CHROMEOS) 110 #endif // defined(OS_CHROMEOS)
108 111
109 // Used for callbacks. 112 // Used for callbacks.
110 base::WeakPtrFactory<HelpHandler> weak_factory_; 113 base::WeakPtrFactory<HelpHandler> weak_factory_;
111 114
112 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 115 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
113 }; 116 };
114 117
115 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 118 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698