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

Unified Diff: components/mus/ws/display.h

Issue 2021483002: mus: Remove ViewportMetrics from mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
« no previous file with comments | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display.h
diff --git a/components/mus/ws/display.h b/components/mus/ws/display.h
index e81937fa5d6fe6130d927bf81ddb71e5cc0239e8..76aca6fbfd2780069b4b10a668b83739a9ec0598 100644
--- a/components/mus/ws/display.h
+++ b/components/mus/ws/display.h
@@ -83,9 +83,6 @@ class Display : public PlatformDisplayDelegate,
// drawn, otherwise destruction is immediate.
void ScheduleSurfaceDestruction(ServerWindow* window);
- // Returns the metrics for this viewport.
- const mojom::ViewportMetrics& GetViewportMetrics() const;
-
mojom::Rotation GetRotation() const;
WindowServer* window_server() { return window_server_; }
@@ -162,9 +159,8 @@ class Display : public PlatformDisplayDelegate,
void OnEvent(const ui::Event& event) override;
void OnNativeCaptureLost() override;
void OnDisplayClosed() override;
- void OnViewportMetricsChanged(
- const mojom::ViewportMetrics& old_metrics,
- const mojom::ViewportMetrics& new_metrics) override;
+ void OnViewportMetricsChanged(const ViewportMetrics& old_metrics,
+ const ViewportMetrics& new_metrics) override;
void OnCompositorFrameDrawn() override;
// FocusControllerDelegate:
« no previous file with comments | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698