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

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

Issue 6250014: Move more dnd related files to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BOOKMARK_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARK_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_BAR_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // Shows the menu used during drag and drop for the specified node. 402 // Shows the menu used during drag and drop for the specified node.
403 void ShowDropFolderForNode(const BookmarkNode* node); 403 void ShowDropFolderForNode(const BookmarkNode* node);
404 404
405 // Cancels the timer used to show a drop menu. 405 // Cancels the timer used to show a drop menu.
406 void StopShowFolderDropMenuTimer(); 406 void StopShowFolderDropMenuTimer();
407 407
408 // Stars the timer used to show a drop menu for node. 408 // Stars the timer used to show a drop menu for node.
409 void StartShowFolderDropMenuTimer(const BookmarkNode* node); 409 void StartShowFolderDropMenuTimer(const BookmarkNode* node);
410 410
411 // Returns the drop operation and index for the drop based on the event 411 // Returns the drop operation and index for the drop based on the event
412 // and data. Returns DragDropTypes::DRAG_NONE if not a valid location. 412 // and data. Returns ui::DragDropTypes::DRAG_NONE if not a valid location.
413 int CalculateDropOperation(const views::DropTargetEvent& event, 413 int CalculateDropOperation(const views::DropTargetEvent& event,
414 const BookmarkNodeData& data, 414 const BookmarkNodeData& data,
415 int* index, 415 int* index,
416 bool* drop_on, 416 bool* drop_on,
417 bool* is_over_overflow, 417 bool* is_over_overflow,
418 bool* is_over_other); 418 bool* is_over_other);
419 419
420 // Returns the index of the first hidden bookmark button. If all buttons are 420 // Returns the index of the first hidden bookmark button. If all buttons are
421 // visible, this returns GetBookmarkButtonCount(). 421 // visible, this returns GetBookmarkButtonCount().
422 int GetFirstHiddenNodeIndex(); 422 int GetFirstHiddenNodeIndex();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // overflow_button_ or a button on the bar. 501 // overflow_button_ or a button on the bar.
502 views::CustomButton* throbbing_view_; 502 views::CustomButton* throbbing_view_;
503 503
504 // Background for extension toolstrips. 504 // Background for extension toolstrips.
505 SkBitmap toolstrip_background_; 505 SkBitmap toolstrip_background_;
506 506
507 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 507 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
508 }; 508 };
509 509
510 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_BAR_VIEW_H_ 510 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/ui/views/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698