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

Unified Diff: chrome/browser/ui/extensions/native_shell_frame.h

Issue 9254046: Custom frame UI for platform apps on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/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;
+ 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_

Powered by Google App Engine
This is Rietveld 408576698