blob: 50f554901fc37eba805e6617629830f507f0b651 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views_lacros.h"
#include "chrome/browser/lacros/immersive_context_lacros.h"
#include "chrome/browser/lacros/snap_controller_lacros.h"
#include "chromeos/ui/base/tablet_state.h"
ChromeBrowserMainExtraPartsViewsLacros::
ChromeBrowserMainExtraPartsViewsLacros() = default;
ChromeBrowserMainExtraPartsViewsLacros::
~ChromeBrowserMainExtraPartsViewsLacros() = default;
void ChromeBrowserMainExtraPartsViewsLacros::PreProfileInit() {
immersive_context_ = std::make_unique<ImmersiveContextLacros>();
snap_controller_ = std::make_unique<SnapControllerLacros>();
tablet_state_ = std::make_unique<chromeos::TabletState>();
ChromeBrowserMainExtraPartsViews::PreProfileInit();
}