Chromium Code Reviews| Index: chrome/browser/ui/extensions/native_shell_frame.h |
| diff --git a/chrome/browser/ui/extensions/native_shell_frame.h b/chrome/browser/ui/extensions/native_shell_frame.h |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..fc94d97b5e57897a6cc9edfe89925305f54414c9 |
| --- /dev/null |
| +++ b/chrome/browser/ui/extensions/native_shell_frame.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright (c) 2012 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_UI_EXTENSIONS_NATIVE_SHELL_FRAME_H_ |
| +#define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_FRAME_H_ |
| +#pragma once |
| + |
| +namespace views { |
| + class NativeWidget; |
|
Ben Goodger (Google)
2012/01/26 23:03:45
outdent
|
| + class Widget; |
| +} |
| + |
| +class NativeShellFrame { |
| + public: |
| + virtual ~NativeShellFrame() {} |
| + |
| + // Construct a platform-specific implementation of this interface. |
| + static NativeShellFrame* CreateNativeShellFrame( |
| + views::Widget* container); |
| + |
| + virtual views::NativeWidget* AsNativeWidget() = 0; |
| + virtual const views::NativeWidget* AsNativeWidget() const = 0; |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_FRAME_H_ |