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

Side by Side Diff: chrome/browser/tab_contents/chrome_web_contents_view_delegate_aura.cc

Issue 9757001: Support custom drag-and-drop of bookmarks in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor style fixes from CR Created 8 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/tab_contents/chrome_web_contents_view_delegate_aura.h"
6
7 #include "chrome/browser/tab_contents/web_drag_bookmark_handler_aura.h"
8 #include "content/public/browser/web_contents.h"
9 #include "content/public/browser/web_contents_view.h"
10
11 ChromeWebContentsViewDelegateAura::ChromeWebContentsViewDelegateAura(
12 content::WebContents* web_contents)
13 : web_contents_(web_contents),
14 bookmark_handler_(new WebDragBookmarkHandlerAura()) {
15 }
16
17 ChromeWebContentsViewDelegateAura::~ChromeWebContentsViewDelegateAura() {
18 }
19
20 content::WebDragDestDelegate*
21 ChromeWebContentsViewDelegateAura::GetDragDestDelegate() {
22 // We install a chrome specific handler to intercept bookmark drags for the
23 // bookmark manager/extension API.
24 return bookmark_handler_.get();
25 }
26
27 void ChromeWebContentsViewDelegateAura::ShowContextMenu(
28 const content::ContextMenuParams& params) {
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698