| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 // ButtonListener: | 234 // ButtonListener: |
| 235 virtual void ButtonPressed(views::Button* sender, | 235 virtual void ButtonPressed(views::Button* sender, |
| 236 const views::Event& event) OVERRIDE; | 236 const views::Event& event) OVERRIDE; |
| 237 | 237 |
| 238 // ContextMenuController | 238 // ContextMenuController |
| 239 virtual void ShowContextMenuForView(views::View* source, | 239 virtual void ShowContextMenuForView(views::View* source, |
| 240 const gfx::Point& p, | 240 const gfx::Point& p, |
| 241 bool is_mouse_gesture) OVERRIDE; | 241 bool is_mouse_gesture) OVERRIDE; |
| 242 | 242 |
| 243 // NotificationService: | 243 // NotificationService: |
| 244 virtual void Observe(NotificationType type, | 244 virtual void Observe(int type, |
| 245 const NotificationSource& source, | 245 const NotificationSource& source, |
| 246 const NotificationDetails& details) OVERRIDE; | 246 const NotificationDetails& details) OVERRIDE; |
| 247 | 247 |
| 248 // If true we're running tests. This short circuits a couple of animations. | 248 // If true we're running tests. This short circuits a couple of animations. |
| 249 static bool testing_; | 249 static bool testing_; |
| 250 | 250 |
| 251 private: | 251 private: |
| 252 class ButtonSeparatorView; | 252 class ButtonSeparatorView; |
| 253 struct DropInfo; | 253 struct DropInfo; |
| 254 struct DropLocation; | 254 struct DropLocation; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 | 421 |
| 422 BookmarkBar::State bookmark_bar_state_; | 422 BookmarkBar::State bookmark_bar_state_; |
| 423 | 423 |
| 424 // Are we animating to or from the detached state? | 424 // Are we animating to or from the detached state? |
| 425 bool animating_detached_; | 425 bool animating_detached_; |
| 426 | 426 |
| 427 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); | 427 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); |
| 428 }; | 428 }; |
| 429 | 429 |
| 430 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 430 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
| OLD | NEW |