summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/tabs
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 06:09:06 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 06:09:06 +0000
commitf3615f0a53ed81a0146c3ff2816ac8432b779cbf (patch)
treecb1565c101fc9c425c8d6848e9bbd4ea62d00078 /chrome/browser/ui/views/tabs
parentc9e49a0ce0b7e7d0cc4c447f1c81161d28dbfe07 (diff)
downloadchromium_src-f3615f0a53ed81a0146c3ff2816ac8432b779cbf.zip
chromium_src-f3615f0a53ed81a0146c3ff2816ac8432b779cbf.tar.gz
chromium_src-f3615f0a53ed81a0146c3ff2816ac8432b779cbf.tar.bz2
Remove WebContents methods that duplicate WebContentsView methods.
Review URL: https://codereview.chromium.org/12334073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/tabs')
-rw-r--r--chrome/browser/ui/views/tabs/tab_drag_controller.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
index 273c63f..25a0b71 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -32,6 +32,7 @@
#include "content/public/browser/notification_types.h"
#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/browser/web_contents_view.h"
#include "grit/theme_resources.h"
#include "ui/base/animation/animation.h"
#include "ui/base/animation/animation_delegate.h"
@@ -1849,11 +1850,11 @@ void TabDragController::CreateDraggedView(
// Set up the photo booth to start capturing the contents of the dragged
// WebContents.
- NativeViewPhotobooth* photobooth =
- NativeViewPhotobooth::Create(source_dragged_contents()->GetNativeView());
+ NativeViewPhotobooth* photobooth = NativeViewPhotobooth::Create(
+ source_dragged_contents()->GetView()->GetNativeView());
gfx::Rect content_bounds;
- source_dragged_contents()->GetContainerBounds(&content_bounds);
+ source_dragged_contents()->GetView()->GetContainerBounds(&content_bounds);
std::vector<views::View*> renderers;
for (size_t i = 0; i < drag_data_.size(); ++i) {