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

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

Issue 922843002: Fix software mirror mode on Ozone part 2/2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual bool ConfineCursorToRootWindow() = 0; 45 virtual bool ConfineCursorToRootWindow() = 0;
46 virtual void UnConfineCursor() = 0; 46 virtual void UnConfineCursor() = 0;
47 47
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 // Updates the display IDs associated with this root window.
56 // A root window can be associated with up to 2 display IDs (e.g. in mirror
57 // mode dual monitors case). If the root window is only associated with one
58 // display id, then the other id should be set to
59 // gfx::Display::kInvalidDisplayID.
60 virtual void UpdateDisplayID(int64 id1, int64 id2) {}
61
62 // Stop listening for events in preparation for shutdown. 55 // Stop listening for events in preparation for shutdown.
63 virtual void PrepareForShutdown() {} 56 virtual void PrepareForShutdown() {}
64 57
65 protected: 58 protected:
66 // Translates the native mouse location into screen coordinates. 59 // Translates the native mouse location into screen coordinates.
67 void TranslateLocatedEvent(ui::LocatedEvent* event); 60 void TranslateLocatedEvent(ui::LocatedEvent* event);
68 }; 61 };
69 62
70 } // namespace ash 63 } // namespace ash
71 64
72 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_ 65 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | ash/host/ash_window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698