summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_impl_android.cc
blob: 6f9c770010953cb593495d7aaadf926a57d216c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 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 "content/renderer/render_view_impl.h"

#include "base/command_line.h"
#include "base/message_loop.h"
#include "cc/layer_tree_host.h"
#include "content/renderer/gpu/render_widget_compositor.h"

namespace content {

void RenderViewImpl::OnEnableHidingTopControls(bool enable) {
  DCHECK(compositor_);
  if (compositor_) {
    compositor_->EnableHidingTopControls(enable);
  }
}

}  // namespace content