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

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: Rebase 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ~ShelfDelegateStub() override {} 106 ~ShelfDelegateStub() override {}
107 107
108 // ShelfDelegate overrides: 108 // ShelfDelegate overrides:
109 void OnShelfCreated(WmShelf* shelf) override {} 109 void OnShelfCreated(WmShelf* shelf) override {}
110 void OnShelfDestroyed(WmShelf* shelf) override {} 110 void OnShelfDestroyed(WmShelf* shelf) override {}
111 void OnShelfAlignmentChanged(WmShelf* shelf) override {} 111 void OnShelfAlignmentChanged(WmShelf* shelf) override {}
112 void OnShelfAutoHideBehaviorChanged(WmShelf* shelf) override {} 112 void OnShelfAutoHideBehaviorChanged(WmShelf* shelf) override {}
113 void OnShelfAutoHideStateChanged(WmShelf* shelf) override {} 113 void OnShelfAutoHideStateChanged(WmShelf* shelf) override {}
114 void OnShelfVisibilityStateChanged(WmShelf* shelf) override {} 114 void OnShelfVisibilityStateChanged(WmShelf* shelf) override {}
115 ShelfID GetShelfIDForAppID(const std::string& app_id) override { return 0; } 115 ShelfID GetShelfIDForAppID(const std::string& app_id) override { return 0; }
116 ShelfID GetShelfIDForAppIDAndLaunchID(const std::string& app_id,
117 const std::string& launch_id) override {
118 return 0;
119 }
116 bool HasShelfIDToAppIDMapping(ShelfID id) const override { return false; } 120 bool HasShelfIDToAppIDMapping(ShelfID id) const override { return false; }
117 const std::string& GetAppIDForShelfID(ShelfID id) override { 121 const std::string& GetAppIDForShelfID(ShelfID id) override {
118 return base::EmptyString(); 122 return base::EmptyString();
119 } 123 }
120 void PinAppWithID(const std::string& app_id) override {} 124 void PinAppWithID(const std::string& app_id) override {}
121 bool IsAppPinned(const std::string& app_id) override { return false; } 125 bool IsAppPinned(const std::string& app_id) override { return false; }
122 void UnpinAppWithID(const std::string& app_id) override {} 126 void UnpinAppWithID(const std::string& app_id) override {}
123 127
124 private: 128 private:
125 DISALLOW_COPY_AND_ASSIGN(ShelfDelegateStub); 129 DISALLOW_COPY_AND_ASSIGN(ShelfDelegateStub);
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 NOTIMPLEMENTED(); 248 NOTIMPLEMENTED();
245 return base::string16(); 249 return base::string16();
246 } 250 }
247 251
248 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { 252 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const {
249 NOTIMPLEMENTED(); 253 NOTIMPLEMENTED();
250 return gfx::Image(); 254 return gfx::Image();
251 } 255 }
252 256
253 } // namespace ash 257 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698