/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
autocomplete_text_field_editor.h | 31 // If it's YES, then we should postpone the call to the observer's 35 // need the observer be aware of the marked text as well. 54 - (AutocompleteTextFieldObserver*)observer;
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_context_menu.h | 12 // Observer for the BookmarkContextMenu. 42 void set_observer(BookmarkContextMenuObserver* observer) { 43 observer_ = observer;
|
bookmark_menu_controller_views.h | 45 // The observer is notified prior to the menu being deleted. 46 class Observer { 51 virtual ~Observer() {} 84 void set_observer(Observer* observer) { observer_ = observer; } 125 // BookmarkContextMenu::Observer methods. 186 // The observer, may be null. 187 Observer* observer_;
|
/external/chromium/chrome/browser/tabs/ |
tab_strip_model_unittest.cc | 402 MockTabStripModelObserver observer; local 403 tabstrip.AddObserver(&observer); 421 EXPECT_EQ(2, observer.GetStateCount()); 424 EXPECT_TRUE(observer.StateEquals(0, s1)); 427 EXPECT_TRUE(observer.StateEquals(1, s2)); 428 observer.ClearStates(); 437 EXPECT_EQ(2, observer.GetStateCount()); 440 EXPECT_TRUE(observer.StateEquals(0, s1)); 443 EXPECT_TRUE(observer.StateEquals(1, s2)); 444 observer.ClearStates() 1686 MockTabStripModelObserver observer; local 1747 MockTabStripModelObserver observer; local 1873 MockTabStripModelObserver observer; local 2191 MockTabStripModelObserver observer; local [all...] |
/dalvik/dx/src/com/android/dx/cf/cst/ |
ConstantPoolParser.java | 69 /** {@code null-ok;} parse observer, if any */ 70 private ParseObserver observer; field in class:ConstantPoolParser 87 * Sets the parse observer for this instance. 89 * @param observer {@code null-ok;} the observer 91 public void setObserver(ParseObserver observer) { 92 this.observer = observer; 131 if (observer != null) { 132 observer.parsed(bytes, 8, 2 [all...] |
/external/chromium/android/content/browser/tab_contents/ |
tab_contents_observer.h | 12 // An observer API implemented by classes which are interested in various page
|
/external/chromium/chrome/browser/extensions/ |
extension_pref_value_map.h | 47 // Observer interface for monitoring ExtensionPrefValueMap. 48 class Observer { 50 virtual ~Observer() {} 116 // Adds an observer and notifies it about the currently stored keys. 117 void AddObserver(Observer* observer); 119 void RemoveObserver(Observer* observer); 160 ObserverList<Observer, true> observers_;
|
extension_pref_value_map.cc | 206 ExtensionPrefValueMap::Observer* observer) { 207 observers_.AddObserver(observer); 209 // Collect all currently used keys and notify the new observer. 217 observer->OnPrefValueChanged(*j); 221 ExtensionPrefValueMap::Observer* observer) { 222 observers_.RemoveObserver(observer); 226 FOR_EACH_OBSERVER(ExtensionPrefValueMap::Observer, observers_, 238 FOR_EACH_OBSERVER(ExtensionPrefValueMap::Observer, observers_ [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_notifier_impl_unittest.cc | 82 NotificationObserverMock observer; local 84 registrar.Add(&observer, NotificationType::PREF_INITIALIZATION_COMPLETED, 86 EXPECT_CALL(observer, Observe( 105 // Re-adding the same observer for the same pref doesn't change anything. 116 // Ensure that we can add the same observer to a different pref. 123 // Ensure that we can add another observer to the same pref. 131 // observer is harmless. 178 // Make sure removing an observer from one pref doesn't affect anything else. 187 // Make sure removing an observer entirely doesn't affect anything else.
|
/external/chromium/chrome/browser/profiles/ |
profile_manager.h | 32 class Observer { 59 // Explicit asynchronous creation of the profile. |observer| is called 60 // when profile is created. If profile has already been created, observer 63 Observer* observer); 66 // created, observer is called immediately. Should be called on the UI thread. 67 static void CreateDefaultProfileAsync(Observer* observer); 132 std::vector<Observer*> observers;
|
/external/chromium/chrome/browser/sessions/ |
tab_restore_service_observer.h | 10 // Observer is notified when the set of entries managed by TabRestoreService
|
/external/chromium/chrome/browser/ui/gtk/infobars/ |
infobar_arrow_model.h | 25 class Observer { 31 explicit InfoBarArrowModel(Observer* observer); 68 Observer* observer_;
|
/external/chromium/chrome/browser/ui/webui/ |
downloads_dom_handler.h | 21 public DownloadManager::Observer, 22 public DownloadItem::Observer { 32 // DownloadItem::Observer interface 36 // DownloadManager::Observer interface
|
/external/webkit/Source/WebCore/workers/ |
WorkerContext.h | 154 // An observer interface to be notified when the worker thread is getting stopped. 155 class Observer { 156 WTF_MAKE_NONCOPYABLE(Observer); 158 Observer(WorkerContext*); 159 virtual ~Observer(); 165 friend class Observer; 166 void registerObserver(Observer*); 167 void unregisterObserver(Observer*); 209 HashSet<Observer*> m_workerObservers;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockCorpora.java | 113 public void registerDataSetObserver(DataSetObserver observer) { 114 mDataSetObservable.registerObserver(observer); 117 public void unregisterDataSetObserver(DataSetObserver observer) { 118 mDataSetObservable.unregisterObserver(observer);
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
AsecTests.java | 564 StorageListener observer = new StorageListener(); local 566 sm.registerListener(observer); 568 // Wait on observer 569 synchronized(observer) { 572 while((!observer.isDone()) && (waitTime < MAX_WAIT_TIME) ) { 573 observer.wait(WAIT_TIME_INCR); 576 if(!observer.isDone()) { 581 sm.unregisterListener(observer); 626 MultipleStorageLis observer = new MultipleStorageLis(); local 633 sm.registerListener(observer); 687 ShutdownObserver observer = new ShutdownObserver(); local 735 ShutdownObserver observer = new ShutdownObserver(); local [all...] |
/external/chromium/base/ |
observer_list_threadsafe.h | 30 // Callbacks to the observer will occur on the same thread where 31 // the observer initially called AddObserver() from. 33 // * Observers can remove themselves from the observer list inside 35 // * If one thread is notifying observers concurrently with an observer 36 // removing itself from the observer list, the notifications will 39 // The drawback of the threadsafe observer list is that notifications 86 // Add an observer to the list. 104 // Remove an observer from the list. 105 // If there are pending notifications in-transit to the observer, they will 122 // If we're about to remove the last observer from the list [all...] |
/frameworks/base/core/java/android/os/ |
FileObserver.java | 91 public int startWatching(String path, int mask, FileObserver observer) { 97 m_observers.put(i, new WeakReference(observer)); 109 // look up our observer, fixing up the map if necessary... 110 FileObserver observer = null; local 115 observer = (FileObserver) weak.get(); 116 if (observer == null) { 122 // ...then call out to the observer without the sync lock held 123 if (observer != null) { 125 observer.onEvent(mask, path); 127 Log.wtf(LOG_TAG, "Unhandled exception in FileObserver " + observer, throwable) [all...] |
/external/chromium/chrome/browser/automation/ |
automation_extension_tracker.h | 21 // This is empty because we do not want to add an observer for every 24 // uninstalls. Instead of using this method, one observer is added for all
|
/external/chromium/chrome/browser/ |
browsing_data_remover.h | 62 // Observer is notified when the removal is done. Done means keywords have 64 class Observer { 69 virtual ~Observer() {} 85 void AddObserver(Observer* observer); 86 void RemoveObserver(Observer* observer); 221 ObserverList<Observer> observer_list_;
|
plugin_data_remover_helper.h | 27 // |observer| if the value changes. 32 NotificationObserver* observer);
|
possible_url_model.h | 47 virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE; 53 // Our observer.
|
/external/chromium/chrome/browser/chromeos/cros/ |
mock_input_method_library.h | 21 MOCK_METHOD1(AddObserver, void(Observer*)); 22 MOCK_METHOD1(RemoveObserver, void(Observer*));
|
/external/chromium/chrome/browser/chromeos/ |
cros_settings.cc | 39 NotificationObserver* observer; local 40 while ((observer = it.GetNext()) != NULL) { 41 observer->Observe(NotificationType::SYSTEM_SETTING_CHANGED, 101 NOTREACHED() << "Trying to add an observer for an unregistered setting: " 106 // Get the settings observer list associated with the path. 117 // Verify that this observer doesn't already exist. 121 DCHECK(existing_obs != obs) << path << " observer already registered"; 126 // Ok, safe to add the pref observer.
|
/external/chromium/chrome/browser/chromeos/status/ |
window_switcher_button.h | 24 public BrowserList::Observer { 34 // BrowserList::Observer API
|