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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 26 matching lines...) Expand all
37 #include "content/public/browser/web_contents.h" 37 #include "content/public/browser/web_contents.h"
38 #include "grit/generated_resources.h" 38 #include "grit/generated_resources.h"
39 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
40 40
41 #if defined(USE_AURA) 41 #if defined(USE_AURA)
42 #include "ash/shell.h" 42 #include "ash/shell.h"
43 #include "ash/wm/power_button_controller.h" 43 #include "ash/wm/power_button_controller.h"
44 #endif 44 #endif
45 45
46 using content::BrowserThread; 46 using content::BrowserThread;
47 using content::RenderViewHost;
47 48
48 namespace { 49 namespace {
49 50
50 const char kDefaultDomain[] = "@gmail.com"; 51 const char kDefaultDomain[] = "@gmail.com";
51 52
52 // Account picker screen id. 53 // Account picker screen id.
53 const char kAccountPickerScreen[] = "account-picker"; 54 const char kAccountPickerScreen[] = "account-picker";
54 // Sign in screen id for GAIA extension hosted content. 55 // Sign in screen id for GAIA extension hosted content.
55 const char kGaiaSigninScreen[] = "gaia-signin"; 56 const char kGaiaSigninScreen[] = "gaia-signin";
56 // Start page of GAIA authentication extension. 57 // Start page of GAIA authentication extension.
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 943
943 cookie_remover_ = new BrowsingDataRemover( 944 cookie_remover_ = new BrowsingDataRemover(
944 Profile::FromWebUI(web_ui()), 945 Profile::FromWebUI(web_ui()),
945 BrowsingDataRemover::EVERYTHING, 946 BrowsingDataRemover::EVERYTHING,
946 base::Time()); 947 base::Time());
947 cookie_remover_->AddObserver(this); 948 cookie_remover_->AddObserver(this);
948 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA); 949 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA);
949 } 950 }
950 951
951 } // namespace chromeos 952 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698