summaryrefslogtreecommitdiffstats
path: root/content/browser/web_contents/web_contents_view_android.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/web_contents/web_contents_view_android.cc')
-rw-r--r--content/browser/web_contents/web_contents_view_android.cc166
1 files changed, 166 insertions, 0 deletions
diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc
new file mode 100644
index 0000000..c16569f
--- /dev/null
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -0,0 +1,166 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/web_contents/web_contents_view_android.h"
+
+#include "base/logging.h"
+#include "content/browser/renderer_host/render_view_host_impl.h"
+
+WebContentsViewAndroid::WebContentsViewAndroid(
+ content::WebContents* web_contents)
+ : web_contents_(web_contents) {
+}
+
+WebContentsViewAndroid::~WebContentsViewAndroid() {
+}
+
+void WebContentsViewAndroid::CreateView(const gfx::Size& initial_size) {
+ NOTIMPLEMENTED();
+}
+
+content::RenderWidgetHostView* WebContentsViewAndroid::CreateViewForWidget(
+ content::RenderWidgetHost* render_widget_host) {
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
+gfx::NativeView WebContentsViewAndroid::GetNativeView() const {
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
+gfx::NativeView WebContentsViewAndroid::GetContentNativeView() const {
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
+gfx::NativeWindow WebContentsViewAndroid::GetTopLevelNativeWindow() const {
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
+void WebContentsViewAndroid::GetContainerBounds(gfx::Rect* out) const {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::SetPageTitle(const string16& title) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::OnTabCrashed(base::TerminationStatus status,
+ int error_code) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::SizeContents(const gfx::Size& size) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::RenderViewCreated(content::RenderViewHost* host) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::Focus() {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::SetInitialFocus() {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::StoreFocus() {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::RestoreFocus() {
+ NOTIMPLEMENTED();
+}
+
+bool WebContentsViewAndroid::IsDoingDrag() const {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+void WebContentsViewAndroid::CancelDragAndCloseTab() {
+ NOTIMPLEMENTED();
+}
+
+bool WebContentsViewAndroid::IsEventTracking() const {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+void WebContentsViewAndroid::CloseTabAfterEventTracking() {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::GetViewBounds(gfx::Rect* out) const {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::CreateNewWindow(
+ int route_id,
+ const ViewHostMsg_CreateWindow_Params& params) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::CreateNewWidget(
+ int route_id, WebKit::WebPopupType popup_type) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::CreateNewFullscreenWidget(int route_id) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::ShowCreatedWindow(int route_id,
+ WindowOpenDisposition disposition,
+ const gfx::Rect& initial_pos,
+ bool user_gesture) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::ShowCreatedWidget(
+ int route_id, const gfx::Rect& initial_pos) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::ShowCreatedFullscreenWidget(int route_id) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::ShowContextMenu(
+ const content::ContextMenuParams& params) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::ShowPopupMenu(
+ const gfx::Rect& bounds,
+ int item_height,
+ double item_font_size,
+ int selected_item,
+ const std::vector<WebMenuItem>& items,
+ bool right_aligned) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::StartDragging(
+ const WebDropData& drop_data,
+ WebKit::WebDragOperationsMask allowed_ops,
+ const SkBitmap& image,
+ const gfx::Point& image_offset) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::UpdateDragCursor(WebKit::WebDragOperation op) {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::GotFocus() {
+ NOTIMPLEMENTED();
+}
+
+void WebContentsViewAndroid::TakeFocus(bool reverse) {
+ NOTIMPLEMENTED();
+}