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

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

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix events/BUILD.gn 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 unified diff | Download patch
« no previous file with comments | « ash/display/display_info.cc ('k') | ash/host/ash_window_tree_host_x11.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 24 matching lines...) Expand all
35 // currently, we do not have such functionality in X. So we just confine 35 // currently, we do not have such functionality in X. So we just confine
36 // to the root window. This is ok because this option is currently only 36 // to the root window. This is ok because this option is currently only
37 // being used in fullscreen mode, so root_window bounds = window bounds. 37 // being used in fullscreen mode, so root_window bounds = window bounds.
38 virtual bool ConfineCursorToRootWindow() = 0; 38 virtual bool ConfineCursorToRootWindow() = 0;
39 virtual void UnConfineCursor() = 0; 39 virtual void UnConfineCursor() = 0;
40 40
41 virtual void SetRootWindowTransformer( 41 virtual void SetRootWindowTransformer(
42 scoped_ptr<RootWindowTransformer> transformer) = 0; 42 scoped_ptr<RootWindowTransformer> transformer) = 0;
43 43
44 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0; 44 virtual aura::WindowTreeHost* AsWindowTreeHost() = 0;
45
46 // Updates the display IDs associated with this root window.
47 // A root window can be associated with up to 2 display IDs (e.g. in mirror
48 // mode dual monitors case). If the root window is only associated with one
49 // display id, then the other id should be set to
50 // gfx::Display::kInvalidDisplayID.
51 virtual void UpdateDisplayID(int64 id1, int64 id2) {};
45 }; 52 };
46 53
47 } // namespace ash 54 } // namespace ash
48 55
49 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ 56 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_
OLDNEW
« no previous file with comments | « ash/display/display_info.cc ('k') | ash/host/ash_window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698