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

Unified Diff: content/public/browser/web_contents.h

Issue 12334073: Remove WebContents methods that duplicate WebContentsView methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 1a26c8948e80b33e47fd2a9ac55cbf25ae6d95b7..e5e8440507f51aa6d8ca77667e50d984cdfb80e4 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -272,22 +272,6 @@ class WebContents : public PageNavigator,
virtual WebContents* Clone() = 0;
// Views and focus -----------------------------------------------------------
- // TODO(brettw): Most of these should be removed and the caller should call
- // the view directly.
-
- // Returns the actual window that is focused when this WebContents is shown.
- virtual gfx::NativeView GetContentNativeView() const = 0;
-
- // Returns the NativeView associated with this WebContents. Outside of
- // automation in the context of the UI, this is required to be implemented.
- virtual gfx::NativeView GetNativeView() const = 0;
-
- // Returns the bounds of this WebContents in the screen coordinate system.
- virtual void GetContainerBounds(gfx::Rect* out) const = 0;
-
- // Makes the tab the focused window.
- virtual void Focus() = 0;
-
// Focuses the first (last if |reverse| is true) element in the page.
// Invoked when this tab is getting the focus through tab traversal (|reverse|
// is true when using Shift-Tab).
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura_browsertest.cc ('k') | content/public/test/web_contents_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698