Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / components / view_manager / test_server_view_delegate.cc
blobfb4c37a18370ead20dd77cba526fa3c139ebd583
1 // Copyright 2014 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.
5 #include "components/view_manager/test_server_view_delegate.h"
6 #include "components/view_manager/server_view.h"
8 namespace view_manager {
10 TestServerViewDelegate::TestServerViewDelegate() : root_view_(nullptr) {
13 TestServerViewDelegate::~TestServerViewDelegate() {
16 void TestServerViewDelegate::PrepareToDestroyView(ServerView* view) {
19 void TestServerViewDelegate::PrepareToChangeViewHierarchy(
20 ServerView* view,
21 ServerView* new_parent,
22 ServerView* old_parent) {
25 void TestServerViewDelegate::PrepareToChangeViewVisibility(ServerView* view) {
28 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {
31 const ServerView* TestServerViewDelegate::GetRootView(
32 const ServerView* view) const {
33 return root_view_;
36 } // namespace view_manager