summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 23:10:47 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 23:10:47 +0000
commitde3c853cab4d12e87016b2a48efdf15bcd567fec (patch)
treea94c01f9d067fed3af390380f71d62dd6d94295c /views
parent7501571d45dab26bc2fcd40082943aba6fe317be (diff)
downloadchromium_src-de3c853cab4d12e87016b2a48efdf15bcd567fec.zip
chromium_src-de3c853cab4d12e87016b2a48efdf15bcd567fec.tar.gz
chromium_src-de3c853cab4d12e87016b2a48efdf15bcd567fec.tar.bz2
Remove unused local variables now that subclasses don't need to track their own accessibile name. (In other words, I forgot to do this in r43558.)
BUG=none TEST=none Review URL: http://codereview.chromium.org/1751018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45512 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/button/button.h1
-rw-r--r--views/controls/combobox/combobox.h3
-rw-r--r--views/controls/progress_bar.h3
-rw-r--r--views/controls/resize_gripper.h3
-rw-r--r--views/controls/single_split_view.h3
-rw-r--r--views/controls/textfield/textfield.h3
-rw-r--r--views/widget/root_view.h3
-rw-r--r--views/window/non_client_view.h3
8 files changed, 0 insertions, 22 deletions
diff --git a/views/controls/button/button.h b/views/controls/button/button.h
index 016fd74..7c3aac4 100644
--- a/views/controls/button/button.h
+++ b/views/controls/button/button.h
@@ -57,7 +57,6 @@ class Button : public View {
// Accessibility data.
std::wstring accessible_shortcut_;
- std::wstring accessible_name_;
// The id tag associated with this button. Used to disambiguate buttons in
// the ButtonListener implementation.
diff --git a/views/controls/combobox/combobox.h b/views/controls/combobox/combobox.h
index ccb9ea6..2b4c6705 100644
--- a/views/controls/combobox/combobox.h
+++ b/views/controls/combobox/combobox.h
@@ -79,9 +79,6 @@ class Combobox : public View {
// The current selection.
int selected_item_;
- // The accessible name of this control.
- std::wstring accessible_name_;
-
DISALLOW_COPY_AND_ASSIGN(Combobox);
};
diff --git a/views/controls/progress_bar.h b/views/controls/progress_bar.h
index 345db81..38d04df 100644
--- a/views/controls/progress_bar.h
+++ b/views/controls/progress_bar.h
@@ -73,9 +73,6 @@ class ProgressBar : public View {
// The view class name.
static const char kViewClassName[];
- // The storage string for the accessibility name associated with this control.
- std::wstring accessible_name_;
-
DISALLOW_COPY_AND_ASSIGN(ProgressBar);
};
diff --git a/views/controls/resize_gripper.h b/views/controls/resize_gripper.h
index 8b46a629..cac32e2 100644
--- a/views/controls/resize_gripper.h
+++ b/views/controls/resize_gripper.h
@@ -59,9 +59,6 @@ class ResizeGripper : public ImageView {
// The mouse position at start (in screen coordinates).
int initial_position_;
- // The storage string for the accessibility name associated with this control.
- std::wstring accessible_name_;
-
DISALLOW_COPY_AND_ASSIGN(ResizeGripper);
};
diff --git a/views/controls/single_split_view.h b/views/controls/single_split_view.h
index f11313d..b571067 100644
--- a/views/controls/single_split_view.h
+++ b/views/controls/single_split_view.h
@@ -83,9 +83,6 @@ class SingleSplitView : public views::View {
bool resize_leading_on_bounds_change_;
- // The accessible name of this view.
- std::wstring accessible_name_;
-
DISALLOW_COPY_AND_ASSIGN(SingleSplitView);
};
diff --git a/views/controls/textfield/textfield.h b/views/controls/textfield/textfield.h
index c0e125d..d2048a4 100644
--- a/views/controls/textfield/textfield.h
+++ b/views/controls/textfield/textfield.h
@@ -285,9 +285,6 @@ class Textfield : public View {
// NativeControlWin.
bool initialized_;
- // The storage string for the accessibility name associated with this control.
- std::wstring accessible_name_;
-
// Text to display when empty.
string16 text_to_display_when_empty_;
diff --git a/views/widget/root_view.h b/views/widget/root_view.h
index aee0bf8..05887e1 100644
--- a/views/widget/root_view.h
+++ b/views/widget/root_view.h
@@ -318,9 +318,6 @@ class RootView : public View,
// wrapped inside native components, and is used for the focus traversal.
View* focus_traversable_parent_view_;
- // Storage of strings needed for accessibility.
- std::wstring accessible_name_;
-
// Tracks drag state for a view.
View::DragInfo drag_info;
diff --git a/views/window/non_client_view.h b/views/window/non_client_view.h
index 54c04b7..0e736df 100644
--- a/views/window/non_client_view.h
+++ b/views/window/non_client_view.h
@@ -229,9 +229,6 @@ class NonClientView : public View {
// dynamically as the system settings change.
scoped_ptr<NonClientFrameView> frame_view_;
- // The accessible name of this view.
- std::wstring accessible_name_;
-
DISALLOW_COPY_AND_ASSIGN(NonClientView);
};