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

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

Issue 2007003002: mash: Preliminary support for shelf auto-hide (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shutdown
Patch Set: rebase Created 4 years, 7 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
« no previous file with comments | « ash/shell/shelf_delegate_impl.h ('k') | ash/system/status_area_widget.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/shelf_delegate_impl.h" 5 #include "ash/shell/shelf_delegate_impl.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 8
9 namespace ash { 9 namespace ash {
10 namespace shell { 10 namespace shell {
11 11
12 ShelfDelegateImpl::ShelfDelegateImpl() {} 12 ShelfDelegateImpl::ShelfDelegateImpl() {}
13 13
14 ShelfDelegateImpl::~ShelfDelegateImpl() {} 14 ShelfDelegateImpl::~ShelfDelegateImpl() {}
15 15
16 void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) {} 16 void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) {}
17 17
18 void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) {} 18 void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) {}
19 19
20 void ShelfDelegateImpl::OnShelfAlignmentChanged(Shelf* shelf) {} 20 void ShelfDelegateImpl::OnShelfAlignmentChanged(Shelf* shelf) {}
21 21
22 void ShelfDelegateImpl::OnShelfAutoHideBehaviorChanged(Shelf* shelf) {} 22 void ShelfDelegateImpl::OnShelfAutoHideBehaviorChanged(Shelf* shelf) {}
23 23
24 void ShelfDelegateImpl::OnShelfAutoHideStateChanged(Shelf* shelf) {}
25
26 void ShelfDelegateImpl::OnShelfVisibilityStateChanged(Shelf* shelf) {}
27
24 ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) { 28 ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) {
25 return 0; 29 return 0;
26 } 30 }
27 31
28 bool ShelfDelegateImpl::HasShelfIDToAppIDMapping(ShelfID id) const { 32 bool ShelfDelegateImpl::HasShelfIDToAppIDMapping(ShelfID id) const {
29 return false; 33 return false;
30 } 34 }
31 35
32 const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) { 36 const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) {
33 return base::EmptyString(); 37 return base::EmptyString();
34 } 38 }
35 39
36 void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) {} 40 void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) {}
37 41
38 bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) { 42 bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) {
39 return false; 43 return false;
40 } 44 }
41 45
42 void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) {} 46 void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) {}
43 47
44 } // namespace shell 48 } // namespace shell
45 } // namespace ash 49 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shelf_delegate_impl.h ('k') | ash/system/status_area_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698