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

Unified Diff: chrome/browser/chromeos/webui/login/frame/dom_browser_frame.h

Issue 6692001: Add in DOMBrowserView and Frame related classes (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated CL in response to comments by oshima and rjkroege 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 side-by-side diff with in-line comments
Download patch
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..647258c2017238618fe88e7a923f8f1ec157baaa
--- /dev/null
+++ b/chrome/browser/chromeos/webui/login/frame/dom_browser_frame.h
@@ -0,0 +1,37 @@
+// 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 {
oshima 2011/03/16 21:10:25 new line after namspace
rharrison 2011/03/17 17:00:50 Done.
+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();
oshima 2011/03/16 21:10:25 OVERRIDE
rharrison 2011/03/17 17:00:50 Done.
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DOMBrowserFrame);
+};
+
+} // namespace chroemos
+
+#endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_H_

Powered by Google App Engine
This is Rietveld 408576698