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

Side by Side Diff: ash/mus/shell_delegate_mus.cc

Issue 2290603002: Enhance chrome.app.window API for shelf integration with pinning support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/mus/shell_delegate_mus.h" 5 #include "ash/mus/shell_delegate_mus.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/gpu_support_stub.h" 9 #include "ash/common/gpu_support_stub.h"
10 #include "ash/common/media_delegate.h" 10 #include "ash/common/media_delegate.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ShelfDelegateStub() {} 103 ShelfDelegateStub() {}
104 ~ShelfDelegateStub() override {} 104 ~ShelfDelegateStub() override {}
105 105
106 // ShelfDelegate overrides: 106 // ShelfDelegate overrides:
107 void OnShelfCreated(Shelf* shelf) override {} 107 void OnShelfCreated(Shelf* shelf) override {}
108 void OnShelfDestroyed(Shelf* shelf) override {} 108 void OnShelfDestroyed(Shelf* shelf) override {}
109 void OnShelfAlignmentChanged(Shelf* shelf) override {} 109 void OnShelfAlignmentChanged(Shelf* shelf) override {}
110 void OnShelfAutoHideBehaviorChanged(Shelf* shelf) override {} 110 void OnShelfAutoHideBehaviorChanged(Shelf* shelf) override {}
111 void OnShelfAutoHideStateChanged(Shelf* shelf) override {} 111 void OnShelfAutoHideStateChanged(Shelf* shelf) override {}
112 void OnShelfVisibilityStateChanged(Shelf* shelf) override {} 112 void OnShelfVisibilityStateChanged(Shelf* shelf) override {}
113 ShelfID GetShelfIDForAppID(const std::string& app_id) override { return 0; } 113 ShelfID GetShelfIDForAppID(const std::string& app_id,
114 const std::string& app_shelf_id) override {
115 return 0;
116 }
114 bool HasShelfIDToAppIDMapping(ShelfID id) const override { return false; } 117 bool HasShelfIDToAppIDMapping(ShelfID id) const override { return false; }
115 const std::string& GetAppIDForShelfID(ShelfID id) override { 118 const std::string& GetAppIDForShelfID(ShelfID id) override {
116 return base::EmptyString(); 119 return base::EmptyString();
117 } 120 }
118 void PinAppWithID(const std::string& app_id) override {} 121 void PinAppWithID(const std::string& app_id) override {}
119 bool IsAppPinned(const std::string& app_id) override { return false; } 122 bool IsAppPinned(const std::string& app_id) override { return false; }
120 void UnpinAppWithID(const std::string& app_id) override {} 123 void UnpinAppWithID(const std::string& app_id) override {}
121 124
122 private: 125 private:
123 DISALLOW_COPY_AND_ASSIGN(ShelfDelegateStub); 126 DISALLOW_COPY_AND_ASSIGN(ShelfDelegateStub);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 NOTIMPLEMENTED(); 246 NOTIMPLEMENTED();
244 return base::string16(); 247 return base::string16();
245 } 248 }
246 249
247 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { 250 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const {
248 NOTIMPLEMENTED(); 251 NOTIMPLEMENTED();
249 return gfx::Image(); 252 return gfx::Image();
250 } 253 }
251 254
252 } // namespace ash 255 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698