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

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

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Sync with ToT Created 3 years, 4 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 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // Returns the current amount of overlap atop the browser toolbar. 162 // Returns the current amount of overlap atop the browser toolbar.
163 int GetToolbarOverlap() const; 163 int GetToolbarOverlap() const;
164 164
165 // views::View: 165 // views::View:
166 gfx::Size CalculatePreferredSize() const override; 166 gfx::Size CalculatePreferredSize() const override;
167 gfx::Size GetMinimumSize() const override; 167 gfx::Size GetMinimumSize() const override;
168 bool CanProcessEventsWithinSubtree() const override; 168 bool CanProcessEventsWithinSubtree() const override;
169 void Layout() override; 169 void Layout() override;
170 void ViewHierarchyChanged( 170 void ViewHierarchyChanged(
171 const ViewHierarchyChangedDetails& details) override; 171 const ViewHierarchyChangedDetails& details) override;
172 void PaintChildren(const ui::PaintContext& context) override; 172 void PaintChildren(const views::PaintInfo& paint_info) override;
173 bool GetDropFormats( 173 bool GetDropFormats(
174 int* formats, 174 int* formats,
175 std::set<ui::Clipboard::FormatType>* format_types) override; 175 std::set<ui::Clipboard::FormatType>* format_types) override;
176 bool AreDropTypesRequired() override; 176 bool AreDropTypesRequired() override;
177 bool CanDrop(const ui::OSExchangeData& data) override; 177 bool CanDrop(const ui::OSExchangeData& data) override;
178 void OnDragEntered(const ui::DropTargetEvent& event) override; 178 void OnDragEntered(const ui::DropTargetEvent& event) override;
179 int OnDragUpdated(const ui::DropTargetEvent& event) override; 179 int OnDragUpdated(const ui::DropTargetEvent& event) override;
180 void OnDragExited() override; 180 void OnDragExited() override;
181 int OnPerformDrop(const ui::DropTargetEvent& event) override; 181 int OnPerformDrop(const ui::DropTargetEvent& event) override;
182 void OnThemeChanged() override; 182 void OnThemeChanged() override;
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 462
463 base::ObserverList<BookmarkBarViewObserver> observers_; 463 base::ObserverList<BookmarkBarViewObserver> observers_;
464 464
465 // Factory used to delay showing of the drop menu. 465 // Factory used to delay showing of the drop menu.
466 base::WeakPtrFactory<BookmarkBarView> show_folder_method_factory_; 466 base::WeakPtrFactory<BookmarkBarView> show_folder_method_factory_;
467 467
468 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 468 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
469 }; 469 };
470 470
471 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 471 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/card_unmask_prompt_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