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

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

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 7 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 #include <string> 9 #include <string>
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 virtual double GetAnimationValue() const OVERRIDE; 163 virtual double GetAnimationValue() const OVERRIDE;
164 virtual int GetToolbarOverlap() const OVERRIDE; 164 virtual int GetToolbarOverlap() const OVERRIDE;
165 165
166 // View methods: 166 // View methods:
167 virtual gfx::Size GetPreferredSize() OVERRIDE; 167 virtual gfx::Size GetPreferredSize() OVERRIDE;
168 virtual gfx::Size GetMinimumSize() OVERRIDE; 168 virtual gfx::Size GetMinimumSize() OVERRIDE;
169 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; 169 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
170 virtual void Layout() OVERRIDE; 170 virtual void Layout() OVERRIDE;
171 virtual void ViewHierarchyChanged( 171 virtual void ViewHierarchyChanged(
172 const ViewHierarchyChangedDetails& details) OVERRIDE; 172 const ViewHierarchyChangedDetails& details) OVERRIDE;
173 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; 173 virtual void PaintChildren(gfx::Canvas* canvas,
174 const views::CullSet& cull_set) OVERRIDE;
174 virtual bool GetDropFormats( 175 virtual bool GetDropFormats(
175 int* formats, 176 int* formats,
176 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE; 177 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE;
177 virtual bool AreDropTypesRequired() OVERRIDE; 178 virtual bool AreDropTypesRequired() OVERRIDE;
178 virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE; 179 virtual bool CanDrop(const ui::OSExchangeData& data) OVERRIDE;
179 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; 180 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE;
180 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; 181 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE;
181 virtual void OnDragExited() OVERRIDE; 182 virtual void OnDragExited() OVERRIDE;
182 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; 183 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE;
183 virtual void OnThemeChanged() OVERRIDE; 184 virtual void OnThemeChanged() OVERRIDE;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 438
438 BookmarkBar::State bookmark_bar_state_; 439 BookmarkBar::State bookmark_bar_state_;
439 440
440 // Are we animating to or from the detached state? 441 // Are we animating to or from the detached state?
441 bool animating_detached_; 442 bool animating_detached_;
442 443
443 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 444 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
444 }; 445 };
445 446
446 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 447 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698