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

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

Issue 2873473002: Aura-Mus: Fix high-DPI gutter (Closed)
Patch Set: Addressed sadrul's comments 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
« no previous file with comments | « ui/aura/mus/client_surface_embedder.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 70f8dcdc7881b1254a86bac9344c88635ec4d058..c72fb583bbbfcf55022721399d6c0daec7b6d481 100644
--- a/ui/aura/mus/window_port_mus.h
+++ b/ui/aura/mus/window_port_mus.h
@@ -222,7 +222,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;
@@ -281,7 +281,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_;
« no previous file with comments | « ui/aura/mus/client_surface_embedder.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698