| OLD | NEW | 
|    1 // Copyright 2014 The Chromium Authors. All rights reserved. |    1 // Copyright 2014 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/extensions/display_info_provider_chromeos.h" |    5 #include "chrome/browser/extensions/display_info_provider_chromeos.h" | 
|    6  |    6  | 
|    7 #include <stdint.h> |    7 #include <stdint.h> | 
|    8  |    8  | 
|    9 #include "ash/display/display_configuration_controller.h" |    9 #include "ash/display/display_configuration_controller.h" | 
|   10 #include "ash/display/resolution_notification_controller.h" |   10 #include "ash/display/resolution_notification_controller.h" | 
|   11 #include "ash/shell.h" |   11 #include "ash/shell.h" | 
|   12 #include "base/strings/string_number_conversions.h" |   12 #include "base/strings/string_number_conversions.h" | 
|   13 #include "chrome/browser/chromeos/display/display_preferences.h" |   13 #include "chrome/browser/chromeos/display/display_preferences.h" | 
|   14 #include "chrome/browser/chromeos/display/overscan_calibrator.h" |   14 #include "chrome/browser/chromeos/display/overscan_calibrator.h" | 
|   15 #include "extensions/common/api/system_display.h" |   15 #include "extensions/common/api/system_display.h" | 
|   16 #include "ui/display/display.h" |   16 #include "ui/display/display.h" | 
|   17 #include "ui/display/manager/display_layout.h" |   17 #include "ui/display/display_layout.h" | 
|   18 #include "ui/display/manager/display_layout_builder.h" |   18 #include "ui/display/display_layout_builder.h" | 
|   19 #include "ui/display/manager/display_manager.h" |   19 #include "ui/display/manager/display_manager.h" | 
|   20 #include "ui/display/types/display_constants.h" |   20 #include "ui/display/types/display_constants.h" | 
|   21 #include "ui/gfx/geometry/point.h" |   21 #include "ui/gfx/geometry/point.h" | 
|   22 #include "ui/gfx/geometry/rect.h" |   22 #include "ui/gfx/geometry/rect.h" | 
|   23  |   23  | 
|   24 namespace extensions { |   24 namespace extensions { | 
|   25  |   25  | 
|   26 namespace system_display = api::system_display; |   26 namespace system_display = api::system_display; | 
|   27  |   27  | 
|   28 namespace { |   28 namespace { | 
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  636     return nullptr; |  636     return nullptr; | 
|  637   return iter->second.get(); |  637   return iter->second.get(); | 
|  638 } |  638 } | 
|  639  |  639  | 
|  640 // static |  640 // static | 
|  641 DisplayInfoProvider* DisplayInfoProvider::Create() { |  641 DisplayInfoProvider* DisplayInfoProvider::Create() { | 
|  642   return new DisplayInfoProviderChromeOS(); |  642   return new DisplayInfoProviderChromeOS(); | 
|  643 } |  643 } | 
|  644  |  644  | 
|  645 }  // namespace extensions |  645 }  // namespace extensions | 
| OLD | NEW |