| OLD | NEW |
| 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 virtual int GetToolbarOverlap() const OVERRIDE; | 156 virtual int GetToolbarOverlap() const OVERRIDE; |
| 157 | 157 |
| 158 // View methods: | 158 // View methods: |
| 159 virtual gfx::Size GetPreferredSize() OVERRIDE; | 159 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 160 virtual gfx::Size GetMinimumSize() OVERRIDE; | 160 virtual gfx::Size GetMinimumSize() OVERRIDE; |
| 161 virtual void Layout() OVERRIDE; | 161 virtual void Layout() OVERRIDE; |
| 162 virtual void ViewHierarchyChanged(bool | 162 virtual void ViewHierarchyChanged(bool |
| 163 is_add, | 163 is_add, |
| 164 View* parent, | 164 View* parent, |
| 165 View* child) OVERRIDE; | 165 View* child) OVERRIDE; |
| 166 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; | 166 virtual void PaintChildren(gfx::CanvasSkia* canvas) OVERRIDE; |
| 167 virtual bool GetDropFormats( | 167 virtual bool GetDropFormats( |
| 168 int* formats, | 168 int* formats, |
| 169 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE; | 169 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE; |
| 170 virtual bool AreDropTypesRequired() OVERRIDE; | 170 virtual bool AreDropTypesRequired() OVERRIDE; |
| 171 virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; | 171 virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; |
| 172 virtual void OnDragEntered(const views::DropTargetEvent& event) OVERRIDE; | 172 virtual void OnDragEntered(const views::DropTargetEvent& event) OVERRIDE; |
| 173 virtual int OnDragUpdated(const views::DropTargetEvent& event) OVERRIDE; | 173 virtual int OnDragUpdated(const views::DropTargetEvent& event) OVERRIDE; |
| 174 virtual void OnDragExited() OVERRIDE; | 174 virtual void OnDragExited() OVERRIDE; |
| 175 virtual int OnPerformDrop(const views::DropTargetEvent& event) OVERRIDE; | 175 virtual int OnPerformDrop(const views::DropTargetEvent& event) OVERRIDE; |
| 176 virtual void ShowContextMenu(const gfx::Point& p, | 176 virtual void ShowContextMenu(const gfx::Point& p, |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 | 409 |
| 410 BookmarkBar::State bookmark_bar_state_; | 410 BookmarkBar::State bookmark_bar_state_; |
| 411 | 411 |
| 412 // Are we animating to or from the detached state? | 412 // Are we animating to or from the detached state? |
| 413 bool animating_detached_; | 413 bool animating_detached_; |
| 414 | 414 |
| 415 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); | 415 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); |
| 416 }; | 416 }; |
| 417 | 417 |
| 418 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 418 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
| OLD | NEW |