diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-03 00:56:12 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-03 00:56:12 +0000 |
commit | d5c8101d795d43c265d81277305958d38160ab19 (patch) | |
tree | f9d114bcacebec4839356c4feccad2c56932b5b6 /views/controls/combobox/combobox.h | |
parent | f6b551d4bbde5c66782225ecc8c9aec81c974d07 (diff) | |
download | chromium_src-d5c8101d795d43c265d81277305958d38160ab19.zip chromium_src-d5c8101d795d43c265d81277305958d38160ab19.tar.gz chromium_src-d5c8101d795d43c265d81277305958d38160ab19.tar.bz2 |
Eliminate a lot of duplicated implementations of Get/SetAccessibleName() by just putting it on the base class. Also cleans up a couple other misc. accessibility functions in view.h.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1512012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/combobox/combobox.h')
-rw-r--r-- | views/controls/combobox/combobox.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/controls/combobox/combobox.h b/views/controls/combobox/combobox.h index b2a8388..ccb9ea6 100644 --- a/views/controls/combobox/combobox.h +++ b/views/controls/combobox/combobox.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -57,9 +57,7 @@ class Combobox : public View { virtual void SetEnabled(bool enabled); virtual bool SkipDefaultKeyEventProcessing(const KeyEvent& e); virtual void PaintFocusBorder(gfx::Canvas* canvas); - virtual bool GetAccessibleName(std::wstring* name); virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); - virtual void SetAccessibleName(const std::wstring& name); virtual bool GetAccessibleValue(std::wstring* value); protected: |