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

Unified Diff: ui/aura/window.h

Issue 8585007: Added hotkey support to 8508009 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile issue Created 9 years, 1 month 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 485bcb41b5ea3b6a7df52550b665eb843546f619..537e2248c93f47500505e488ea2e8d4a0bcf40d4 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -70,7 +70,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; }
@@ -303,6 +303,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_;
« ui/aura/desktop.cc ('K') | « ui/aura/desktop.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698