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

Issue 972153004: Make ui::DisplayConfigurator a singleton (Closed)

Created:
5 years, 9 months ago by robert.bradford
Modified:
5 years, 4 months ago
Reviewers:
CC:
chromium-reviews, sadrul, hashimoto+watch_chromium.org, derat+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ui::DisplayConfigurator a singleton This is currently instantiated from the ash::Shell. This change makes the object a singleton. The DisplayConfigurator::Init method is still called by the shell. BUG=425060 TEST=Compiles and ChromeOS UI functions correctly.

Patch Set 1 : Make a Singleton #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -13 lines) Patch
M ash/shell.h View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/rendering_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 2 chunks +1 line, -2 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/display/chromeos/display_configurator.h View 4 chunks +13 lines, -3 lines 0 comments Download
M ui/display/chromeos/display_configurator.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/display/chromeos/display_configurator_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
robert.bradford
5 years, 9 months ago (2015-03-03 19:55:18 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698