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

Side by Side Diff: ash/shell/launcher_delegate_impl.cc

Issue 24076002: Disallowing shelf changes via drag & drop if the enterprise profile does not allow changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/launcher_delegate_impl.h ('k') | ash/test/test_launcher_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 #include "ash/shell/launcher_delegate_impl.h" 5 #include "ash/shell/launcher_delegate_impl.h"
6 6
7 #include "ash/launcher/launcher_item_delegate_manager.h" 7 #include "ash/launcher/launcher_item_delegate_manager.h"
8 #include "ash/launcher/launcher_util.h" 8 #include "ash/launcher/launcher_util.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/shell/toplevel_window.h" 10 #include "ash/shell/toplevel_window.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 return EmptyString(); 80 return EmptyString();
81 } 81 }
82 82
83 void LauncherDelegateImpl::PinAppWithID(const std::string& app_id) { 83 void LauncherDelegateImpl::PinAppWithID(const std::string& app_id) {
84 } 84 }
85 85
86 bool LauncherDelegateImpl::IsAppPinned(const std::string& app_id) { 86 bool LauncherDelegateImpl::IsAppPinned(const std::string& app_id) {
87 return false; 87 return false;
88 } 88 }
89 89
90 bool LauncherDelegateImpl::CanPin() const {
91 return false;
James Cook 2013/09/09 23:14:09 Should this be "true"? I think this class is used
92 }
93
90 void LauncherDelegateImpl::UnpinAppWithID(const std::string& app_id) { 94 void LauncherDelegateImpl::UnpinAppWithID(const std::string& app_id) {
91 } 95 }
92 96
93 } // namespace shell 97 } // namespace shell
94 } // namespace ash 98 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/launcher_delegate_impl.h ('k') | ash/test/test_launcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698