summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 20:15:19 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 20:15:19 +0000
commit42aa1fa0adf702861284679eba4ed236187a4272 (patch)
treec279f4e63184c78444fa77162ecaab1c2ab09d6e /ui/aura/window.h
parenta495859987b081c6cec74102e5b194d48e124d2e (diff)
downloadchromium_src-42aa1fa0adf702861284679eba4ed236187a4272.zip
chromium_src-42aa1fa0adf702861284679eba4ed236187a4272.tar.gz
chromium_src-42aa1fa0adf702861284679eba4ed236187a4272.tar.bz2
Get more of RenderWidgetHostViewAura running.
This displays content now (software-only) on Windows, and supports Mouse Events. keyboard events are not yet working. http://crbug.com/99757 TEST=none Review URL: http://codereview.chromium.org/8234026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r--ui/aura/window.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 9820b29..2e13521 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -182,12 +182,16 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
void Focus();
void Blur();
+ // Returns true if the Window is currently the focused window.
+ bool HasFocus() const;
+
// Returns true if the Window can be focused.
virtual bool CanFocus() const;
// Returns the FocusManager for the Window, which may be attached to a parent
// Window. Can return NULL if the Window has no FocusManager.
virtual internal::FocusManager* GetFocusManager();
+ virtual const internal::FocusManager* GetFocusManager() const;
// The Window does not own this object.
void set_user_data(void* user_data) { user_data_ = user_data; }