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

Unified Diff: chrome/browser/ui/views/extensions/app_window_views.h

Issue 11280173: Rename ShellWindow* classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac build Created 8 years, 1 month 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/views/extensions/app_window_views.h
diff --git a/chrome/browser/ui/views/extensions/app_window_views.h b/chrome/browser/ui/views/extensions/app_window_views.h
new file mode 100644
index 0000000000000000000000000000000000000000..a70d25b933ff09afb9970ccea64e1bec28d59d41
--- /dev/null
+++ b/chrome/browser/ui/views/extensions/app_window_views.h
@@ -0,0 +1,30 @@
+// 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_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_
+#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_
+
+#include "chrome/browser/ui/views/extensions/app_base_window_views.h"
+
+// AppBaseWindowViews implementation for default app windows
+// (app window type = "shell")
+class AppWindowViews : public AppBaseWindowViews {
+ public:
+ AppWindowViews(ShellWindow* shell_window,
+ const ShellWindow::CreateParams& params);
+ virtual ~AppWindowViews();
+
+ // WidgetDelegate implementation.
+ virtual views::NonClientFrameView* CreateNonClientFrameView(
+ views::Widget* widget) OVERRIDE;
+
+ // AppBaseWindowViews implementation.
+ virtual void InitializeWindow(const gfx::Rect& initial_bounds) OVERRIDE;
+ virtual void OnViewWasResized() OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AppWindowViews);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_

Powered by Google App Engine
This is Rietveld 408576698