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

Side by Side Diff: blimp/client/core/contents/blimp_contents_manager.h

Issue 2201433002: Migrate TabControlFeature from 0.5 to 0.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_MANAGER_H_
6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_MANAGER_H_
7
8 #include "blimp/client/core/contents/blimp_contents_impl.h"
9
10 namespace blimp {
11 namespace client {
12
13 class BlimpContentsManager {
14 public:
15 BlimpContentsManager();
16 ~BlimpContentsManager();
17
18 std::unique_ptr<BlimpContentsImpl> CreateBlimpContents();
19 BlimpContentsImpl* GetBlimpContents(int id);
20
21 private:
22 class BlimpContentsDeletionObserver;
23
24 int CreateBlimpContentsId();
25 void EraseObserverFromMap(int id);
26
27 std::map<int, std::unique_ptr<BlimpContentsDeletionObserver>> observer_map_;
David Trainor- moved to gerrit 2016/08/03 18:55:43 Can this just be BlimpContentsObserver? Then you
Menglin 2016/08/03 19:25:48 There is an existing BlimpContentsObserver blimp/c
Menglin 2016/08/03 23:49:59 Actually as i looked at the code again. I think fi
David Trainor- moved to gerrit 2016/08/04 16:21:18 Hmm maybe put this back in the cc file and make it
28
29 DISALLOW_COPY_AND_ASSIGN(BlimpContentsManager);
30 };
31
32 } // namespace client
33 } // namespace blimp
34
35 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698