summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 16:26:54 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 16:26:54 +0000
commit751459731324e2db0b5a04f205c2407ee1fb687d (patch)
treeb98dbc59caae06369e39942a59acd158eacccb54 /ui/aura/window.h
parenta439881b91daa0843f0e7fd01dd54b64f4f73799 (diff)
downloadchromium_src-751459731324e2db0b5a04f205c2407ee1fb687d.zip
chromium_src-751459731324e2db0b5a04f205c2407ee1fb687d.tar.gz
chromium_src-751459731324e2db0b5a04f205c2407ee1fb687d.tar.bz2
Revert 112232 - 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 TBR=pkotwicz@chromium.org Review URL: http://codereview.chromium.org/8741018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r--ui/aura/window.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h
index ae0ec6f..9e1f05f 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 SetName(const std::string& name);
+ void set_name(const std::string& name) { name_ = name; }
const string16 title() const { return title_; }
void set_title(const string16& title) { title_ = title; }
@@ -297,9 +297,6 @@ 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_;