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

Unified Diff: chromecast/graphics/cast_screen.h

Issue 1972433002: [Chromecast] Handle device scale factor correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test compile error Created 4 years, 7 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: chromecast/graphics/cast_screen.h
diff --git a/chromecast/graphics/cast_screen.h b/chromecast/graphics/cast_screen.h
index a8d497c3e3321cb9ea6f7adb5b02079cdf3902a2..c100a892ff2a5e12aaee65a4e8ff5552d2ee9a2e 100644
--- a/chromecast/graphics/cast_screen.h
+++ b/chromecast/graphics/cast_screen.h
@@ -5,7 +5,6 @@
#ifndef CHROMECAST_GRAPHICS_CAST_SCREEN_H_
#define CHROMECAST_GRAPHICS_CAST_SCREEN_H_
-#include "base/callback.h"
#include "base/macros.h"
#include "chromecast/public/graphics_types.h"
#include "ui/display/display.h"
@@ -25,12 +24,6 @@ class CastScreen : public display::Screen {
public:
~CastScreen() override;
- using DisplayResizeCallback = base::Callback<void(const Size&)>;
- void SetDisplayResizeCallback(const DisplayResizeCallback& cb);
-
- // Updates the primary display size.
- void UpdateDisplaySize(const gfx::Size& size);
-
// display::Screen overrides:
gfx::Point GetCursorScreenPoint() override;
bool IsWindowUnderCursor(gfx::NativeWindow window) override;
@@ -50,7 +43,6 @@ class CastScreen : public display::Screen {
CastScreen();
display::Display display_;
- DisplayResizeCallback display_resize_cb_;
friend class shell::CastBrowserMainParts;
« no previous file with comments | « chromecast/browser/test/chromecast_browser_test_helper_default.cc ('k') | chromecast/graphics/cast_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698