 Chromium Code Reviews
 Chromium Code Reviews Issue 6692001:
  Add in DOMBrowserView and Frame related classes  (Closed) 
  Base URL: http://git.chromium.org/git/chromium.git@trunk
    
  
    Issue 6692001:
  Add in DOMBrowserView and Frame related classes  (Closed) 
  Base URL: http://git.chromium.org/git/chromium.git@trunk| 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_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "chrome/browser/chromeos/frame/browser_frame_chromeos.h" | |
| 11 | |
| 12 namespace chromeos { | |
| 
oshima
2011/03/16 21:10:25
new line after namspace
 
rharrison
2011/03/17 17:00:50
Done.
 | |
| 13 class DOMBrowserView; | |
| 14 | |
| 15 // DOMBrowserFrame sublasses the standard BrowserFrame used in chromeos, | |
| 16 // BrowserFrameChromeos, so that we can hook in out DOM specific Views for the | |
| 17 // frame. This allows us the ability to omit the parts of the decoration that | |
| 18 // are no desired in in the DOMBrowser. | |
| 19 class DOMBrowserFrame : public BrowserFrameChromeos { | |
| 20 public: | |
| 21 DOMBrowserFrame(DOMBrowserView* browser_view, Profile* profile); | |
| 22 virtual ~DOMBrowserFrame(); | |
| 23 | |
| 24 static BrowserFrame* Create(DOMBrowserView* browser_view, | |
| 25 Profile* profile); | |
| 26 | |
| 27 protected: | |
| 28 // BrowserFrameChromeos overrides: | |
| 29 virtual BrowserNonClientFrameView* CreateBrowserNonClientFrameView(); | |
| 
oshima
2011/03/16 21:10:25
OVERRIDE
 
rharrison
2011/03/17 17:00:50
Done.
 | |
| 30 | |
| 31 private: | |
| 32 DISALLOW_COPY_AND_ASSIGN(DOMBrowserFrame); | |
| 33 }; | |
| 34 | |
| 35 } // namespace chroemos | |
| 36 | |
| 37 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_H_ | |
| OLD | NEW |