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

Side by Side Diff: chrome/browser/ui/webui/options/options_ui.cc

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm Created 6 years, 4 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/options/options_ui.h" 5 #include "chrome/browser/ui/webui/options/options_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "chrome/browser/ui/webui/theme_source.h" 50 #include "chrome/browser/ui/webui/theme_source.h"
51 #include "chrome/common/url_constants.h" 51 #include "chrome/common/url_constants.h"
52 #include "components/omnibox/autocomplete_match.h" 52 #include "components/omnibox/autocomplete_match.h"
53 #include "components/omnibox/autocomplete_result.h" 53 #include "components/omnibox/autocomplete_result.h"
54 #include "content/public/browser/notification_types.h" 54 #include "content/public/browser/notification_types.h"
55 #include "content/public/browser/render_frame_host.h" 55 #include "content/public/browser/render_frame_host.h"
56 #include "content/public/browser/url_data_source.h" 56 #include "content/public/browser/url_data_source.h"
57 #include "content/public/browser/web_contents.h" 57 #include "content/public/browser/web_contents.h"
58 #include "content/public/browser/web_contents_delegate.h" 58 #include "content/public/browser/web_contents_delegate.h"
59 #include "content/public/browser/web_ui.h" 59 #include "content/public/browser/web_ui.h"
60 #include "grit/chromium_strings.h"
61 #include "grit/generated_resources.h" 60 #include "grit/generated_resources.h"
62 #include "grit/locale_settings.h" 61 #include "grit/locale_settings.h"
63 #include "grit/options_resources.h" 62 #include "grit/options_resources.h"
64 #include "grit/theme_resources.h" 63 #include "grit/theme_resources.h"
65 #include "net/base/escape.h" 64 #include "net/base/escape.h"
66 #include "ui/base/l10n/l10n_util.h" 65 #include "ui/base/l10n/l10n_util.h"
67 #include "ui/base/resource/resource_bundle.h" 66 #include "ui/base/resource/resource_bundle.h"
68 #include "ui/base/webui/jstemplate_builder.h" 67 #include "ui/base/webui/jstemplate_builder.h"
69 #include "ui/base/webui/web_ui_util.h" 68 #include "ui/base/webui/web_ui_util.h"
70 #include "url/gurl.h" 69 #include "url/gurl.h"
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 // Add only if handler's service is enabled. 465 // Add only if handler's service is enabled.
467 if (handler->IsEnabled()) { 466 if (handler->IsEnabled()) {
468 // Add handler to the list and also pass the ownership. 467 // Add handler to the list and also pass the ownership.
469 web_ui()->AddMessageHandler(handler.release()); 468 web_ui()->AddMessageHandler(handler.release());
470 handler_raw->GetLocalizedValues(localized_strings); 469 handler_raw->GetLocalizedValues(localized_strings);
471 handlers_.push_back(handler_raw); 470 handlers_.push_back(handler_raw);
472 } 471 }
473 } 472 }
474 473
475 } // namespace options 474 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/font_settings_handler.cc ('k') | chrome/browser/ui/webui/options/password_manager_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698