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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.h

Issue 447893003: Test that simulates touch exploration and checks speech on tabs and also the empty bookmark bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: check for existing window.ontouchstart Created 6 years, 4 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // Returns the active MenuItemView, or NULL if a menu isn't showing. 136 // Returns the active MenuItemView, or NULL if a menu isn't showing.
137 views::MenuItemView* GetMenu(); 137 views::MenuItemView* GetMenu();
138 138
139 // Returns the context menu, or null if one isn't showing. 139 // Returns the context menu, or null if one isn't showing.
140 views::MenuItemView* GetContextMenu(); 140 views::MenuItemView* GetContextMenu();
141 141
142 // Returns the drop MenuItemView, or NULL if a menu isn't showing. 142 // Returns the drop MenuItemView, or NULL if a menu isn't showing.
143 views::MenuItemView* GetDropMenu(); 143 views::MenuItemView* GetDropMenu();
144 144
145 // Returns the BookmarkBarInstructionView, or NULL if it isn't showing.
146 views::View* GetBookmarkBarInstructionsView();
147
145 // If a button is currently throbbing, it is stopped. If immediate is true 148 // If a button is currently throbbing, it is stopped. If immediate is true
146 // the throb stops immediately, otherwise it stops after a couple more 149 // the throb stops immediately, otherwise it stops after a couple more
147 // throbs. 150 // throbs.
148 void StopThrobbing(bool immediate); 151 void StopThrobbing(bool immediate);
149 152
150 // Returns the tooltip text for the specified url and title. The returned 153 // Returns the tooltip text for the specified url and title. The returned
151 // text is clipped to fit within the bounds of the monitor. |context| is 154 // text is clipped to fit within the bounds of the monitor. |context| is
152 // used to determine which gfx::Screen is used to retrieve bounds. 155 // used to determine which gfx::Screen is used to retrieve bounds.
153 // 156 //
154 // Note that we adjust the direction of both the URL and the title based on 157 // Note that we adjust the direction of both the URL and the title based on
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 448
446 BookmarkBar::State bookmark_bar_state_; 449 BookmarkBar::State bookmark_bar_state_;
447 450
448 // Are we animating to or from the detached state? 451 // Are we animating to or from the detached state?
449 bool animating_detached_; 452 bool animating_detached_;
450 453
451 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 454 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
452 }; 455 };
453 456
454 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 457 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698