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

Unified Diff: views/widget/native_widget_aura.h

Issue 8289022: Wires keeping the launcher up to date with the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks 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
« no previous file with comments | « ui/ui.gyp ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_aura.h
diff --git a/views/widget/native_widget_aura.h b/views/widget/native_widget_aura.h
index 23bb405a871c5708969d80dda55b62791fb5f1f4..a21637b107632a8c1728cc25548b3a1669086e49 100644
--- a/views/widget/native_widget_aura.h
+++ b/views/widget/native_widget_aura.h
@@ -6,8 +6,7 @@
#define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
#pragma once
-#include <map>
-
+#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "ui/aura/window_delegate.h"
#include "views/views_export.h"
@@ -20,6 +19,10 @@ namespace gfx {
class Font;
}
+namespace ui {
+class ViewProp;
+}
+
namespace views {
class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
@@ -138,7 +141,7 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
private:
- typedef std::map<const char*, void*> PropsMap;
+ typedef ScopedVector<ui::ViewProp> ViewProps;
internal::NativeWidgetDelegate* delegate_;
@@ -153,11 +156,10 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
bool can_activate_;
- // Map used by Set/GetNativeWindowProperty.
- PropsMap props_map_;
-
gfx::NativeCursor cursor_;
+ ViewProps props_;
+
DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
};
« no previous file with comments | « ui/ui.gyp ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698