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

Unified Diff: chrome/browser/ui/aura/chrome_shell_delegate.h

Issue 8289022: Wires keeping the launcher up to date with the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 2 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/ui/aura/chrome_shell_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/aura/chrome_shell_delegate.h
diff --git a/chrome/browser/ui/aura/chrome_shell_delegate.h b/chrome/browser/ui/aura/chrome_shell_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..c7e7e798fd927a910914986d8d48f8353abe5188
--- /dev/null
+++ b/chrome/browser/ui/aura/chrome_shell_delegate.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 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_AURA_CHROME_SHELL_DELEGATE_H_
+#define CHROME_BROWSER_UI_AURA_CHROME_SHELL_DELEGATE_H_
+#pragma once
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "ui/aura_shell/shell_delegate.h"
+
+class ChromeShellDelegate : public aura_shell::ShellDelegate {
+ public:
+ ChromeShellDelegate();
+ virtual ~ChromeShellDelegate();
+
+ // aura_shell::ShellDelegate overrides;
+ virtual void CreateNewWindow() OVERRIDE;
+ virtual void ShowApps() OVERRIDE;
+ virtual void LauncherItemClicked(
+ const aura_shell::LauncherItem& item) OVERRIDE;
+ virtual bool ConfigureLauncherItem(aura_shell::LauncherItem* item) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
+};
+
+#endif // CHROME_BROWSER_UI_AURA_CHROME_SHELL_DELEGATE_H_
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/ui/aura/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698