Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7619)

Unified Diff: chrome/browser/views/bookmark_bar_view.h

Issue 333010: Implement keyboard access between bookmarks and toolbar. (Closed)
Patch Set: Add more null checks Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/accessible_toolbar_view.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_bar_view.h
diff --git a/chrome/browser/views/bookmark_bar_view.h b/chrome/browser/views/bookmark_bar_view.h
index a9cc39743107c5ef90764467da982f3f0016cdb9..bb3d9755fcd1e342e3658ce9d4aa7dc3f0404e68 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;
- explicit BookmarkBarView(Profile* profile, Browser* browser);
+ 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);
- virtual bool GetAccessibleName(std::wstring* name);
- virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
- virtual void SetAccessibleName(const std::wstring& name);
+
+ // AccessibleToolbarView methods:
+ virtual bool IsAccessibleViewTraversable(views::View* view);
// ProfileSyncServiceObserver method.
virtual void OnStateChanged();
@@ -488,9 +488,6 @@ 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);
};
« no previous file with comments | « chrome/browser/views/accessible_toolbar_view.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698