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 #include "content/browser/web_contents/web_contents_view_android.h" | 5 #include "content/browser/web_contents/web_contents_view_android.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/browser/renderer_host/render_view_host_impl.h" | 8 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 9 #include "content/browser/web_contents/web_contents_impl.h" |
| 10 |
| 11 namespace content { |
| 12 WebContentsView* CreateWebContentsView(WebContentsImpl* web_contents, |
| 13 WebContentsViewDelegate* delegate) { |
| 14 return new WebContentsViewAndroid(web_contents); |
| 15 } |
| 16 } |
9 | 17 |
10 WebContentsViewAndroid::WebContentsViewAndroid( | 18 WebContentsViewAndroid::WebContentsViewAndroid( |
11 content::WebContents* web_contents) | 19 content::WebContents* web_contents) |
12 : web_contents_(web_contents) { | 20 : web_contents_(web_contents) { |
13 } | 21 } |
14 | 22 |
15 WebContentsViewAndroid::~WebContentsViewAndroid() { | 23 WebContentsViewAndroid::~WebContentsViewAndroid() { |
16 } | 24 } |
17 | 25 |
18 void WebContentsViewAndroid::CreateView(const gfx::Size& initial_size) { | 26 void WebContentsViewAndroid::CreateView(const gfx::Size& initial_size) { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 NOTIMPLEMENTED(); | 170 NOTIMPLEMENTED(); |
163 } | 171 } |
164 | 172 |
165 void WebContentsViewAndroid::GotFocus() { | 173 void WebContentsViewAndroid::GotFocus() { |
166 NOTIMPLEMENTED(); | 174 NOTIMPLEMENTED(); |
167 } | 175 } |
168 | 176 |
169 void WebContentsViewAndroid::TakeFocus(bool reverse) { | 177 void WebContentsViewAndroid::TakeFocus(bool reverse) { |
170 NOTIMPLEMENTED(); | 178 NOTIMPLEMENTED(); |
171 } | 179 } |
OLD | NEW |