summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.h
diff options
context:
space:
mode:
authormhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-15 03:22:17 +0000
committermhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-15 03:22:17 +0000
commitd02a669af17789501d5f78376a45c8818c69e796 (patch)
tree7b788961ea4e47edde78fdd922fd828400822968 /chrome/browser/views/bookmark_bar_view.h
parentd66df9d20006d6208882235516919e11fdb34057 (diff)
downloadchromium_src-d02a669af17789501d5f78376a45c8818c69e796.zip
chromium_src-d02a669af17789501d5f78376a45c8818c69e796.tar.gz
chromium_src-d02a669af17789501d5f78376a45c8818c69e796.tar.bz2
Revert 32012-32017
git cl dcommit somehow committed all my local changes in cygwin TBR=evan BUG=none Review URL: http://codereview.chromium.org/396006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32019 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.h')
-rw-r--r--chrome/browser/views/bookmark_bar_view.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.h b/chrome/browser/views/bookmark_bar_view.h
index 1653ae2..49ac37f 100644
--- a/chrome/browser/views/bookmark_bar_view.h
+++ b/chrome/browser/views/bookmark_bar_view.h
@@ -71,7 +71,7 @@ class BookmarkBarView : public DetachableToolbarView,
static const int kNewtabBarHeight;
- BookmarkBarView(Profile* profile, Browser* browser);
+ explicit BookmarkBarView(Profile* profile, Browser* browser);
virtual ~BookmarkBarView();
// Resets the profile. This removes any buttons for the current profile and
@@ -112,9 +112,9 @@ class BookmarkBarView : public DetachableToolbarView,
virtual int OnDragUpdated(const views::DropTargetEvent& event);
virtual void OnDragExited();
virtual int OnPerformDrop(const views::DropTargetEvent& event);
-
- // AccessibleToolbarView methods:
- virtual bool IsAccessibleViewTraversable(views::View* view);
+ virtual bool GetAccessibleName(std::wstring* name);
+ virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
+ virtual void SetAccessibleName(const std::wstring& name);
// ProfileSyncServiceObserver method.
virtual void OnStateChanged();
@@ -485,6 +485,9 @@ class BookmarkBarView : public DetachableToolbarView,
// Background for extension toolstrips.
SkBitmap toolstrip_background_;
+ // Storage of strings needed for accessibility.
+ std::wstring accessible_name_;
+
DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
};