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

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

Issue 9618037: Help: Hook up the 'Get help' button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo. Created 8 years, 9 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
« no previous file with comments | « chrome/browser/resources/help/help.js ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 29
30 private: 30 private:
31 // Initializes querying values for the page. 31 // Initializes querying values for the page.
32 void OnPageLoaded(const base::ListValue* args); 32 void OnPageLoaded(const base::ListValue* args);
33 33
34 #if defined(OS_MACOSX) 34 #if defined(OS_MACOSX)
35 // Promotes the updater for all users. 35 // Promotes the updater for all users.
36 void PromoteUpdater(const base::ListValue* args); 36 void PromoteUpdater(const base::ListValue* args);
37 #endif 37 #endif
38 38
39 // Relaunches the browser. |args| must be NULL. 39 // Relaunches the browser. |args| must be empty.
40 void RelaunchNow(const base::ListValue* args); 40 void RelaunchNow(const base::ListValue* args);
41 41
42 // Opens the feedback dialog. |args| must be NULL. 42 // Opens the feedback dialog. |args| must be empty.
43 void OpenFeedbackDialog(const base::ListValue* args); 43 void OpenFeedbackDialog(const base::ListValue* args);
44 44
45 // Opens the help page. |args| must be empty.
46 void OpenHelpPage(const base::ListValue* args);
47
45 #if defined(OS_CHROMEOS) 48 #if defined(OS_CHROMEOS)
46 // Sets the release track version. 49 // Sets the release track version.
47 void SetReleaseTrack(const base::ListValue* args); 50 void SetReleaseTrack(const base::ListValue* args);
48 #endif 51 #endif
49 52
50 // Callback method which forwards status updates to the page. 53 // Callback method which forwards status updates to the page.
51 void SetUpdateStatus(VersionUpdater::Status status, int progress, 54 void SetUpdateStatus(VersionUpdater::Status status, int progress,
52 const string16& fail_message); 55 const string16& fail_message);
53 56
54 #if defined(OS_MACOSX) 57 #if defined(OS_MACOSX)
(...skipping 17 matching lines...) Expand all
72 chromeos::VersionLoader loader_; 75 chromeos::VersionLoader loader_;
73 76
74 // Used to request the version. 77 // Used to request the version.
75 CancelableRequestConsumer consumer_; 78 CancelableRequestConsumer consumer_;
76 #endif // defined(OS_CHROMEOS) 79 #endif // defined(OS_CHROMEOS)
77 80
78 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 81 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
79 }; 82 };
80 83
81 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 84 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/help/help.js ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698