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

Side by Side Diff: blimp/engine/common/tab.cc

Issue 2176733003: Add TabManager class, relocate Tab to common/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « blimp/engine/common/tab.h ('k') | blimp/engine/common/tab_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "blimp/engine/common/tab.h"
6
7 #include <utility>
8
9 #include "blimp/engine/common/page_load_tracker.h"
10 #include "content/public/browser/web_contents.h"
11
12 namespace blimp {
13 namespace engine {
14
15 Tab::Tab(int id, std::unique_ptr<content::WebContents> web_contents)
16 : web_contents_(std::move(web_contents)), id_(id) {}
17
18 Tab::~Tab() {}
19
20 } // namespace engine
21 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/common/tab.h ('k') | blimp/engine/common/tab_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698