From e8b0429751298d4bff935658ad0501597bedfb54 Mon Sep 17 00:00:00 2001 From: scottmg Date: Tue, 26 Jan 2016 21:07:35 -0800 Subject: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() - ash::Shell::GetScreen() - DisplayInfoProvider::GetActiveScreen() Followup to https://codereview.chromium.org/1608733002/. R=oshima@chromium.org, sky@chromium.org BUG=558054 Review URL: https://codereview.chromium.org/1608053002 Cr-Commit-Position: refs/heads/master@{#371733} --- extensions/shell/browser/shell_display_info_provider.cc | 4 ---- extensions/shell/browser/shell_display_info_provider.h | 1 - 2 files changed, 5 deletions(-) (limited to 'extensions/shell') diff --git a/extensions/shell/browser/shell_display_info_provider.cc b/extensions/shell/browser/shell_display_info_provider.cc index 32239ab..18ee967 100644 --- a/extensions/shell/browser/shell_display_info_provider.cc +++ b/extensions/shell/browser/shell_display_info_provider.cc @@ -30,10 +30,6 @@ void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( } } -gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() { - return NULL; -} - // static DisplayInfoProvider* DisplayInfoProvider::Create() { return new ShellDisplayInfoProvider(); diff --git a/extensions/shell/browser/shell_display_info_provider.h b/extensions/shell/browser/shell_display_info_provider.h index ceb30fb..65137f8 100644 --- a/extensions/shell/browser/shell_display_info_provider.h +++ b/extensions/shell/browser/shell_display_info_provider.h @@ -22,7 +22,6 @@ class ShellDisplayInfoProvider : public DisplayInfoProvider { void UpdateDisplayUnitInfoForPlatform( const gfx::Display& display, extensions::api::system_display::DisplayUnitInfo* unit) override; - gfx::Screen* GetActiveScreen() override; private: DISALLOW_COPY_AND_ASSIGN(ShellDisplayInfoProvider); -- cgit v1.1