Index: chrome/browser/ui/extensions/native_shell_window.h |
diff --git a/chrome/browser/ui/extensions/native_shell_window.h b/chrome/browser/ui/extensions/native_shell_window.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fa0da4f53ced9b1c2d982bedf86f0f331fd611f7 |
--- /dev/null |
+++ b/chrome/browser/ui/extensions/native_shell_window.h |
@@ -0,0 +1,28 @@ |
+// 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_WINDOW_H_ |
+#define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_ |
+ |
+#include "chrome/browser/ui/extensions/shell_window.h" |
+#include "chrome/browser/ui/base_window.h" |
+ |
+class NativeShellWindow : public BaseWindow { |
+ public: |
tfarina
2012/08/09 16:27:45
missing virtual destructor?
jeremya
2012/08/09 23:59:53
Done.
|
+ // Used by ShellWindow to instantiate the platform-specific ShellWindow code. |
+ static NativeShellWindow* Create(ShellWindow* window, |
+ const ShellWindow::CreateParams& params); |
+ |
+ // Called when the title of the window changes. |
+ virtual void UpdateWindowTitle() = 0; |
+ |
+ // Called when the draggable regions are changed. |
+ virtual void UpdateDraggableRegions( |
+ const std::vector<extensions::DraggableRegion>& regions) {} |
+ |
+ virtual void SetFullscreen(bool fullscreen) = 0; |
+ virtual bool IsFullscreenOrPending() const = 0; |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_ |