Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2073)

Unified Diff: content/test/test_tab_contents_view.cc

Issue 7800004: Move more files to content_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/test_tab_contents_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_tab_contents_view.cc
diff --git a/content/test/test_tab_contents_view.cc b/content/test/test_tab_contents_view.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a60552bf924918274a5d744fd9a79747a3912c97
--- /dev/null
+++ b/content/test/test_tab_contents_view.cc
@@ -0,0 +1,131 @@
+// Copyright (c) 2011 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/test/test_tab_contents_view.h"
+
+TestTabContentsView::TestTabContentsView() {
+}
+
+TestTabContentsView::~TestTabContentsView() {
+}
+
+void TestTabContentsView::CreateNewWindow(
+ int route_id,
+ const ViewHostMsg_CreateWindow_Params& params) {
+}
+
+void TestTabContentsView::CreateNewWidget(int route_id,
+ WebKit::WebPopupType popup_type) {
+}
+
+void TestTabContentsView::CreateNewFullscreenWidget(int route_id) {
+}
+
+void TestTabContentsView::ShowCreatedWindow(int route_id,
+ WindowOpenDisposition disposition,
+ const gfx::Rect& initial_pos,
+ bool user_gesture) {
+}
+
+void TestTabContentsView::ShowCreatedWidget(int route_id,
+ const gfx::Rect& initial_pos) {
+}
+
+void TestTabContentsView::ShowCreatedFullscreenWidget(int route_id) {
+}
+
+void TestTabContentsView::ShowContextMenu(const ContextMenuParams& params) {
+}
+
+void TestTabContentsView::ShowPopupMenu(const gfx::Rect& bounds,
+ int item_height,
+ double item_font_size,
+ int selected_item,
+ const std::vector<WebMenuItem>& items,
+ bool right_aligned) {
+}
+
+void TestTabContentsView::StartDragging(
+ const WebDropData& drop_data,
+ WebKit::WebDragOperationsMask allowed_ops,
+ const SkBitmap& image,
+ const gfx::Point& image_offset) {
+}
+
+void TestTabContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) {
+}
+
+void TestTabContentsView::GotFocus() {
+}
+
+void TestTabContentsView::TakeFocus(bool reverse) {
+}
+
+void TestTabContentsView::UpdatePreferredSize(const gfx::Size& pref_size) {
+}
+
+void TestTabContentsView::CreateView(const gfx::Size& initial_size) {
+}
+
+RenderWidgetHostView* TestTabContentsView::CreateViewForWidget(
+ RenderWidgetHost* render_widget_host) {
+ return NULL;
+}
+
+gfx::NativeView TestTabContentsView::GetNativeView() const {
+ return gfx::NativeView();
+}
+
+gfx::NativeView TestTabContentsView::GetContentNativeView() const {
+ return gfx::NativeView();
+}
+
+gfx::NativeWindow TestTabContentsView::GetTopLevelNativeWindow() const {
+ return gfx::NativeWindow();
+}
+
+void TestTabContentsView::GetContainerBounds(gfx::Rect *out) const {
+}
+
+void TestTabContentsView::SetPageTitle(const std::wstring& title) {
+}
+
+void TestTabContentsView::OnTabCrashed(base::TerminationStatus status,
+ int error_code) {
+}
+
+void TestTabContentsView::SizeContents(const gfx::Size& size) {
+}
+
+void TestTabContentsView::RenderViewCreated(RenderViewHost* host) {
+}
+
+void TestTabContentsView::Focus() {
+}
+
+void TestTabContentsView::SetInitialFocus() {
+}
+
+void TestTabContentsView::StoreFocus() {
+}
+
+void TestTabContentsView::RestoreFocus() {
+}
+
+bool TestTabContentsView::IsDoingDrag() const {
+ return false;
+}
+
+void TestTabContentsView::CancelDragAndCloseTab() {
+}
+
+bool TestTabContentsView::IsEventTracking() const {
+ return false;
+}
+
+void TestTabContentsView::CloseTabAfterEventTracking() {
+}
+
+void TestTabContentsView::GetViewBounds(gfx::Rect* out) const {
+}
« no previous file with comments | « content/test/test_tab_contents_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698