| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
| 10 #include "content/browser/web_contents/web_contents_view.h" | 10 #include "content/browser/web_contents/web_contents_view.h" |
| 11 #include "content/public/browser/web_contents_view_delegate.h" | 11 #include "content/public/browser/web_contents_view_delegate.h" |
| 12 #include "content/public/common/context_menu_params.h" | 12 #include "content/public/common/context_menu_params.h" |
| 13 #include "ui/gfx/rect_f.h" | 13 #include "ui/gfx/geometry/rect_f.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class ContentViewCoreImpl; | 16 class ContentViewCoreImpl; |
| 17 class WebContentsImpl; | 17 class WebContentsImpl; |
| 18 | 18 |
| 19 // Android-specific implementation of the WebContentsView. | 19 // Android-specific implementation of the WebContentsView. |
| 20 class WebContentsViewAndroid : public WebContentsView, | 20 class WebContentsViewAndroid : public WebContentsView, |
| 21 public RenderViewHostDelegateView { | 21 public RenderViewHostDelegateView { |
| 22 public: | 22 public: |
| 23 WebContentsViewAndroid(WebContentsImpl* web_contents, | 23 WebContentsViewAndroid(WebContentsImpl* web_contents, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 // Interface for extensions to WebContentsView. Used to show the context menu. | 83 // Interface for extensions to WebContentsView. Used to show the context menu. |
| 84 scoped_ptr<WebContentsViewDelegate> delegate_; | 84 scoped_ptr<WebContentsViewDelegate> delegate_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); | 86 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace content | 89 } // namespace content |
| 90 | 90 |
| 91 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 91 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| OLD | NEW |