diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-11 15:19:00 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-11 15:19:00 +0000 |
commit | 0c4e92e6434bb8936aca2e03fe8d44201cb51089 (patch) | |
tree | 0099a309042789a21e2e3a51c13dc2a8051a30fb /content/browser/web_contents/web_contents_view_android.cc | |
parent | 51808a91fef99c0d0849f143f772cb1bbc11f2e4 (diff) | |
download | chromium_src-0c4e92e6434bb8936aca2e03fe8d44201cb51089.zip chromium_src-0c4e92e6434bb8936aca2e03fe8d44201cb51089.tar.gz chromium_src-0c4e92e6434bb8936aca2e03fe8d44201cb51089.tar.bz2 |
TabContents -> WebContentsImpl, part 4.
BUG=105875
TEST=no change
Review URL: https://chromiumcodereview.appspot.com/10024066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/web_contents/web_contents_view_android.cc')
-rw-r--r-- | content/browser/web_contents/web_contents_view_android.cc | 166 |
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(); +} |