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

Unified Diff: content/shell/shell_web_contents_view_delegate_android.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
Index: content/shell/shell_web_contents_view_delegate_android.cc
diff --git a/content/shell/shell_web_contents_view_delegate_android.cc b/content/shell/shell_web_contents_view_delegate_android.cc
deleted file mode 100644
index a5b4c8240653e52a7aecf84ca8975d54aa889310..0000000000000000000000000000000000000000
--- a/content/shell/shell_web_contents_view_delegate_android.cc
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2013 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/shell/shell_web_contents_view_delegate.h"
-
-#include "base/command_line.h"
-#include "content/public/browser/android/content_view_core.h"
-#include "content/public/browser/web_contents.h"
-#include "content/public/browser/web_contents_view.h"
-#include "content/public/common/context_menu_params.h"
-#include "content/shell/shell_web_contents_view_delegate_creator.h"
-
-namespace content {
-
-WebContentsViewDelegate* CreateShellWebContentsViewDelegate(
- WebContents* web_contents) {
- return new ShellWebContentsViewDelegate(web_contents);
-}
-
-
-ShellWebContentsViewDelegate::ShellWebContentsViewDelegate(
- WebContents* web_contents)
- : web_contents_(web_contents) {
-}
-
-ShellWebContentsViewDelegate::~ShellWebContentsViewDelegate() {
-}
-
-void ShellWebContentsViewDelegate::ShowContextMenu(
- const ContextMenuParams& params) {
- if (params.is_editable && params.selection_text.empty()) {
- content::ContentViewCore* content_view_core =
- ContentViewCore::FromWebContents(web_contents_);
- if (content_view_core) {
- content_view_core->ShowPastePopup(params.selection_start.x(),
- params.selection_start.y());
- }
- }
-}
-
-WebDragDestDelegate* ShellWebContentsViewDelegate::GetDragDestDelegate() {
- return NULL;
-}
-
-} // namespace content
« no previous file with comments | « content/shell/shell_web_contents_view_delegate.h ('k') | content/shell/shell_web_contents_view_delegate_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698