diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 16:02:19 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 16:02:19 +0000 |
commit | 0ef01758553859789de6ae92939fb6e3babc1b34 (patch) | |
tree | c6ece59a4f2dc6ca00e2919f6311df75d99f71fb /ui/aura/window.h | |
parent | 9f668362af799212f3345477f01540ffbc656ed1 (diff) | |
download | chromium_src-0ef01758553859789de6ae92939fb6e3babc1b34.zip chromium_src-0ef01758553859789de6ae92939fb6e3babc1b34.tar.gz chromium_src-0ef01758553859789de6ae92939fb6e3babc1b34.tar.bz2 |
Added hotkey support to 8508009
Alt-L (print layer tree)
Added name in RenderWidgetHostViewAura
Made Window::SetName update the layer name.
Review URL: http://codereview.chromium.org/8585007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r-- | ui/aura/window.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h index 9e1f05f..ae0ec6f 100644 --- a/ui/aura/window.h +++ b/ui/aura/window.h @@ -64,7 +64,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate { void set_id(int id) { id_ = id; } const std::string& name() const { return name_; } - void set_name(const std::string& name) { name_ = name; } + void SetName(const std::string& name); const string16 title() const { return title_; } void set_title(const string16& title) { title_ = title; } @@ -297,6 +297,9 @@ class AURA_EXPORT Window : public ui::LayerDelegate { // Overridden from ui::LayerDelegate: virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; + // Updates the layer name with a name based on the window's name and id. + void UpdateLayerName(const std::string& name); + WindowType type_; WindowDelegate* delegate_; |