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

Side by Side Diff: ash/host/ash_window_tree_host.h

Issue 1107733006: Unified Desktop: hook up ash to allow unified desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AshWindowTreeHostUnified Created 5 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 unified diff | Download patch
« no previous file with comments | « ash/display/screen_ash.cc ('k') | ash/host/ash_window_tree_host_init_params.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_H_ 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_H_
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_H_ 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void SetRootWindowTransformer( 48 virtual void SetRootWindowTransformer(
49 scoped_ptr<RootWindowTransformer> transformer) = 0; 49 scoped_ptr<RootWindowTransformer> transformer) = 0;
50 50
51 virtual gfx::Insets GetHostInsets() const = 0; 51 virtual gfx::Insets GetHostInsets() const = 0;
52 52
53 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; 53 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0;
54 54
55 // Stop listening for events in preparation for shutdown. 55 // Stop listening for events in preparation for shutdown.
56 virtual void PrepareForShutdown() {} 56 virtual void PrepareForShutdown() {}
57 57
58 virtual void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) {}
59
58 protected: 60 protected:
59 // Translates the native mouse location into screen coordinates. 61 // Translates the native mouse location into screen coordinates.
60 void TranslateLocatedEvent(ui::LocatedEvent* event); 62 void TranslateLocatedEvent(ui::LocatedEvent* event);
61 }; 63 };
62 64
63 } // namespace ash 65 } // namespace ash
64 66
65 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ 67 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_
OLDNEW
« no previous file with comments | « ash/display/screen_ash.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