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

Side by Side Diff: chrome/browser/chromeos/frame/dom_browser.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
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/browser/dom_browser.h" 5 #include "chrome/browser/chromeos/frame/dom_browser.h"
6 6
7 #include "chrome/browser/chromeos/webui/login/browser/dom_browser_view.h" 7 #include "chrome/browser/chromeos/frame/dom_browser_view.h"
8 #include "chrome/browser/ui/browser_window.h" 8 #include "chrome/browser/ui/browser_window.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 // DOMBrowser: public ---------------------------------------------------------- 12 // DOMBrowser: public ----------------------------------------------------------
13 13
14 DOMBrowser::DOMBrowser(Profile* profile) 14 DOMBrowser::DOMBrowser(Profile* profile)
15 : Browser(Browser::TYPE_NORMAL, profile) { 15 : Browser(Browser::TYPE_NORMAL, profile) {
16 } 16 }
17 17
18 DOMBrowser::~DOMBrowser() { 18 DOMBrowser::~DOMBrowser() {
19 } 19 }
20 20
21 // static 21 // static
22 DOMBrowser* DOMBrowser::CreateForDOM(Profile* profile) { 22 DOMBrowser* DOMBrowser::CreateForDOM(Profile* profile) {
23 DOMBrowser* browser = new DOMBrowser(profile); 23 DOMBrowser* browser = new DOMBrowser(profile);
24 browser->InitBrowserWindow(); 24 browser->InitBrowserWindow();
25 return browser; 25 return browser;
26 } 26 }
27 27
28 BrowserWindow* DOMBrowser::CreateBrowserWindow() { 28 BrowserWindow* DOMBrowser::CreateBrowserWindow() {
29 return DOMBrowserView::CreateDOMWindow(this); 29 return DOMBrowserView::CreateDOMWindow(this);
30 } 30 }
31 31
32 32
33 } // namespace chromeos 33 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/dom_browser.h ('k') | chrome/browser/chromeos/frame/dom_browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698