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

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

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 years, 2 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/ws/default_access_policy.cc ('k') | components/mus/ws/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display_manager.h
diff --git a/components/mus/ws/display_manager.h b/components/mus/ws/display_manager.h
index e7b0d0fac7c33e50ff3be76a777ad4f7ee8415a6..5256fa45e209115040433ac6fe937f171b38528d 100644
--- a/components/mus/ws/display_manager.h
+++ b/components/mus/ws/display_manager.h
@@ -11,7 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/timer/timer.h"
-#include "components/mus/public/interfaces/view_tree.mojom.h"
+#include "components/mus/public/interfaces/window_tree.mojom.h"
#include "components/mus/surfaces/top_level_display_client.h"
#include "components/mus/ws/display_manager_delegate.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h"
@@ -64,7 +64,7 @@ class DisplayManager {
virtual void SetTitle(const base::string16& title) = 0;
- virtual const mojo::ViewportMetrics& GetViewportMetrics() = 0;
+ virtual const mojom::ViewportMetrics& GetViewportMetrics() = 0;
virtual void UpdateTextInputState(const ui::TextInputState& state) = 0;
virtual void SetImeVisibility(bool visible) = 0;
@@ -95,7 +95,7 @@ class DefaultDisplayManager : public DisplayManager,
void SchedulePaint(const ServerView* view, const gfx::Rect& bounds) override;
void SetViewportSize(const gfx::Size& size) override;
void SetTitle(const base::string16& title) override;
- const mojo::ViewportMetrics& GetViewportMetrics() override;
+ const mojom::ViewportMetrics& GetViewportMetrics() override;
void UpdateTextInputState(const ui::TextInputState& state) override;
void SetImeVisibility(bool visible) override;
@@ -131,7 +131,7 @@ class DefaultDisplayManager : public DisplayManager,
scoped_refptr<SurfacesState> surfaces_state_;
DisplayManagerDelegate* delegate_;
- mojo::ViewportMetrics metrics_;
+ mojom::ViewportMetrics metrics_;
gfx::Rect dirty_rect_;
base::Timer draw_timer_;
bool frame_pending_;
« no previous file with comments | « components/mus/ws/default_access_policy.cc ('k') | components/mus/ws/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698