| OLD | NEW |
| 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/common/drag_event_source_info.h" | 13 #include "content/common/drag_event_source_info.h" |
| 14 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 14 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
| 15 | 15 |
| 16 class SkBitmap; | |
| 17 | |
| 18 namespace gfx { | 16 namespace gfx { |
| 19 class ImageSkia; | 17 class ImageSkia; |
| 20 class Rect; | 18 class Rect; |
| 21 class Vector2d; | 19 class Vector2d; |
| 22 } | 20 } |
| 23 | 21 |
| 24 namespace ui { | |
| 25 class GestureEvent; | |
| 26 class MouseEvent; | |
| 27 } | |
| 28 | |
| 29 namespace content { | 22 namespace content { |
| 30 class RenderFrameHost; | 23 class RenderFrameHost; |
| 31 struct ContextMenuParams; | 24 struct ContextMenuParams; |
| 32 struct DropData; | 25 struct DropData; |
| 33 struct MenuItem; | 26 struct MenuItem; |
| 34 | 27 |
| 35 // This class provides a way for the RenderViewHost to reach out to its | 28 // This class provides a way for the RenderViewHost to reach out to its |
| 36 // delegate's view. It only needs to be implemented by embedders if they don't | 29 // delegate's view. It only needs to be implemented by embedders if they don't |
| 37 // use the default WebContentsView implementations. | 30 // use the default WebContentsView implementations. |
| 38 class CONTENT_EXPORT RenderViewHostDelegateView { | 31 class CONTENT_EXPORT RenderViewHostDelegateView { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 virtual void HidePopupMenu() {}; | 75 virtual void HidePopupMenu() {}; |
| 83 #endif | 76 #endif |
| 84 | 77 |
| 85 protected: | 78 protected: |
| 86 virtual ~RenderViewHostDelegateView() {} | 79 virtual ~RenderViewHostDelegateView() {} |
| 87 }; | 80 }; |
| 88 | 81 |
| 89 } // namespace content | 82 } // namespace content |
| 90 | 83 |
| 91 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ | 84 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ |
| OLD | NEW |