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

Unified Diff: chrome/browser/extensions/display_info_provider_aura.cc

Issue 581023003: [SystemDisplayAPI] Observe display change on linux/win/mac as well (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/display_info_provider_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/display_info_provider_aura.cc
diff --git a/chrome/browser/extensions/display_info_provider_aura.cc b/chrome/browser/extensions/display_info_provider_aura.cc
index bcf0e20c89a10860f6d8c716ef5e6ad19cd43243..bf9a952b45b0fa5d2485db62d8ea51b703540095 100644
--- a/chrome/browser/extensions/display_info_provider_aura.cc
+++ b/chrome/browser/extensions/display_info_provider_aura.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/extensions/display_info_provider_aura.h"
+#include "ui/gfx/screen.h"
+
namespace extensions {
DisplayInfoProviderAura::DisplayInfoProviderAura() {
@@ -27,7 +29,7 @@ void DisplayInfoProviderAura::UpdateDisplayUnitInfoForPlatform(
}
gfx::Screen* DisplayInfoProviderAura::GetActiveScreen() {
- return NULL;
+ return gfx::Screen::GetNativeScreen();
}
// static
« no previous file with comments | « no previous file | chrome/browser/extensions/display_info_provider_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698