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

Unified Diff: ui/aura/window.h

Issue 8417008: aura: Add fullscreen/popups to RenderWidgetHostViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: avoid emulating WM_CHAR events for many keys Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index a809f5df0dbc0a92769fd2b0e1c7987c61a82dba..dbeb08443dc3ea85504c76452585027e51984601 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -103,6 +103,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
// Returns the window's bounds in screen coordinates.
gfx::Rect GetScreenBounds() const;
+ // Translates |local_point|, relative to the window's bounds, to screen
+ // coordinates. Doesn't take the current transformation into account.
+ gfx::Point GetPointInScreenCoordinates(const gfx::Point& local_point);
+
// Returns the window's show state.
ui::WindowShowState show_state() const { return show_state_; }

Powered by Google App Engine
This is Rietveld 408576698