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. 4 5 package org.chromium.chrome.shell; 6 7 import android.content.Intent; 8 9 /** 10 * Monitors events happening in {@link ChromeShellApplication}. 11 */ 12 public interface ChromeShellApplicationObserver { 13 /** 14 * Called when an Intent is about to be broadcast. 15 * @return Whether or not the Application should really fire the broadcast. 16 */ onSendBroadcast(Intent intent)17 public boolean onSendBroadcast(Intent intent); 18 } 19