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

Unified Diff: ash/host/ash_window_tree_host.h

Issue 277753002: Makes construction of (ash)RemoteWindowTreeHostWin explicit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 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 | « ash/host/ash_remote_window_tree_host_win.cc ('k') | ash/host/ash_window_tree_host_init_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host.h
diff --git a/ash/host/ash_window_tree_host.h b/ash/host/ash_window_tree_host.h
index 00626dba18435fb5a4c2249728637a229dcd24d7..1d1513bffd57260b56628509d56bc07484a32885 100644
--- a/ash/host/ash_window_tree_host.h
+++ b/ash/host/ash_window_tree_host.h
@@ -19,15 +19,17 @@ class Rect;
}
namespace ash {
+struct AshWindowTreeHostInitParams;
class RootWindowTransformer;
class ASH_EXPORT AshWindowTreeHost {
public:
- // Creates a new AshWindowTreeHost. The caller owns the returned value.
- static AshWindowTreeHost* Create(const gfx::Rect& initial_bounds);
-
virtual ~AshWindowTreeHost() {}
+ // Creates a new AshWindowTreeHost. The caller owns the returned value.
+ static AshWindowTreeHost* Create(
+ const AshWindowTreeHostInitParams& init_params);
+
// Toggles the host's full screen state.
virtual void ToggleFullScreen() = 0;
« no previous file with comments | « ash/host/ash_remote_window_tree_host_win.cc ('k') | ash/host/ash_window_tree_host_init_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698