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

Unified Diff: chrome/browser/chromeos/login/lock_window_gtk.cc

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 12 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: chrome/browser/chromeos/login/lock_window_gtk.cc
===================================================================
--- chrome/browser/chromeos/login/lock_window_gtk.cc (revision 116331)
+++ chrome/browser/chromeos/login/lock_window_gtk.cc (working copy)
@@ -28,9 +28,9 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/url_constants.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
-#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/screen.h"
@@ -79,7 +79,7 @@
void LockWindowGtk::Grab(DOMView* dom_view) {
// Grab on the RenderWidgetHostView hosting the WebUI login screen.
- grab_widget_ = dom_view->dom_contents()->tab_contents()->
+ grab_widget_ = dom_view->dom_contents()->web_contents()->
GetRenderWidgetHostView()->GetNativeView();
ClearGtkGrab();
« no previous file with comments | « chrome/browser/chromeos/login/html_page_screen.cc ('k') | chrome/browser/chromeos/login/registration_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698