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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 8729009: Implement an AutoLaunch experiment for Chrome for certain brand codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void DragDropStartupPage(const ListValue* args); 82 void DragDropStartupPage(const ListValue* args);
83 83
84 // Gets autocomplete suggestions asychronously for the given string. 84 // Gets autocomplete suggestions asychronously for the given string.
85 // Called from WebUI. 85 // Called from WebUI.
86 void RequestAutocompleteSuggestions(const ListValue* args); 86 void RequestAutocompleteSuggestions(const ListValue* args);
87 87
88 // Enables/disables Instant. 88 // Enables/disables Instant.
89 void EnableInstant(const ListValue* args); 89 void EnableInstant(const ListValue* args);
90 void DisableInstant(const ListValue* args); 90 void DisableInstant(const ListValue* args);
91 91
92 // Enables/disables auto-launching of Chrome on computer startup.
93 void ToggleAutoLaunch(const ListValue* args);
94
92 // Called to request information about the Instant field trial. 95 // Called to request information about the Instant field trial.
93 void GetInstantFieldTrialStatus(const ListValue* args); 96 void GetInstantFieldTrialStatus(const ListValue* args);
94 97
95 // Returns the string ID for the given default browser state. 98 // Returns the string ID for the given default browser state.
96 int StatusStringIdForState(ShellIntegration::DefaultWebClientState state); 99 int StatusStringIdForState(ShellIntegration::DefaultWebClientState state);
97 100
98 // Gets the current default browser state, and asynchronously reports it to 101 // Gets the current default browser state, and asynchronously reports it to
99 // the WebUI page. 102 // the WebUI page.
100 void UpdateDefaultBrowserState(); 103 void UpdateDefaultBrowserState();
101 104
(...skipping 25 matching lines...) Expand all
127 // CustomHomePagesTableModel, consider changing it to something more like 130 // CustomHomePagesTableModel, consider changing it to something more like
128 // TemplateURLService. 131 // TemplateURLService.
129 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; 132 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_;
130 133
131 scoped_ptr<AutocompleteController> autocomplete_controller_; 134 scoped_ptr<AutocompleteController> autocomplete_controller_;
132 135
133 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 136 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
134 }; 137 };
135 138
136 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 139 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698