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

Side by Side Diff: ui/aura_shell/shell_delegate.h

Issue 8957012: Another set of icons for the launcher. The chrome logo now shows the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura_shell/launcher/launcher_view.cc ('k') | ui/aura_shell/test/test_shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_SHELL_SHELL_DELEGATE_H_ 5 #ifndef UI_AURA_SHELL_SHELL_DELEGATE_H_
6 #define UI_AURA_SHELL_SHELL_DELEGATE_H_ 6 #define UI_AURA_SHELL_SHELL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "ui/aura_shell/aura_shell_export.h" 10 #include "ui/aura_shell/aura_shell_export.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const gfx::Rect& bounds, 43 const gfx::Rect& bounds,
44 const SetWidgetCallback& callback) = 0; 44 const SetWidgetCallback& callback) = 0;
45 45
46 // Invoked when the user clicks on a window entry in the launcher. 46 // Invoked when the user clicks on a window entry in the launcher.
47 virtual void LauncherItemClicked(const LauncherItem& item) = 0; 47 virtual void LauncherItemClicked(const LauncherItem& item) = 0;
48 48
49 // Invoked when a window is added. If the delegate wants the launcher to show 49 // Invoked when a window is added. If the delegate wants the launcher to show
50 // an entry for |item->window| it should configure |item| appropriately and 50 // an entry for |item->window| it should configure |item| appropriately and
51 // return true. 51 // return true.
52 virtual bool ConfigureLauncherItem(LauncherItem* item) = 0; 52 virtual bool ConfigureLauncherItem(LauncherItem* item) = 0;
53
54 // Returns the resource id of the image to show on the button that creates a
55 // new browser window.
56 virtual int GetResourceIDForNewBrowserWindow() = 0;
57 }; 53 };
58 } // namespace aura_shell 54 } // namespace aura_shell
59 55
60 #endif // UI_AURA_SHELL_SHELL_DELEGATE_H_ 56 #endif // UI_AURA_SHELL_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/launcher/launcher_view.cc ('k') | ui/aura_shell/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698