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

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

Issue 6726022: Refactored DOMBrowser files to be under chromeos/frame instead of chromeos/webui/login/browser. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/chromeos/frame/dom_browser_view_layout.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/chromeos/webui/login/login_container_ui.h" 5 #include "chrome/browser/chromeos/webui/login/login_container_ui.h"
6 6
7 #include "base/ref_counted_memory.h" 7 #include "base/ref_counted_memory.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "base/string_piece.h" 9 #include "base/string_piece.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/chromeos/webui/login/browser/dom_browser.h" 11 #include "chrome/browser/chromeos/frame/dom_browser.h"
12 #include "chrome/browser/chromeos/webui/login/login_ui_helpers.h" 12 #include "chrome/browser/chromeos/webui/login/login_ui_helpers.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_window.h" 15 #include "chrome/browser/ui/browser_window.h"
16 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
17 #include "content/browser/browser_thread.h" 17 #include "content/browser/browser_thread.h"
18 #include "content/browser/tab_contents/tab_contents.h" 18 #include "content/browser/tab_contents/tab_contents.h"
19 #include "views/screen.h" 19 #include "views/screen.h"
20 20
21 static const char kLoginURL[] = "chrome://login"; 21 static const char kLoginURL[] = "chrome://login";
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 : WebUI(contents) { 80 : WebUI(contents) {
81 LoginContainerUIHandler* handler = new LoginContainerUIHandler(); 81 LoginContainerUIHandler* handler = new LoginContainerUIHandler();
82 AddMessageHandler(handler->Attach(this)); 82 AddMessageHandler(handler->Attach(this));
83 LoginContainerUIHTMLSource* html_source = 83 LoginContainerUIHTMLSource* html_source =
84 new LoginContainerUIHTMLSource(MessageLoop::current()); 84 new LoginContainerUIHTMLSource(MessageLoop::current());
85 85
86 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source); 86 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
87 } 87 }
88 88
89 } // namespace chromeos 89 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/dom_browser_view_layout.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698