| 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/tab_contents/web_contents_view_android.h" | 5 #include "content/browser/tab_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 | 9 |
| 10 WebContentsViewAndroid::WebContentsViewAndroid( | 10 WebContentsViewAndroid::WebContentsViewAndroid( |
| 11 content::WebContents* web_contents) | 11 content::WebContents* web_contents) |
| 12 : web_contents_(web_contents) { | 12 : web_contents_(web_contents) { |
| 13 } | 13 } |
| 14 | 14 |
| 15 WebContentsViewAndroid::~WebContentsViewAndroid() { | 15 WebContentsViewAndroid::~WebContentsViewAndroid() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void WebContentsViewAndroid::CreateView(const gfx::Size& initial_size) { | 18 void WebContentsViewAndroid::CreateView(const gfx::Size& initial_size) { |
| 19 NOTIMPLEMENTED(); | 19 NOTIMPLEMENTED(); |
| 20 } | 20 } |
| 21 | 21 |
| 22 content::RenderWidgetHostView* WebContentsViewAndroid::CreateViewForWidget( | 22 content::RenderWidgetHostView* WebContentsViewAndroid::CreateViewForWidget( |
| 23 RenderWidgetHost* render_widget_host) { | 23 content::RenderWidgetHost* render_widget_host) { |
| 24 NOTIMPLEMENTED(); | 24 NOTIMPLEMENTED(); |
| 25 return NULL; | 25 return NULL; |
| 26 } | 26 } |
| 27 | 27 |
| 28 gfx::NativeView WebContentsViewAndroid::GetNativeView() const { | 28 gfx::NativeView WebContentsViewAndroid::GetNativeView() const { |
| 29 NOTIMPLEMENTED(); | 29 NOTIMPLEMENTED(); |
| 30 return NULL; | 30 return NULL; |
| 31 } | 31 } |
| 32 | 32 |
| 33 gfx::NativeView WebContentsViewAndroid::GetContentNativeView() const { | 33 gfx::NativeView WebContentsViewAndroid::GetContentNativeView() const { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 void WebContentsViewAndroid::OnTabCrashed(base::TerminationStatus status, | 51 void WebContentsViewAndroid::OnTabCrashed(base::TerminationStatus status, |
| 52 int error_code) { | 52 int error_code) { |
| 53 NOTIMPLEMENTED(); | 53 NOTIMPLEMENTED(); |
| 54 } | 54 } |
| 55 | 55 |
| 56 void WebContentsViewAndroid::SizeContents(const gfx::Size& size) { | 56 void WebContentsViewAndroid::SizeContents(const gfx::Size& size) { |
| 57 NOTIMPLEMENTED(); | 57 NOTIMPLEMENTED(); |
| 58 } | 58 } |
| 59 | 59 |
| 60 void WebContentsViewAndroid::RenderViewCreated(RenderViewHost* host) { | 60 void WebContentsViewAndroid::RenderViewCreated(content::RenderViewHost* host) { |
| 61 NOTIMPLEMENTED(); | 61 NOTIMPLEMENTED(); |
| 62 } | 62 } |
| 63 | 63 |
| 64 void WebContentsViewAndroid::Focus() { | 64 void WebContentsViewAndroid::Focus() { |
| 65 NOTIMPLEMENTED(); | 65 NOTIMPLEMENTED(); |
| 66 } | 66 } |
| 67 | 67 |
| 68 void WebContentsViewAndroid::SetInitialFocus() { | 68 void WebContentsViewAndroid::SetInitialFocus() { |
| 69 NOTIMPLEMENTED(); | 69 NOTIMPLEMENTED(); |
| 70 } | 70 } |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 NOTIMPLEMENTED(); | 157 NOTIMPLEMENTED(); |
| 158 } | 158 } |
| 159 | 159 |
| 160 void WebContentsViewAndroid::GotFocus() { | 160 void WebContentsViewAndroid::GotFocus() { |
| 161 NOTIMPLEMENTED(); | 161 NOTIMPLEMENTED(); |
| 162 } | 162 } |
| 163 | 163 |
| 164 void WebContentsViewAndroid::TakeFocus(bool reverse) { | 164 void WebContentsViewAndroid::TakeFocus(bool reverse) { |
| 165 NOTIMPLEMENTED(); | 165 NOTIMPLEMENTED(); |
| 166 } | 166 } |
| OLD | NEW |