Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package


// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import <Cocoa/Cocoa.h>

#include "chrome/browser/bookmarks/bookmark_drag_data.h"
#include "chrome/browser/cocoa/web_contents_drag_source.h"

// A class that handles tracking and event processing for a drag and drop
// originating from the content area.
@interface BookmarkDragSource : WebContentsDragSource {
  // Our drop data. Should only be initialized once.
  std::vector<BookmarkDragData::Element> dropData_;

  Profile* profile_;

// Initialize a DragDataSource object for a drag (originating on the given
// contentsView and with the given dropData and pboard). Fill the pasteboard
// with data types appropriate for dropData.
- (id)initWithContentsView:(TabContentsViewCocoa*)contentsView
                      (const std::vector<BookmarkDragData::Element>&)dropData


Generated by  Doxygen 1.6.0   Back to index