This source file includes following definitions.
- Init
- SetEnabled
- IsEnabled
- ShouldHideTabIndicators
- ShouldHideTopViews
- IsRevealed
- GetTopContainerVerticalOffset
- GetRevealedLock
- OnFindBarVisibleBoundsChanged
- SetupForTest
#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() {
}