Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (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_AURA_H_ | |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_SCREEN_POSITION_CLIENT_AURA_H_ | |
| 7 | |
| 8 #include "ui/aura/client/screen_position_client.h" | |
|
tfarina
2012/09/18 01:04:47
could you add basictypes.h and compiler_specific (
| |
| 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: | |
|
tfarina
2012/09/18 01:04:47
can this be in a private section?
| |
| 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 SetBounds(aura::Window* window, | |
| 27 const gfx::Rect& bounds, | |
| 28 const gfx::Display& display) OVERRIDE; | |
| 29 }; | |
|
tfarina
2012/09/18 01:04:47
DISALLOW_COPY_AND_ASSIGN?
| |
| 30 | |
| 31 } // namespace views | |
| 32 | |
| 33 #endif // UI_VIEWS_WIDGET_DESKTOP_SCREEN_POSITION_CLIENT_AURA_H_ | |
| OLD | NEW |