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

Side by Side Diff: ash/shell_delegate.h

Issue 9132004: Makes Ctrl-Shift-L work in AppList (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed accelerator_table 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell/shell_main.cc ('k') | ash/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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // The Shell owns the delegate. 49 // The Shell owns the delegate.
50 virtual ~ShellDelegate() {} 50 virtual ~ShellDelegate() {}
51 51
52 // Invoked when the user clicks on button in the launcher to create a new 52 // Invoked when the user clicks on button in the launcher to create a new
53 // window. 53 // window.
54 virtual void CreateNewWindow() = 0; 54 virtual void CreateNewWindow() = 0;
55 55
56 // Invoked to create a new status area. Can return NULL. 56 // Invoked to create a new status area. Can return NULL.
57 virtual views::Widget* CreateStatusArea() = 0; 57 virtual views::Widget* CreateStatusArea() = 0;
58 58
59 #if defined(OS_CHROMEOS)
60 // Invoked when a user uses Ctrl-Shift-L to lock the screen.
61 virtual void LockScreen() = 0;
62 #endif
63
59 // Invoked to ask the delegate to populate the |model|. 64 // Invoked to ask the delegate to populate the |model|.
60 virtual void BuildAppListModel(AppListModel* model) = 0; 65 virtual void BuildAppListModel(AppListModel* model) = 0;
61 66
62 // Invoked to create an AppListViewDelegate. Shell takes the ownership of 67 // Invoked to create an AppListViewDelegate. Shell takes the ownership of
63 // the created delegate. 68 // the created delegate.
64 virtual AppListViewDelegate* CreateAppListViewDelegate() = 0; 69 virtual AppListViewDelegate* CreateAppListViewDelegate() = 0;
65 70
66 // Returns a list of windows to cycle with keyboard shortcuts (e.g. alt-tab 71 // Returns a list of windows to cycle with keyboard shortcuts (e.g. alt-tab
67 // or the window switching key). If |order_by_activity| is true then windows 72 // or the window switching key). If |order_by_activity| is true then windows
68 // are returned in most-recently-used order with the currently active window 73 // are returned in most-recently-used order with the currently active window
(...skipping 12 matching lines...) Expand all
81 virtual bool ConfigureLauncherItem(LauncherItem* item) = 0; 86 virtual bool ConfigureLauncherItem(LauncherItem* item) = 0;
82 87
83 // Returns the resource id of the image to show on the browser shortcut 88 // Returns the resource id of the image to show on the browser shortcut
84 // button. 89 // button.
85 virtual int GetBrowserShortcutResourceId() = 0; 90 virtual int GetBrowserShortcutResourceId() = 0;
86 }; 91 };
87 92
88 } // namespace ash 93 } // namespace ash
89 94
90 #endif // ASH_SHELL_DELEGATE_H_ 95 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_main.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698