Chromium Code Reviews| Index: chrome/browser/chromeos/webui/login/frame/dom_browser_frame.h |
| diff --git a/chrome/browser/chromeos/webui/login/frame/dom_browser_frame.h b/chrome/browser/chromeos/webui/login/frame/dom_browser_frame.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..41b14a1befcae8194c7fe6c710a16141716843b7 |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/webui/login/frame/dom_browser_frame.h |
| @@ -0,0 +1,38 @@ |
| +// Copyright (c) 2011 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. |
| + |
| +#ifndef CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_H_ |
| +#define CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_H_ |
| +#pragma once |
| + |
| +#include "base/compiler_specific.h" |
| +#include "chrome/browser/chromeos/frame/browser_frame_chromeos.h" |
| + |
| +namespace chromeos { |
| + |
| +class DOMBrowserView; |
| + |
| +// DOMBrowserFrame sublasses the standard BrowserFrame used in chromeos, |
| +// BrowserFrameChromeos, so that we can hook in out DOM specific Views for the |
| +// frame. This allows us the ability to omit the parts of the decoration that |
| +// are no desired in in the DOMBrowser. |
| +class DOMBrowserFrame : public BrowserFrameChromeos { |
| + public: |
| + DOMBrowserFrame(DOMBrowserView* browser_view, Profile* profile); |
| + virtual ~DOMBrowserFrame(); |
| + |
| + static BrowserFrame* Create(DOMBrowserView* browser_view, |
| + Profile* profile); |
| + |
| + protected: |
| + // BrowserFrameChromeos overrides: |
| + virtual BrowserNonClientFrameView* CreateBrowserNonClientFrameView() OVERRIDE; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(DOMBrowserFrame); |
| +}; |
| + |
| +} // namespace chroemos |
|
oshima
2011/03/17 18:49:31
chromeos
|
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_H_ |