| 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 11 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
| 12 #include "content/browser/web_contents/web_contents_view.h" | 12 #include "content/browser/web_contents/web_contents_view.h" |
| 13 #include "content/public/browser/web_contents_view_delegate.h" | 13 #include "content/public/browser/web_contents_view_delegate.h" |
| 14 #include "content/public/common/context_menu_params.h" | 14 #include "content/public/common/context_menu_params.h" |
| 15 #include "content/public/common/drop_data.h" | 15 #include "content/public/common/drop_data.h" |
| 16 #include "ui/android/view_android.h" | 16 #include "ui/android/view_android.h" |
| 17 #include "ui/gfx/geometry/rect_f.h" | 17 #include "ui/gfx/geometry/rect_f.h" |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class ContentViewCoreImpl; | 20 class ContentViewCoreImpl; |
| 21 class RenderWidgetHostViewAndroid; | |
| 22 class SynchronousCompositorClient; | 21 class SynchronousCompositorClient; |
| 23 class WebContentsImpl; | 22 class WebContentsImpl; |
| 24 | 23 |
| 25 // Android-specific implementation of the WebContentsView. | 24 // Android-specific implementation of the WebContentsView. |
| 26 class WebContentsViewAndroid : public WebContentsView, | 25 class WebContentsViewAndroid : public WebContentsView, |
| 27 public RenderViewHostDelegateView { | 26 public RenderViewHostDelegateView { |
| 28 public: | 27 public: |
| 29 WebContentsViewAndroid(WebContentsImpl* web_contents, | 28 WebContentsViewAndroid(WebContentsImpl* web_contents, |
| 30 WebContentsViewDelegate* delegate); | 29 WebContentsViewDelegate* delegate); |
| 31 ~WebContentsViewAndroid() override; | 30 ~WebContentsViewAndroid() override; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 115 |
| 117 // Interface used to get notified of events from the synchronous compositor. | 116 // Interface used to get notified of events from the synchronous compositor. |
| 118 SynchronousCompositorClient* synchronous_compositor_client_; | 117 SynchronousCompositorClient* synchronous_compositor_client_; |
| 119 | 118 |
| 120 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); | 119 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); |
| 121 }; | 120 }; |
| 122 | 121 |
| 123 } // namespace content | 122 } // namespace content |
| 124 | 123 |
| 125 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 124 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| OLD | NEW |