/external/chromium_org/chrome/browser/ui/views/frame/ |
immersive_mode_controller.cc | 11 FOR_EACH_OBSERVER(Observer, observers_, OnImmersiveModeControllerDestroyed()); 14 void ImmersiveModeController::AddObserver(Observer* observer) { 15 observers_.AddObserver(observer); 18 void ImmersiveModeController::RemoveObserver(Observer* observer) { 19 observers_.RemoveObserver(observer);
|
/external/chromium_org/ash/first_run/ |
first_run_helper.cc | 12 void FirstRunHelper::AddObserver(Observer* observer) { 13 observers_.AddObserver(observer); 16 void FirstRunHelper::RemoveObserver(Observer* observer) { 17 observers_.RemoveObserver(observer);
|
/external/chromium_org/webkit/browser/quota/ |
special_storage_policy.cc | 9 SpecialStoragePolicy::Observer::~Observer() {} 15 void SpecialStoragePolicy::AddObserver(Observer* observer) { 16 observers_.AddObserver(observer); 19 void SpecialStoragePolicy::RemoveObserver(Observer* observer) { 20 observers_.RemoveObserver(observer); 25 FOR_EACH_OBSERVER(Observer, observers_, OnGranted(origin, change_flags)); 30 FOR_EACH_OBSERVER(Observer, observers_, OnRevoked(origin, change_flags)) [all...] |
/external/chromium_org/ash/system/tray/ |
system_tray_notifier.cc | 23 AccessibilityObserver* observer) { 24 accessibility_observers_.AddObserver(observer); 28 AccessibilityObserver* observer) { 29 accessibility_observers_.RemoveObserver(observer); 32 void SystemTrayNotifier::AddBluetoothObserver(BluetoothObserver* observer) { 33 bluetooth_observers_.AddObserver(observer); 36 void SystemTrayNotifier::RemoveBluetoothObserver(BluetoothObserver* observer) { 37 bluetooth_observers_.RemoveObserver(observer); 40 void SystemTrayNotifier::AddCapsLockObserver(CapsLockObserver* observer) { 41 caps_lock_observers_.AddObserver(observer); [all...] |
system_tray_notifier.h | 44 void AddAccessibilityObserver(AccessibilityObserver* observer); 45 void RemoveAccessibilityObserver(AccessibilityObserver* observer); 47 void AddBluetoothObserver(BluetoothObserver* observer); 48 void RemoveBluetoothObserver(BluetoothObserver* observer); 50 void AddCapsLockObserver(CapsLockObserver* observer); 51 void RemoveCapsLockObserver(CapsLockObserver* observer); 53 void AddClockObserver(ClockObserver* observer); 54 void RemoveClockObserver(ClockObserver* observer); 56 void AddDriveObserver(DriveObserver* observer); 57 void RemoveDriveObserver(DriveObserver* observer); [all...] |
/external/chromium/chrome/browser/net/ |
load_timing_observer_unittest.cc | 34 void AddStartEntry(LoadTimingObserver& observer, 38 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_BEGIN, params); 41 void AddEndEntry(LoadTimingObserver& observer, 45 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_END, params); 48 void AddStartURLRequestEntries(LoadTimingObserver& observer, 58 AddStartEntry(observer, source, NetLog::TYPE_REQUEST_ALIVE, NULL); 59 AddStartEntry(observer, 65 void AddEndURLRequestEntries(LoadTimingObserver& observer, uint32 id) { 67 AddEndEntry(observer, source, NetLog::TYPE_REQUEST_ALIVE, NULL); 68 AddEndEntry(observer, 142 LoadTimingObserver observer; local 152 LoadTimingObserver observer; local 174 LoadTimingObserver observer; local 195 LoadTimingObserver observer; local 216 LoadTimingObserver observer; local 238 LoadTimingObserver observer; local 249 LoadTimingObserver observer; local 268 LoadTimingObserver observer; local 293 LoadTimingObserver observer; local 326 LoadTimingObserver observer; local 352 LoadTimingObserver observer; local 378 LoadTimingObserver observer; local [all...] |
/external/chromium/chrome/browser/policy/ |
dummy_configuration_policy_provider.cc | 15 FOR_EACH_OBSERVER(ConfigurationPolicyProvider::Observer, 26 ConfigurationPolicyProvider::Observer* observer) { 27 observer_list_.AddObserver(observer); 31 ConfigurationPolicyProvider::Observer* observer) { 32 observer_list_.RemoveObserver(observer);
|
/external/chromium/chrome/browser/status_icons/ |
status_icon.cc | 16 void StatusIcon::AddObserver(Observer* observer) { 17 observers_.AddObserver(observer); 20 void StatusIcon::RemoveObserver(Observer* observer) { 21 observers_.RemoveObserver(observer); 29 FOR_EACH_OBSERVER(Observer, observers_, OnClicked());
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_observable_provider.cc | 19 void ObservableProvider::AddObserver(Observer* observer) { 20 observer_list_.AddObserver(observer); 23 void ObservableProvider::RemoveObserver(Observer* observer) { 24 observer_list_.RemoveObserver(observer); 32 FOR_EACH_OBSERVER(Observer,
|
/external/chromium_org/chromeos/dbus/ |
system_clock_client.h | 18 class Observer { 23 virtual ~Observer() {} 28 // Adds and removes the observer. 29 virtual void AddObserver(Observer* observer) = 0; 30 virtual void RemoveObserver(Observer* observer) = 0; 31 // Returns true if this object has the given observer. 32 virtual bool HasObserver(Observer* observer) = 0 [all...] |
fake_system_clock_client.cc | 18 void FakeSystemClockClient::AddObserver(Observer* observer) { 21 void FakeSystemClockClient::RemoveObserver(Observer* observer) { 24 bool FakeSystemClockClient::HasObserver(Observer* observer) {
|
fake_system_clock_client.h | 20 virtual void AddObserver(Observer* observer) OVERRIDE; 21 virtual void RemoveObserver(Observer* observer) OVERRIDE; 22 virtual bool HasObserver(Observer* observer) OVERRIDE;
|
/frameworks/base/core/java/android/database/ |
Observable.java | 27 * @param T The observer type. 31 * The list of observers. An observer can be in the list at most 37 * Adds an observer to the list. The observer cannot be null and it must not already 39 * @param observer the observer to register 40 * @throws IllegalArgumentException the observer is null 41 * @throws IllegalStateException the observer is already registered 43 public void registerObserver(T observer) { 44 if (observer == null) [all...] |
/external/chromium_org/net/cert/ |
cert_database.cc | 17 void CertDatabase::AddObserver(Observer* observer) { 18 observer_list_->AddObserver(observer); 21 void CertDatabase::RemoveObserver(Observer* observer) { 22 observer_list_->RemoveObserver(observer); 26 observer_list_->Notify(&Observer::OnCertAdded, make_scoped_refptr(cert)); 30 observer_list_->Notify(&Observer::OnCertRemoved, make_scoped_refptr(cert)); 36 &Observer::OnCACertChanged, make_scoped_refptr(cert));
|
/external/chromium/chrome/browser/ui/webui/options/ |
font_settings_fonts_list_loader.h | 20 // Any clients of this class must implement this observer interface in 22 class Observer { 27 virtual ~Observer() {} 30 // Pass in an observer, often 'this'. 31 explicit FontSettingsFontsListLoader(Observer* observer); 37 // Start loading of the fonts list. The observer will be notified when this 41 // Set the observer. This class does not take ownership of the observer. 42 // The observer can be NULL [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
ApplicationLifetime.java | 13 public interface Observer { 16 private static Observer sObserver = null; 19 * Sets the observer that monitors for ApplicationLifecycle events. 20 * We only allow one observer to be set to avoid race conditions for shutdown events. 22 public static void setObserver(Observer observer) { 24 sObserver = observer; 28 * Removes whatever observer is currently watching this class.
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
mock_candidate_window_controller.cc | 20 CandidateWindowController::Observer* observer) { 22 observers_.AddObserver(observer); 26 CandidateWindowController::Observer* observer) { 28 observers_.RemoveObserver(observer); 36 FOR_EACH_OBSERVER(CandidateWindowController::Observer, observers_, 41 FOR_EACH_OBSERVER(CandidateWindowController::Observer, observers_,
|
/external/chromium_org/components/policy/core/common/ |
schema_registry_unittest.cc | 42 class MockSchemaRegistryObserver : public SchemaRegistry::Observer { 58 MockSchemaRegistryObserver observer; local 61 registry.AddObserver(&observer); 68 EXPECT_CALL(observer, OnSchemaRegistryUpdated(true)); 71 Mock::VerifyAndClearExpectations(&observer); 75 EXPECT_CALL(observer, OnSchemaRegistryUpdated(true)); 78 Mock::VerifyAndClearExpectations(&observer); 83 EXPECT_CALL(observer, OnSchemaRegistryUpdated(false)); 86 Mock::VerifyAndClearExpectations(&observer); 96 EXPECT_CALL(observer, OnSchemaRegistryUpdated(true)) 106 MockSchemaRegistryObserver observer; local 136 MockSchemaRegistryObserver observer; local [all...] |
/external/chromium_org/chrome/browser/chromeos/net/ |
network_portal_detector_test_impl.cc | 37 FOR_EACH_OBSERVER(Observer, observers_, 41 void NetworkPortalDetectorTestImpl::AddObserver(Observer* observer) { 42 if (observer && !observers_.HasObserver(observer)) 43 observers_.AddObserver(observer); 46 void NetworkPortalDetectorTestImpl::AddAndFireObserver(Observer* observer) { 47 AddObserver(observer); 48 if (!observer) [all...] |
/external/chromium_org/content/public/browser/ |
browser_child_process_observer.cc | 12 void BrowserChildProcessObserver::Add(BrowserChildProcessObserver* observer) { 13 BrowserChildProcessHostImpl::AddObserver(observer); 18 BrowserChildProcessObserver* observer) { 19 BrowserChildProcessHostImpl::RemoveObserver(observer);
|
/external/chromium_org/device/bluetooth/test/ |
mock_bluetooth_adapter.cc | 9 MockBluetoothAdapter::Observer::Observer() {} 10 MockBluetoothAdapter::Observer::~Observer() {}
|
/external/chromium/chrome/browser/chromeos/ |
wm_message_listener.h | 23 // To listen for window manager messages add an observer. 24 class WmMessageListener : public MessageLoopForUI::Observer { 26 // Observer is notified any time a message is received from the window 28 class Observer { 36 void AddObserver(Observer* observer) { 37 observers_.AddObserver(observer); 40 void RemoveObserver(Observer* observer) { 41 observers_.RemoveObserver(observer); [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/ |
leak-cycle-observer-wrapper.html | 4 Tests that reference cycles between the observer and the callback do not 13 var observer = new WebKitMutationObserver(function() { observer.disconnect(); });
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
Observable.java | 28 private final ArrayList<Observer> mObservers; 29 private Iterator<Observer> mIterator; 32 mObservers = new ArrayList<Observer>(); 44 * Attach an observer to this object. 46 * @param observer The observer object to be attached to. 48 public void attach(Observer observer) { 49 mObservers.add(observer); 53 * Detach an observer from this object [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
brightness_library.h | 15 class Observer { 22 virtual void AddObserver(Observer* observer) = 0; 23 virtual void RemoveObserver(Observer* observer) = 0;
|