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

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

Issue 422673002: Move BookmarkNodeData into bookmarks namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 6 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 | Annotate | Revision Log
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/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 void ShowDropFolderForNode(const BookmarkNode* node); 336 void ShowDropFolderForNode(const BookmarkNode* node);
337 337
338 // Cancels the timer used to show a drop menu. 338 // Cancels the timer used to show a drop menu.
339 void StopShowFolderDropMenuTimer(); 339 void StopShowFolderDropMenuTimer();
340 340
341 // Stars the timer used to show a drop menu for node. 341 // Stars the timer used to show a drop menu for node.
342 void StartShowFolderDropMenuTimer(const BookmarkNode* node); 342 void StartShowFolderDropMenuTimer(const BookmarkNode* node);
343 343
344 // Calculates the location for the drop in |location|. 344 // Calculates the location for the drop in |location|.
345 void CalculateDropLocation(const ui::DropTargetEvent& event, 345 void CalculateDropLocation(const ui::DropTargetEvent& event,
346 const BookmarkNodeData& data, 346 const bookmarks::BookmarkNodeData& data,
347 DropLocation* location); 347 DropLocation* location);
348 348
349 // Writes a BookmarkNodeData for node to data. 349 // Writes a BookmarkNodeData for node to data.
350 void WriteBookmarkDragData(const BookmarkNode* node, 350 void WriteBookmarkDragData(const BookmarkNode* node,
351 ui::OSExchangeData* data); 351 ui::OSExchangeData* data);
352 352
353 // This determines which view should throb and starts it 353 // This determines which view should throb and starts it
354 // throbbing (e.g when the bookmark bubble is showing). 354 // throbbing (e.g when the bookmark bubble is showing).
355 // If |overflow_only| is true, start throbbing only if |node| is hidden in 355 // If |overflow_only| is true, start throbbing only if |node| is hidden in
356 // the overflow menu. 356 // the overflow menu.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 445
446 BookmarkBar::State bookmark_bar_state_; 446 BookmarkBar::State bookmark_bar_state_;
447 447
448 // Are we animating to or from the detached state? 448 // Are we animating to or from the detached state?
449 bool animating_detached_; 449 bool animating_detached_;
450 450
451 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 451 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
452 }; 452 };
453 453
454 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 454 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698