| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_DOM_BROWSER_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_FRAME_DOM_BROWSER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/basictypes.h" | |
| 10 #include "chrome/browser/ui/browser.h" | |
| 11 | |
| 12 class Profile; | |
| 13 | |
| 14 namespace chromeos { | |
| 15 | |
| 16 // DOMBrowser is an alternate implementation of Browser that is used to display | |
| 17 // DOM login screens. These screens in addition to having a webpage in a DOMView | |
| 18 // also display the Status Area and the touch enabled keyboard. | |
| 19 // TODO(rharrison): Add support for OOBE and screen lock DOM screens. | |
| 20 class DOMBrowser : public Browser { | |
| 21 public: | |
| 22 explicit DOMBrowser(Profile* profile); | |
| 23 virtual ~DOMBrowser(); | |
| 24 | |
| 25 // This is a factory method for creating a DOMBrowser. It is based off of the | |
| 26 // CreateFor* methods from the Browser class. | |
| 27 static DOMBrowser* CreateForDOM(Profile* profile); | |
| 28 | |
| 29 protected: | |
| 30 // Creates Window for DOMBrowser. | |
| 31 virtual BrowserWindow* CreateBrowserWindow(); | |
| 32 | |
| 33 private: | |
| 34 DISALLOW_COPY_AND_ASSIGN(DOMBrowser); | |
| 35 }; | |
| 36 | |
| 37 } // namespace chromeos | |
| 38 | |
| 39 #endif // CHROME_BROWSER_CHROMEOS_FRAME_DOM_BROWSER_H_ | |
| OLD | NEW |