Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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_UI_EXTENSIONS_NATIVE_SHELL_FRAME_H_ | |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_FRAME_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace views { | |
| 10 class NativeWidget; | |
|
Ben Goodger (Google)
2012/01/26 23:03:45
outdent
| |
| 11 class Widget; | |
| 12 } | |
| 13 | |
| 14 class NativeShellFrame { | |
| 15 public: | |
| 16 virtual ~NativeShellFrame() {} | |
| 17 | |
| 18 // Construct a platform-specific implementation of this interface. | |
| 19 static NativeShellFrame* CreateNativeShellFrame( | |
| 20 views::Widget* container); | |
| 21 | |
| 22 virtual views::NativeWidget* AsNativeWidget() = 0; | |
| 23 virtual const views::NativeWidget* AsNativeWidget() const = 0; | |
| 24 }; | |
| 25 | |
| 26 #endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_FRAME_H_ | |
| OLD | NEW |