/external/chromium_org/chrome/browser/ui/bookmarks/ |
bookmark_editor_unittest.cc | 18 const BookmarkNode* bookmarkbar = model->bookmark_bar_node(); local 19 model->AddURL(bookmarkbar, 0, ASCIIToUTF16("url0"), GURL("chrome://newtab")); 20 model->AddURL(bookmarkbar, 1, ASCIIToUTF16("url1"), GURL("chrome://newtab")); 24 BookmarkEditor::EditDetails::AddFolder(bookmarkbar, 1)); 26 bookmarkbar, 30 EXPECT_EQ(ASCIIToUTF16("folder0"), bookmarkbar->GetChild(1)->GetTitle()); 34 BookmarkEditor::EditDetails::AddFolder(bookmarkbar, -1)); 36 bookmarkbar, 40 EXPECT_EQ(ASCIIToUTF16("folder1"), bookmarkbar->GetChild(3)->GetTitle()); 44 BookmarkEditor::EditDetails::AddFolder(bookmarkbar, 10)) [all...] |
bookmark_bar.h | 10 class BookmarkBar { 32 DISALLOW_IMPLICIT_CONSTRUCTORS(BookmarkBar);
|
bookmark_unittest.cc | 18 EXPECT_EQ(BookmarkBar::DETACHED, browser()->bookmark_bar_state()); 37 EXPECT_EQ(BookmarkBar::HIDDEN, browser()->bookmark_bar_state()); 39 EXPECT_EQ(BookmarkBar::HIDDEN, browser()->bookmark_bar_state()); 70 EXPECT_EQ(BookmarkBar::DETACHED, browser()->bookmark_bar_state());
|
bookmark_browsertest.cc | 36 return browser()->bookmark_bar_state() == BookmarkBar::SHOW;
|
bookmark_context_menu_controller_unittest.cc | 297 TEST_F(BookmarkContextMenuControllerTest, BookmarkBar) {
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_toolbar_view_unittest.mm | 45 BookmarkBar::State state_; 50 @property (nonatomic, assign) BookmarkBar::State state; 56 - (BOOL)isInState:(BookmarkBar::State)state; 57 - (BOOL)isAnimatingToState:(BookmarkBar::State)state; 58 - (BOOL)isAnimatingFromState:(BookmarkBar::State)state; 59 - (BOOL)isAnimatingFromState:(BookmarkBar::State)fromState 60 toState:(BookmarkBar::State)toState; 61 - (BOOL)isAnimatingBetweenState:(BookmarkBar::State)fromState 62 andState:(BookmarkBar::State)toState; 74 [self setState:BookmarkBar::HIDDEN] [all...] |
bookmark_bar_state.h | 25 - (BOOL)isInState:(BookmarkBar::State)state; 29 - (BOOL)isAnimatingToState:(BookmarkBar::State)state; 33 - (BOOL)isAnimatingFromState:(BookmarkBar::State)state; 37 - (BOOL)isAnimatingFromState:(BookmarkBar::State)fromState 38 toState:(BookmarkBar::State)toState; 42 - (BOOL)isAnimatingBetweenState:(BookmarkBar::State)fromState 43 andState:(BookmarkBar::State)toState;
|
bookmark_bar_toolbar_view.mm | 32 return [controller_ isInState:BookmarkBar::DETACHED]; 42 if ([controller_ isInState:BookmarkBar::DETACHED] || 43 [controller_ isAnimatingToState:BookmarkBar::DETACHED] || 44 [controller_ isAnimatingFromState:BookmarkBar::DETACHED]) {
|
bookmark_bar_controller_unittest.mm | 336 [bar updateState:BookmarkBar::SHOW 337 changeType:BookmarkBar::DONT_ANIMATE_STATE_CHANGE]; 368 [bar_ updateState:BookmarkBar::SHOW 369 changeType:BookmarkBar::DONT_ANIMATE_STATE_CHANGE]; 370 EXPECT_TRUE([bar_ isInState:BookmarkBar::SHOW]); 371 EXPECT_FALSE([bar_ isInState:BookmarkBar::DETACHED]); 380 [bar_ updateState:BookmarkBar::HIDDEN 381 changeType:BookmarkBar::DONT_ANIMATE_STATE_CHANGE]; 382 EXPECT_FALSE([bar_ isInState:BookmarkBar::SHOW]); 383 EXPECT_FALSE([bar_ isInState:BookmarkBar::DETACHED]) [all...] |
bookmark_bar_controller.h | 142 - (void)bookmarkBar:(BookmarkBarController*)controller 143 didChangeFromState:(BookmarkBar::State)oldState 144 toState:(BookmarkBar::State)newState; 147 - (void)bookmarkBar:(BookmarkBarController*)controller 148 willAnimateFromState:(BookmarkBar::State)oldState 149 toState:(BookmarkBar::State)newState; 164 BookmarkBar::State currentState_; 167 BookmarkBar::State lastState_; 285 @property(readonly, nonatomic) BookmarkBar::State currentState; 286 @property(readonly, nonatomic) BookmarkBar::State lastState [all...] |
bookmark_bar_toolbar_view.h | 6 // BookmarkBar's toolbar in either of its two display modes - permanently
|
bookmark_bar_controller.mm | 128 // - The BWC should implement |-bookmarkBar:didChangeFromState:toState:| and 129 // |-bookmarkBar:willAnimateFromState:toState:| in order to inform the 159 - (void)moveToState:(BookmarkBar::State)nextState 250 if ((self = [super initWithNibName:@"BookmarkBar" 252 currentState_ = BookmarkBar::HIDDEN; 253 lastState_ = BookmarkBar::HIDDEN; 545 if ([self isAnimatingBetweenState:BookmarkBar::HIDDEN 546 andState:BookmarkBar::SHOW] || 547 [self isAnimatingBetweenState:BookmarkBar::SHOW 548 andState:BookmarkBar::DETACHED] [all...] |
/external/chromium_org/chrome/browser/ui/ |
browser_unittest.cc | 75 BookmarkBar::State window_bookmark_bar_state() const { 96 bookmark_bar_state_(BookmarkBar::HIDDEN) {} 101 BookmarkBar::State bookmark_bar_state() const { 108 BookmarkBar::AnimateChangeType change_type) OVERRIDE { 123 BookmarkBar::State bookmark_bar_state_; 134 ASSERT_EQ(BookmarkBar::HIDDEN, browser()->bookmark_bar_state()); 135 ASSERT_EQ(BookmarkBar::HIDDEN, window_bookmark_bar_state()); 142 EXPECT_EQ(BookmarkBar::DETACHED, browser()->bookmark_bar_state()); 143 EXPECT_EQ(BookmarkBar::DETACHED, window_bookmark_bar_state()); 147 EXPECT_EQ(BookmarkBar::HIDDEN, browser()->bookmark_bar_state()) [all...] |
browser.cc | 347 bookmark_bar_state_(BookmarkBar::HIDDEN), [all...] |
browser_browsertest.cc | [all...] |
/external/chromium_org/chrome/ |
chrome_nibs.gypi | 14 'app/nibs/BookmarkBar.xib',
|
/external/chromium_org/chrome/common/extensions/docs/templates/intros/ |
bookmarks.html | 59 chrome.bookmarks.create({'parentId': bookmarkBar.id,
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view.h | 53 // BookmarkBar is rendered as a MenuButton. An additional MenuButton aligned to 103 void SetBookmarkBarState(BookmarkBar::State state, 104 BookmarkBar::AnimateChangeType animate_type); 446 BookmarkBar::State bookmark_bar_state_;
|
bookmark_bar_view.cc | 163 // To enable/disable BookmarkBar animations during testing. In production 485 bookmark_bar_state_(BookmarkBar::SHOW), 524 BookmarkBar::State state, 525 BookmarkBar::AnimateChangeType animate_type) { 526 if (animate_type == BookmarkBar::ANIMATE_STATE_CHANGE && 528 animating_detached_ = (state == BookmarkBar::DETACHED || 529 bookmark_bar_state_ == BookmarkBar::DETACHED); 530 if (state == BookmarkBar::SHOW) 535 size_animation_->Reset(state == BookmarkBar::SHOW ? 1 : 0); 681 return (bookmark_bar_state_ == BookmarkBar::DETACHED) | [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
browser_window_controller_private.mm | 155 case BookmarkBar::SHOW: { 160 case BookmarkBar::HIDDEN: 161 case BookmarkBar::DETACHED: { 424 return [bookmarkBarController_ isInState:BookmarkBar::DETACHED] || 425 [bookmarkBarController_ isAnimatingToState:BookmarkBar::DETACHED] || 426 [bookmarkBarController_ isAnimatingFromState:BookmarkBar::DETACHED]; [all...] |
browser_window_cocoa.h | 60 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
|
browser_window_controller_unittest.mm | 128 BookmarkBar::DONT_ANIMATE_STATE_CHANGE); 216 BookmarkBar::DONT_ANIMATE_STATE_CHANGE); 450 BookmarkBar::DONT_ANIMATE_STATE_CHANGE); 778 BookmarkBar::DONT_ANIMATE_STATE_CHANGE); [all...] |
browser_window_controller.mm | 372 BookmarkBar::DONT_ANIMATE_STATE_CHANGE); [all...] |
/external/chromium_org/chrome/test/base/ |
test_browser_window.h | 48 BookmarkBar::AnimateChangeType change_type) OVERRIDE {}
|
/external/chromium_org/chrome/browser/prefs/ |
pref_functional_browsertest.cc | 149 EXPECT_EQ(BookmarkBar::SHOW, browser()->bookmark_bar_state());
|