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

Unified Diff: ui/aura/mus/window_port_mus.h

Issue 2873473002: Aura-Mus: Fix high-DPI gutter (Closed)
Patch Set: Created 3 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: ui/aura/mus/window_port_mus.h
diff --git a/ui/aura/mus/window_port_mus.h b/ui/aura/mus/window_port_mus.h
index 8c102005b4d03bdc8a6e0e3b2a3d6e4bb19b0093..32d5311a00c51ccad4f0d1984f9782959025ff07 100644
--- a/ui/aura/mus/window_port_mus.h
+++ b/ui/aura/mus/window_port_mus.h
@@ -230,7 +230,7 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
const std::vector<uint8_t>* property_data) override;
void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override;
const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId(
- const gfx::Size& surface_size) override;
+ const gfx::Size& surface_size_in_pixels) override;
void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override;
void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) override;
void DestroyFromServer() override;
@@ -284,7 +284,7 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
cc::LocalSurfaceId local_surface_id_;
cc::LocalSurfaceIdAllocator local_surface_id_allocator_;
- gfx::Size last_surface_size_;
+ gfx::Size last_surface_size_in_pixels_;
ui::CursorData cursor_;

Powered by Google App Engine
This is Rietveld 408576698