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

Unified Diff: ui/app_list/views/signin_view.cc

Issue 12088037: Revert 179302 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « ui/app_list/views/signin_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/signin_view.cc
===================================================================
--- ui/app_list/views/signin_view.cc (revision 179305)
+++ ui/app_list/views/signin_view.cc (working copy)
@@ -1,32 +0,0 @@
-// Copyright 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 "ui/app_list/views/signin_view.h"
-
-#include "content/public/browser/web_contents.h"
-#include "ui/app_list/signin_delegate.h"
-#include "ui/views/controls/webview/webview.h"
-#include "ui/views/layout/fill_layout.h"
-
-namespace app_list {
-
-SigninView::SigninView(SigninDelegate* delegate)
- : web_view_(new views::WebView(NULL)), delegate_(delegate) {
- SetLayoutManager(new views::FillLayout());
- AddChildView(web_view_);
-}
-
-SigninView::~SigninView() {
- web_view_->SetWebContents(NULL);
-}
-
-void SigninView::BeginSignin() {
- if (!delegate_)
- return;
-
- web_contents_.reset(delegate_->PrepareForSignin());
- web_view_->SetWebContents(web_contents_.get());
-}
-
-} // namespace app_list
« no previous file with comments | « ui/app_list/views/signin_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698