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

Side by Side Diff: chrome/browser/ui/webui/options2/options_ui2.cc

Issue 9147054: Revert 117136 - separate about page into its own page (included in chrome://chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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 #include "chrome/browser/ui/webui/options2/options_ui2.h" 5 #include "chrome/browser/ui/webui/options2/options_ui2.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "grit/chromium_strings.h" 50 #include "grit/chromium_strings.h"
51 #include "grit/generated_resources.h" 51 #include "grit/generated_resources.h"
52 #include "grit/locale_settings.h" 52 #include "grit/locale_settings.h"
53 #include "grit/options2_resources.h" 53 #include "grit/options2_resources.h"
54 #include "grit/theme_resources.h" 54 #include "grit/theme_resources.h"
55 #include "grit/theme_resources_standard.h" 55 #include "grit/theme_resources_standard.h"
56 #include "net/base/escape.h" 56 #include "net/base/escape.h"
57 #include "ui/base/resource/resource_bundle.h" 57 #include "ui/base/resource/resource_bundle.h"
58 58
59 #if defined(OS_CHROMEOS) 59 #if defined(OS_CHROMEOS)
60 #include "chrome/browser/ui/webui/options2/chromeos/about_page_handler2.h"
60 #include "chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.h" 61 #include "chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.h"
61 #include "chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h " 62 #include "chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h "
62 #include "chrome/browser/ui/webui/options2/chromeos/change_picture_options_handl er2.h" 63 #include "chrome/browser/ui/webui/options2/chromeos/change_picture_options_handl er2.h"
63 #include "chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handle r2.h" 64 #include "chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handle r2.h"
64 #include "chrome/browser/ui/webui/options2/chromeos/cros_language_options_handle r2.h" 65 #include "chrome/browser/ui/webui/options2/chromeos/cros_language_options_handle r2.h"
65 #include "chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h" 66 #include "chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h"
66 #include "chrome/browser/ui/webui/options2/chromeos/language_chewing_handler2.h" 67 #include "chrome/browser/ui/webui/options2/chromeos/language_chewing_handler2.h"
67 #include "chrome/browser/ui/webui/options2/chromeos/language_customize_modifier_ keys_handler2.h" 68 #include "chrome/browser/ui/webui/options2/chromeos/language_customize_modifier_ keys_handler2.h"
68 #include "chrome/browser/ui/webui/options2/chromeos/language_hangul_handler2.h" 69 #include "chrome/browser/ui/webui/options2/chromeos/language_hangul_handler2.h"
69 #include "chrome/browser/ui/webui/options2/chromeos/language_mozc_handler2.h" 70 #include "chrome/browser/ui/webui/options2/chromeos/language_mozc_handler2.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 AddOptionsPageUIHandler(localized_strings, new PasswordManagerHandler()); 229 AddOptionsPageUIHandler(localized_strings, new PasswordManagerHandler());
229 AddOptionsPageUIHandler(localized_strings, new PersonalOptionsHandler()); 230 AddOptionsPageUIHandler(localized_strings, new PersonalOptionsHandler());
230 AddOptionsPageUIHandler(localized_strings, new SearchEngineManagerHandler()); 231 AddOptionsPageUIHandler(localized_strings, new SearchEngineManagerHandler());
231 AddOptionsPageUIHandler(localized_strings, new ImportDataHandler()); 232 AddOptionsPageUIHandler(localized_strings, new ImportDataHandler());
232 AddOptionsPageUIHandler(localized_strings, new StartupPagesHandler()); 233 AddOptionsPageUIHandler(localized_strings, new StartupPagesHandler());
233 AddOptionsPageUIHandler(localized_strings, new StopSyncingHandler()); 234 AddOptionsPageUIHandler(localized_strings, new StopSyncingHandler());
234 AddOptionsPageUIHandler(localized_strings, new OptionsSyncSetupHandler( 235 AddOptionsPageUIHandler(localized_strings, new OptionsSyncSetupHandler(
235 g_browser_process->profile_manager())); 236 g_browser_process->profile_manager()));
236 #if defined(OS_CHROMEOS) 237 #if defined(OS_CHROMEOS)
237 AddOptionsPageUIHandler(localized_strings, 238 AddOptionsPageUIHandler(localized_strings,
239 new chromeos::options2::AboutPageHandler());
240 AddOptionsPageUIHandler(localized_strings,
238 new chromeos::options2::AccountsOptionsHandler()); 241 new chromeos::options2::AccountsOptionsHandler());
239 AddOptionsPageUIHandler(localized_strings, 242 AddOptionsPageUIHandler(localized_strings,
240 new chromeos::options2::BluetoothOptionsHandler()); 243 new chromeos::options2::BluetoothOptionsHandler());
241 AddOptionsPageUIHandler(localized_strings, new InternetOptionsHandler()); 244 AddOptionsPageUIHandler(localized_strings, new InternetOptionsHandler());
242 AddOptionsPageUIHandler(localized_strings, 245 AddOptionsPageUIHandler(localized_strings,
243 new chromeos::options2::LanguageChewingHandler()); 246 new chromeos::options2::LanguageChewingHandler());
244 AddOptionsPageUIHandler( 247 AddOptionsPageUIHandler(
245 localized_strings, 248 localized_strings,
246 new chromeos::options2::LanguageCustomizeModifierKeysHandler()); 249 new chromeos::options2::LanguageCustomizeModifierKeysHandler());
247 AddOptionsPageUIHandler(localized_strings, 250 AddOptionsPageUIHandler(localized_strings,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 WideToASCII(CommandLine::ForCurrentProcess()->GetCommandLineString()); 369 WideToASCII(CommandLine::ForCurrentProcess()->GetCommandLineString());
367 #else 370 #else
368 command_line_string = 371 command_line_string =
369 CommandLine::ForCurrentProcess()->GetCommandLineString(); 372 CommandLine::ForCurrentProcess()->GetCommandLineString();
370 #endif 373 #endif
371 374
372 render_view_host->SetWebUIProperty("commandLineString", command_line_string); 375 render_view_host->SetWebUIProperty("commandLineString", command_line_string);
373 } 376 }
374 377
375 } // namespace options2 378 } // namespace options2
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options2/chromeos/about_page_handler2.cc ('k') | chrome/browser/ui/webui/uber/uber_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698