summaryrefslogtreecommitdiffstats
path: root/extensions/shell
diff options
context:
space:
mode:
authorscottmg <scottmg@chromium.org>2016-01-26 21:07:35 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-27 05:08:46 +0000
commite8b0429751298d4bff935658ad0501597bedfb54 (patch)
tree2fc8223b144eb8183f9b248b40cb13fa07f808f6 /extensions/shell
parentfc512ffcf066bf2c50b565bd54019ee0074a542d (diff)
downloadchromium_src-e8b0429751298d4bff935658ad0501597bedfb54.zip
chromium_src-e8b0429751298d4bff935658ad0501597bedfb54.tar.gz
chromium_src-e8b0429751298d4bff935658ad0501597bedfb54.tar.bz2
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}
Diffstat (limited to 'extensions/shell')
-rw-r--r--extensions/shell/browser/shell_display_info_provider.cc4
-rw-r--r--extensions/shell/browser/shell_display_info_provider.h1
2 files changed, 0 insertions, 5 deletions
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);