OLD | NEW |
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 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 virtual bool CanStartDragForView(views::View* sender, | 224 virtual bool CanStartDragForView(views::View* sender, |
225 const gfx::Point& press_pt, | 225 const gfx::Point& press_pt, |
226 const gfx::Point& p) OVERRIDE; | 226 const gfx::Point& p) OVERRIDE; |
227 | 227 |
228 // views::MenuButtonListener: | 228 // views::MenuButtonListener: |
229 virtual void OnMenuButtonClicked(views::View* view, | 229 virtual void OnMenuButtonClicked(views::View* view, |
230 const gfx::Point& point) OVERRIDE; | 230 const gfx::Point& point) OVERRIDE; |
231 | 231 |
232 // views::ButtonListener: | 232 // views::ButtonListener: |
233 virtual void ButtonPressed(views::Button* sender, | 233 virtual void ButtonPressed(views::Button* sender, |
234 const views::Event& event) OVERRIDE; | 234 const ui::Event& event) OVERRIDE; |
235 | 235 |
236 // views::ContextMenuController: | 236 // views::ContextMenuController: |
237 virtual void ShowContextMenuForView(views::View* source, | 237 virtual void ShowContextMenuForView(views::View* source, |
238 const gfx::Point& point) OVERRIDE; | 238 const gfx::Point& point) OVERRIDE; |
239 | 239 |
240 // content::NotificationObserver:: | 240 // content::NotificationObserver:: |
241 virtual void Observe(int type, | 241 virtual void Observe(int type, |
242 const content::NotificationSource& source, | 242 const content::NotificationSource& source, |
243 const content::NotificationDetails& details) OVERRIDE; | 243 const content::NotificationDetails& details) OVERRIDE; |
244 | 244 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 | 407 |
408 BookmarkBar::State bookmark_bar_state_; | 408 BookmarkBar::State bookmark_bar_state_; |
409 | 409 |
410 // Are we animating to or from the detached state? | 410 // Are we animating to or from the detached state? |
411 bool animating_detached_; | 411 bool animating_detached_; |
412 | 412 |
413 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); | 413 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); |
414 }; | 414 }; |
415 | 415 |
416 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 416 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
OLD | NEW |