summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 16:24:29 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 16:24:29 +0000
commitc07f75c83ca73a1c9a9fab48449e449f74512b99 (patch)
tree88788669d032b37cc7e1a1993f51f521e5cb71a5 /ui
parent6e07d8b7d3b054975a2e717a5d0a6e60bc0c9444 (diff)
downloadchromium_src-c07f75c83ca73a1c9a9fab48449e449f74512b99.zip
chromium_src-c07f75c83ca73a1c9a9fab48449e449f74512b99.tar.gz
chromium_src-c07f75c83ca73a1c9a9fab48449e449f74512b99.tar.bz2
Fix clang build.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6685053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78040 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/base/accessibility/accessible_view_state.cc19
-rw-r--r--ui/base/accessibility/accessible_view_state.h10
-rw-r--r--ui/base/ui_base.gypi1
3 files changed, 23 insertions, 7 deletions
diff --git a/ui/base/accessibility/accessible_view_state.cc b/ui/base/accessibility/accessible_view_state.cc
new file mode 100644
index 0000000..ff1d3e6
--- /dev/null
+++ b/ui/base/accessibility/accessible_view_state.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/base/accessibility/accessible_view_state.h"
+
+namespace ui {
+
+AccessibleViewState::AccessibleViewState()
+ : role(AccessibilityTypes::ROLE_CLIENT),
+ state(0),
+ selection_start(-1),
+ selection_end(-1),
+ index(-1),
+ count(-1) { }
+
+AccessibleViewState::~AccessibleViewState() { }
+
+} // namespace ui
diff --git a/ui/base/accessibility/accessible_view_state.h b/ui/base/accessibility/accessible_view_state.h
index 2f36a4b..90848ea 100644
--- a/ui/base/accessibility/accessible_view_state.h
+++ b/ui/base/accessibility/accessible_view_state.h
@@ -22,13 +22,9 @@ namespace ui {
////////////////////////////////////////////////////////////////////////////////
struct AccessibleViewState {
public:
- AccessibleViewState()
- : role(AccessibilityTypes::ROLE_CLIENT),
- state(0),
- selection_start(-1),
- selection_end(-1),
- index(-1),
- count(-1) { }
+ AccessibleViewState();
+
+ ~AccessibleViewState();
// The view's role, like button or list box.
AccessibilityTypes::Role role;
diff --git a/ui/base/ui_base.gypi b/ui/base/ui_base.gypi
index cd66942..8bb0135 100644
--- a/ui/base/ui_base.gypi
+++ b/ui/base/ui_base.gypi
@@ -59,6 +59,7 @@
'sources': [
'accessibility/accessibility_types.h',
'accessibility/accessible_view_state.h',
+ 'accessibility/accessible_view_state.cc',
'animation/animation.cc',
'animation/animation.h',
'animation/animation_container.cc',