summaryrefslogtreecommitdiffstats
path: root/views/accessibility/native_view_accessibility_win.h
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 16:17:09 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 16:17:09 +0000
commit5558fffd6a542a5eb0260ff4866ed9388438704b (patch)
tree6aa32bbdf991008615c81086fef58279a8905f82 /views/accessibility/native_view_accessibility_win.h
parentd977f9cb570f849777ce19c9706233fb57fe3c9c (diff)
downloadchromium_src-5558fffd6a542a5eb0260ff4866ed9388438704b.zip
chromium_src-5558fffd6a542a5eb0260ff4866ed9388438704b.tar.gz
chromium_src-5558fffd6a542a5eb0260ff4866ed9388438704b.tar.bz2
Remove NativeViewAccessibilityWin from the views namespace because
VS2005 doesn't allow an ATL::CComObject symbol in a namespace. BUG=none TEST=build on VS2005, VS2008 Review URL: http://codereview.chromium.org/6685049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/accessibility/native_view_accessibility_win.h')
-rw-r--r--views/accessibility/native_view_accessibility_win.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/accessibility/native_view_accessibility_win.h b/views/accessibility/native_view_accessibility_win.h
index 2e947e1..a62456f 100644
--- a/views/accessibility/native_view_accessibility_win.h
+++ b/views/accessibility/native_view_accessibility_win.h
@@ -17,6 +17,10 @@
#include "views/view.h"
namespace views {
+extern const char kViewsNativeHostPropForAccessibility[];
+// Note: do not put NativeViewAccessibilityWin in the namespace "views";
+// Visual Studio 2005 does not allow an ATL::CComObject symbol in a namespace.
+}
////////////////////////////////////////////////////////////////////////////////
//
@@ -163,8 +167,4 @@ class ATL_NO_VTABLE NativeViewAccessibilityWin
DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin);
};
-extern const char kViewsNativeHostPropForAccessibility[];
-
-} // namespace views
-
#endif // VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_