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

Side by Side Diff: ash/test/test_shelf_delegate.h

Issue 107163005: [ash] Add TYPE_DIALOG and its item's LauncherContextMenu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
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 #ifndef ASH_TEST_TEST_SHELF_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SHELF_DELEGATE_H_
6 #define ASH_TEST_TEST_SHELF_DELEGATE_H_ 6 #define ASH_TEST_TEST_SHELF_DELEGATE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 // ShelfDelegate implementation. 39 // ShelfDelegate implementation.
40 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE; 40 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE;
41 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE; 41 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE;
42 virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE; 42 virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE;
43 virtual const std::string& GetAppIDForLauncherID(LauncherID id) OVERRIDE; 43 virtual const std::string& GetAppIDForLauncherID(LauncherID id) OVERRIDE;
44 virtual void PinAppWithID(const std::string& app_id) OVERRIDE; 44 virtual void PinAppWithID(const std::string& app_id) OVERRIDE;
45 virtual bool CanPin() const OVERRIDE; 45 virtual bool CanPin() const OVERRIDE;
46 virtual bool IsAppPinned(const std::string& app_id) OVERRIDE; 46 virtual bool IsAppPinned(const std::string& app_id) OVERRIDE;
47 virtual void UnpinAppWithID(const std::string& app_id) OVERRIDE; 47 virtual void UnpinAppWithID(const std::string& app_id) OVERRIDE;
48 virtual bool CanUserModifyShelfAutoHideBehavior(
49 aura::Window* root_window) const OVERRIDE;
48 50
49 private: 51 private:
50 static TestShelfDelegate* instance_; 52 static TestShelfDelegate* instance_;
51 53
52 ShelfModel* model_; 54 ShelfModel* model_;
53 55
54 DISALLOW_COPY_AND_ASSIGN(TestShelfDelegate); 56 DISALLOW_COPY_AND_ASSIGN(TestShelfDelegate);
55 }; 57 };
56 58
57 } // namespace test 59 } // namespace test
58 } // namespace ash 60 } // namespace ash
59 61
60 #endif // ASH_TEST_TEST_SHELF_DELEGATE_H_ 62 #endif // ASH_TEST_TEST_SHELF_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698