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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate.h

Issue 9757001: Support custom drag-and-drop of bookmarks in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win aura linker error 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
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_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_DELEGATE_H _ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_DELEGATE_H _
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_DELEGATE_H _ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_DELEGATE_H _
7 #pragma once 7 #pragma once
8 8
9 namespace content { 9 namespace content {
10 class WebContents; 10 class WebContents;
11 class WebDragDestDelegate;
11 } 12 }
12 namespace gfx { 13 namespace gfx {
13 class Size; 14 class Size;
14 } 15 }
15 namespace views { 16 namespace views {
16 namespace internal { 17 namespace internal {
17 class NativeWidgetDelegate; 18 class NativeWidgetDelegate;
18 } 19 }
19 } 20 }
20 21
(...skipping 15 matching lines...) Expand all
36 virtual void OnNativeTabContentsViewWheelZoom(bool zoom_in) = 0; 37 virtual void OnNativeTabContentsViewWheelZoom(bool zoom_in) = 0;
37 38
38 // TODO(beng): 39 // TODO(beng):
39 // These two can be replaced by an override of Widget::OnMouseEvent. 40 // These two can be replaced by an override of Widget::OnMouseEvent.
40 virtual void OnNativeTabContentsViewMouseDown() = 0; 41 virtual void OnNativeTabContentsViewMouseDown() = 0;
41 virtual void OnNativeTabContentsViewMouseMove(bool motion) = 0; 42 virtual void OnNativeTabContentsViewMouseMove(bool motion) = 0;
42 43
43 virtual void OnNativeTabContentsViewDraggingEnded() = 0; 44 virtual void OnNativeTabContentsViewDraggingEnded() = 0;
44 45
45 virtual views::internal::NativeWidgetDelegate* AsNativeWidgetDelegate() = 0; 46 virtual views::internal::NativeWidgetDelegate* AsNativeWidgetDelegate() = 0;
47
48 virtual content::WebDragDestDelegate* GetDragDestDelegate() = 0;
46 }; 49 };
47 50
48 } // namespace internal 51 } // namespace internal
49 52
50 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_DELEGAT E_H_ 53 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_DELEGAT E_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698