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

Side by Side Diff: ui/views/widget/desktop_screen_position_client.h

Issue 11369220: Move the desktop aura classes into a desktop subdir to make the gyp simpler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
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 UI_VIEWS_WIDGET_DESKTOP_SCREEN_POSITION_CLIENT_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_SCREEN_POSITION_CLIENT_H_
7
8 #include "ui/aura/client/screen_position_client.h"
9 #include "ui/views/views_export.h"
10
11 namespace views {
12
13 // Client that always offsets by the toplevel RootWindow of the passed
14 // in child NativeWidgetAura.
15 class VIEWS_EXPORT DesktopScreenPositionClient
16 : public aura::client::ScreenPositionClient {
17 public:
18 DesktopScreenPositionClient();
19 virtual ~DesktopScreenPositionClient();
20
21 // aura::client::ScreenPositionClient overrides:
22 virtual void ConvertPointToScreen(const aura::Window* window,
23 gfx::Point* point) OVERRIDE;
24 virtual void ConvertPointFromScreen(const aura::Window* window,
25 gfx::Point* point) OVERRIDE;
26 virtual void ConvertNativePointToScreen(aura::Window* window,
27 gfx::Point* point) OVERRIDE;
28 virtual void SetBounds(aura::Window* window,
29 const gfx::Rect& bounds,
30 const gfx::Display& display) OVERRIDE;
31 };
32
33 } // namespace views
34
35 #endif // UI_VIEWS_WIDGET_DESKTOP_SCREEN_POSITION_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_root_window_host_win.cc ('k') | ui/views/widget/desktop_screen_position_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698