root/chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. Init
  2. SetEnabled
  3. IsEnabled
  4. ShouldHideTabIndicators
  5. ShouldHideTopViews
  6. IsRevealed
  7. GetTopContainerVerticalOffset
  8. GetRevealedLock
  9. OnFindBarVisibleBoundsChanged
  10. SetupForTest

// Copyright 2013 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/frame/immersive_mode_controller_stub.h"

#include "base/logging.h"

ImmersiveModeControllerStub::ImmersiveModeControllerStub() {
}

ImmersiveModeControllerStub::~ImmersiveModeControllerStub() {
}

void ImmersiveModeControllerStub::Init(BrowserView* browser_view) {
}

void ImmersiveModeControllerStub::SetEnabled(bool enabled) {
  NOTREACHED();
}

bool ImmersiveModeControllerStub::IsEnabled() const {
  return false;
}

bool ImmersiveModeControllerStub::ShouldHideTabIndicators() const {
  return false;
}

bool ImmersiveModeControllerStub::ShouldHideTopViews() const {
  return false;
}

bool ImmersiveModeControllerStub::IsRevealed() const {
  return false;
}

int ImmersiveModeControllerStub::GetTopContainerVerticalOffset(
    const gfx::Size& top_container_size) const {
  return 0;
}

ImmersiveRevealedLock* ImmersiveModeControllerStub::GetRevealedLock(
    AnimateReveal animate_reveal) {
  return NULL;
}

void ImmersiveModeControllerStub::OnFindBarVisibleBoundsChanged(
    const gfx::Rect& new_visible_bounds_in_screen) {
}

void ImmersiveModeControllerStub::SetupForTest() {
}

/* [<][>][^][v][top][bottom][index][help] */