package com.android.browser.stub;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.ActionMode;
import android.view.ContextMenu;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ContextMenu.ContextMenuInfo;
import com.android.browser.ActivityController;
public class NullController implements ActivityController {
public static NullController INSTANCE = new NullController();
private NullController() {}
@Override
public void start(Intent intent) {
}
@Override
public void onSaveInstanceState(Bundle outState) {
}
@Override
public void handleNewIntent(Intent intent) {
}
@Override
public void onResume() {
}
@Override
public boolean onMenuOpened(int featureId, Menu menu) {
return false;
}
@Override
public void onOptionsMenuClosed(Menu menu) {
}
@Override
public void onContextMenuClosed(Menu menu) {
}
@Override
public void onPause() {
}
@Override
public void onDestroy() {
}
@Override
public void onConfgurationChanged(Configuration newConfig) {
}
@Override
public void onLowMemory() {
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
return false;
}
@Override
public boolean onPrepareOptionsMenu(Menu menu) {
return false;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
return false;
}
@Override
public void onCreateContextMenu(ContextMenu menu, View v,
ContextMenuInfo menuInfo) {
}
@Override
public boolean onContextItemSelected(MenuItem item) {
return false;
}
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
return false;
}
@Override
public boolean onKeyLongPress(int keyCode, KeyEvent event) {
return false;
}
@Override
public boolean onKeyUp(int keyCode, KeyEvent event) {
return false;
}
@Override
public void onActionModeStarted(ActionMode mode) {
}
@Override
public void onActionModeFinished(ActionMode mode) {
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
}
@Override
public boolean onSearchRequested() {
return false;
}
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
return false;
}
@Override
public boolean dispatchKeyShortcutEvent(KeyEvent event) {
return false;
}
@Override
public boolean dispatchTouchEvent(MotionEvent ev) {
return false;
}
@Override
public boolean dispatchTrackballEvent(MotionEvent ev) {
return false;
}
@Override
public boolean dispatchGenericMotionEvent(MotionEvent ev) {
return false;
}
}