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

Side by Side Diff: athena/wm/coordinate_conversion.h

Issue 420603011: Split Screen mode implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_view
Patch Set: Created 6 years, 4 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ATHENA_WM_COORDINATE_CONVERSION_H_
6 #define ATHENA_WM_COORDINATE_CONVERSION_H_
7
8 namespace aura {
9 class Window;
10 } // namespace aura
11
12 namespace gfx {
13 class Point;
14 class Rect;
15 } // namespace gfx
16
17 namespace athena {
18 // Converts the |point| from a given |window|'s coordinates into the screen
19 // coordinates.
20 void ConvertPointToScreen(const aura::Window* window,
Jun Mukai 2014/07/25 20:21:29 This file would be great to be in ui/wm/core (or e
oshima 2014/07/25 21:41:10 yep, and consolidate methods (that make sense) ash
mfomitchev 2014/08/05 19:56:57 Done. Created a separate review for ash changes: h
21 gfx::Point* point);
22
23 // Converts the |point| from the screen coordinates to a given |window|'s
24 // coordinates.
25 void ConvertPointFromScreen(const aura::Window* window,
26 gfx::Point* point_in_screen);
27
28 } // namespace athena
29
30 #endif // ATHENA_WM_COORDINATE_CONVERSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698