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

Unified Diff: ui/display/ios/screen_ios.mm

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)
Patch Set: ref, test, etc Created 4 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
Index: ui/display/ios/screen_ios.mm
diff --git a/ui/display/ios/screen_ios.mm b/ui/display/ios/screen_ios.mm
index 08d0d921b171106439039de2e348b1aadea7c064..3194f37d55135d8a6ebfb9c65fb455c40baa8fe5 100644
--- a/ui/display/ios/screen_ios.mm
+++ b/ui/display/ios/screen_ios.mm
@@ -42,6 +42,13 @@ class ScreenIos : public Screen {
return std::vector<Display>(1, GetPrimaryDisplay());
}
+ // Returns the display with |display_id|.
+ bool GetDisplayWithDisplayId(int64_t display_id,
+ Display* display) const override {
+ NOTIMPLEMENTED();
sadrul 2016/09/30 03:17:14 Return the primary display if display_id == 0
riajiang 2016/10/05 14:54:11 Done.
+ return false;
+ }
+
// Returns the display nearest the specified window.
Display GetDisplayNearestWindow(gfx::NativeView view) const override {
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698