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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 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 #include "chrome/browser/ui/webui/options/chromeos/display_options_handler.h" 5 #include "chrome/browser/ui/webui/options/chromeos/display_options_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 13
14 #include "ash/common/strings/grit/ash_strings.h" 14 #include "ash/common/strings/grit/ash_strings.h"
15 #include "ash/display/display_configuration_controller.h" 15 #include "ash/display/display_configuration_controller.h"
16 #include "ash/display/resolution_notification_controller.h" 16 #include "ash/display/resolution_notification_controller.h"
17 #include "ash/display/window_tree_host_manager.h" 17 #include "ash/display/window_tree_host_manager.h"
18 #include "ash/shell.h" 18 #include "ash/shell.h"
19 #include "base/bind.h" 19 #include "base/bind.h"
20 #include "base/command_line.h" 20 #include "base/command_line.h"
21 #include "base/logging.h" 21 #include "base/logging.h"
22 #include "base/memory/ptr_util.h" 22 #include "base/memory/ptr_util.h"
23 #include "base/strings/string_number_conversions.h" 23 #include "base/strings/string_number_conversions.h"
24 #include "base/strings/stringprintf.h"
25 #include "base/values.h" 24 #include "base/values.h"
26 #include "chrome/browser/chromeos/display/display_preferences.h" 25 #include "chrome/browser/chromeos/display/display_preferences.h"
27 #include "chrome/browser/ui/ash/ash_util.h" 26 #include "chrome/browser/ui/ash/ash_util.h"
28 #include "chrome/grit/generated_resources.h" 27 #include "chrome/grit/generated_resources.h"
29 #include "chromeos/chromeos_switches.h" 28 #include "chromeos/chromeos_switches.h"
30 #include "content/public/browser/user_metrics.h" 29 #include "content/public/browser/user_metrics.h"
31 #include "content/public/browser/web_ui.h" 30 #include "content/public/browser/web_ui.h"
32 #include "ui/base/l10n/l10n_util.h" 31 #include "ui/base/l10n/l10n_util.h"
33 #include "ui/display/display.h" 32 #include "ui/display/display.h"
34 #include "ui/display/manager/display_layout.h" 33 #include "ui/display/manager/display_layout.h"
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 if (!args->GetBoolean(0, &enable)) 578 if (!args->GetBoolean(0, &enable))
580 NOTREACHED(); 579 NOTREACHED();
581 580
582 GetDisplayManager()->SetDefaultMultiDisplayModeForCurrentDisplays( 581 GetDisplayManager()->SetDefaultMultiDisplayModeForCurrentDisplays(
583 enable ? display::DisplayManager::UNIFIED 582 enable ? display::DisplayManager::UNIFIED
584 : display::DisplayManager::EXTENDED); 583 : display::DisplayManager::EXTENDED);
585 } 584 }
586 585
587 } // namespace options 586 } // namespace options
588 } // namespace chromeos 587 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/omnibox/omnibox_page_handler.cc ('k') | chrome/browser/win/chrome_process_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698