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

Unified Diff: ui/aura/window_tree_host_platform.h

Issue 1408373005: Add WindowTreeHostPlatform::GetHost for Android build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | ui/aura/window_tree_host_platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host_platform.h
diff --git a/ui/aura/window_tree_host_platform.h b/ui/aura/window_tree_host_platform.h
index 2e659d3b586a290460f1a1c339fdc9518e3e2eb8..9318a67f8a7239a3febd4931531e6f155ef401ae 100644
--- a/ui/aura/window_tree_host_platform.h
+++ b/ui/aura/window_tree_host_platform.h
@@ -24,6 +24,11 @@ class AURA_EXPORT WindowTreeHostPlatform
explicit WindowTreeHostPlatform(const gfx::Rect& bounds);
~WindowTreeHostPlatform() override;
+#if defined(OS_ANDROID)
+ // Returns the WindowTreeHostPlatform instance.
+ static WindowTreeHostPlatform* GetHost();
+#endif
+
// WindowTreeHost:
ui::EventSource* GetEventSource() override;
gfx::AcceleratedWidget GetAcceleratedWidget() override;
« no previous file with comments | « no previous file | ui/aura/window_tree_host_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698