Searched refs:delegate (Results 176 - 200 of 2492) sorted by relevance

1234567891011>>

/external/guava/guava/src/com/google/common/collect/
H A DForwardingMapEntry.java35 * <i>indiscriminately</i> to the methods of the delegate. For example,
62 @Override protected abstract Map.Entry<K, V> delegate(); method in class:ForwardingMapEntry
66 return delegate().getKey();
71 return delegate().getValue();
76 return delegate().setValue(value);
80 return delegate().equals(object);
84 return delegate().hashCode();
H A DForwardingMap.java37 * <i>indiscriminately</i> to the methods of the delegate. For example,
66 @Override protected abstract Map<K, V> delegate(); method in class:ForwardingMap
70 return delegate().size();
75 return delegate().isEmpty();
80 return delegate().remove(object);
85 delegate().clear();
90 return delegate().containsKey(key);
95 return delegate().containsValue(value);
100 return delegate().get(key);
105 return delegate()
[all...]
/external/chromium/chrome/browser/ui/views/infobars/
H A Dconfirm_infobar.cc20 ConfirmInfoBar::ConfirmInfoBar(ConfirmInfoBarDelegate* delegate) argument
21 : InfoBarView(delegate),
66 ConfirmInfoBarDelegate* delegate = GetDelegate(); local
67 label_ = CreateLabel(delegate->GetMessageText());
70 if (delegate->GetButtons() & ConfirmInfoBarDelegate::BUTTON_OK) {
72 delegate->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_OK),
73 delegate->NeedElevation(ConfirmInfoBarDelegate::BUTTON_OK));
77 if (delegate->GetButtons() & ConfirmInfoBarDelegate::BUTTON_CANCEL) {
79 delegate->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_CANCEL),
80 delegate
98 ConfirmInfoBarDelegate* delegate = GetDelegate(); local
[all...]
H A Dtranslate_infobar_base.cc47 TranslateInfoBarBase::TranslateInfoBarBase(TranslateInfoBarDelegate* delegate) argument
48 : InfoBarView(delegate),
81 TranslateInfoBarDelegate* delegate = GetDelegate(); local
82 button->SetText(UTF16ToWideHack(delegate->GetLanguageDisplayableNameAt(
84 delegate->original_language_index() :
85 delegate->target_language_index())));
92 return delegate()->AsTranslateInfoBarDelegate();
98 const InfoBarContainer::Delegate* delegate = container_delegate(); local
99 if (delegate)
100 error_background_.set_separator_color(delegate
[all...]
/external/chromium_org/chrome/browser/ui/views/infobars/
H A Dconfirm_infobar.cc25 ConfirmInfoBarDelegate* delegate)
26 : InfoBarView(owner, delegate),
70 ConfirmInfoBarDelegate* delegate = GetDelegate(); local
71 label_ = CreateLabel(delegate->GetMessageText());
74 if (delegate->GetButtons() & ConfirmInfoBarDelegate::BUTTON_OK) {
76 delegate->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_OK),
77 delegate->NeedElevation(ConfirmInfoBarDelegate::BUTTON_OK));
81 if (delegate->GetButtons() & ConfirmInfoBarDelegate::BUTTON_CANCEL) {
83 delegate->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_CANCEL),
84 delegate
24 ConfirmInfoBar(InfoBarService* owner, ConfirmInfoBarDelegate* delegate) argument
[all...]
/external/chromium_org/ash/accelerators/
H A Daccelerator_controller_unittest.cc680 // True should always be returned regardless of the existence of the delegate.
689 DummyScreenshotDelegate* delegate = new DummyScreenshotDelegate; local
691 scoped_ptr<ScreenshotDelegate>(delegate).Pass());
692 EXPECT_EQ(0, delegate->handle_take_screenshot_count());
695 EXPECT_EQ(1, delegate->handle_take_screenshot_count());
698 EXPECT_EQ(2, delegate->handle_take_screenshot_count());
702 EXPECT_EQ(2, delegate->handle_take_screenshot_count());
707 CapsLockDelegate* delegate = Shell::GetInstance()->caps_lock_delegate(); local
708 delegate->SetCapsLockEnabled(true);
709 EXPECT_TRUE(delegate
782 CapsLockDelegate* delegate = Shell::GetInstance()->caps_lock_delegate(); local
800 DummyVolumeControlDelegate* delegate = local
818 DummyVolumeControlDelegate* delegate = new DummyVolumeControlDelegate(true); local
842 DummyBrightnessControlDelegate* delegate = local
852 DummyBrightnessControlDelegate* delegate = local
866 DummyBrightnessControlDelegate* delegate = local
888 DummyKeyboardBrightnessControlDelegate* delegate = local
902 DummyKeyboardBrightnessControlDelegate* delegate = local
984 test::TestShellDelegate* delegate = local
1036 DummyImeControlDelegate* delegate = new DummyImeControlDelegate(true); local
1064 DummyImeControlDelegate* delegate = new DummyImeControlDelegate(true); local
1126 DummyImeControlDelegate* delegate = new DummyImeControlDelegate(true); local
1239 DummyScreenshotDelegate* delegate = new DummyScreenshotDelegate; local
1260 DummyBrightnessControlDelegate* delegate = local
1271 DummyBrightnessControlDelegate* delegate = local
1285 DummyBrightnessControlDelegate* delegate = local
1306 DummyVolumeControlDelegate* delegate = local
1324 DummyVolumeControlDelegate* delegate = new DummyVolumeControlDelegate(true); local
[all...]
/external/chromium_org/webkit/browser/appcache/
H A Dmock_appcache_storage.cc48 void MockAppCacheStorage::GetAllInfo(Delegate* delegate) { argument
52 make_scoped_refptr(GetOrCreateDelegateReference(delegate))));
55 void MockAppCacheStorage::LoadCache(int64 id, Delegate* delegate) { argument
56 DCHECK(delegate);
62 make_scoped_refptr(GetOrCreateDelegateReference(delegate))));
65 ProcessLoadCache(id, GetOrCreateDelegateReference(delegate));
69 const GURL& manifest_url, Delegate* delegate) {
70 DCHECK(delegate);
76 make_scoped_refptr(GetOrCreateDelegateReference(delegate))));
80 manifest_url, GetOrCreateDelegateReference(delegate));
68 LoadOrCreateGroup( const GURL& manifest_url, Delegate* delegate) argument
83 StoreGroupAndNewestCache( AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) argument
95 FindResponseForMainRequest( const GURL& url, const GURL& preferred_manifest_url, Delegate* delegate) argument
142 MakeGroupObsolete( AppCacheGroup* group, Delegate* delegate) argument
211 Delegate* delegate = delegate_ref->delegate; local
[all...]
/external/chromium/base/synchronization/
H A Dwaitable_event_watcher_unittest.cc42 QuitDelegate delegate; local
43 watcher.StartWatching(&event, &delegate);
61 QuitDelegate delegate; local
62 watcher.StartWatching(&event, &delegate);
76 DecrementCountDelegate delegate(&counter);
78 watcher.StartWatching(&event, &delegate);
89 // Our delegate should not have fired.
103 QuitDelegate delegate; local
104 watcher.StartWatching(&event, &delegate);
119 QuitDelegate delegate; local
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dconstrained_window_gtk.cc32 TabContents* owner, ConstrainedWindowGtkDelegate* delegate)
34 delegate_(delegate),
38 DCHECK(delegate);
39 GtkWidget* dialog = delegate->GetWidgetRoot();
48 if (delegate->ShouldHaveBorderPadding()) {
55 if (delegate->GetBackgroundColor(&background)) {
107 if ((!owner_->delegate() ||
108 owner_->delegate()->ShouldFocusConstrainedWindow()) &&
152 ConstrainedWindowGtkDelegate* delegate) {
153 return new ConstrainedWindowGtk(parent, delegate);
31 ConstrainedWindowGtk( TabContents* owner, ConstrainedWindowGtkDelegate* delegate) argument
150 CreateConstrainedDialog( TabContents* parent, ConstrainedWindowGtkDelegate* delegate) argument
[all...]
H A Dconstrained_html_delegate_gtk.cc23 HtmlDialogUIDelegate* delegate);
68 HtmlDialogUIDelegate* delegate)
72 html_delegate_(delegate),
82 delegate->GetDialogContentURL(), GURL(), PageTransition::START_PAGE);
86 delegate->GetDialogSize(&dialog_size);
109 HtmlDialogUIDelegate* delegate,
112 new ConstrainedHtmlDelegateGtk(profile, delegate);
66 ConstrainedHtmlDelegateGtk( Profile* profile, HtmlDialogUIDelegate* delegate) argument
107 CreateConstrainedHtmlDialog( Profile* profile, HtmlDialogUIDelegate* delegate, TabContents* overshadowed) argument
/external/chromium_org/base/test/
H A Dtest_support_android.cc20 RunState(base::MessagePump::Delegate* delegate, int run_depth) argument
21 : delegate(delegate),
26 base::MessagePump::Delegate* delegate; member in struct:__anon3939::RunState
77 virtual void Start(base::MessagePump::Delegate* delegate) OVERRIDE {
82 virtual void Run(base::MessagePump::Delegate* delegate) OVERRIDE {
85 RunState state(delegate, g_state ? g_state->run_depth + 1 : 1);
99 more_work_is_plausible = g_state->delegate->DoWork();
105 g_state->delegate->DoDelayedWork(&delayed_work_time);
112 more_work_is_plausible = g_state->delegate
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DJdkFutureAdapters.java83 * <p>If the delegate future is interrupted or throws an unexpected unchecked
102 // This allows us to only start up a thread waiting on the delegate future
106 // The delegate future.
107 private final Future<V> delegate; field in class:JdkFutureAdapters.ListenableFutureAdapter
109 ListenableFutureAdapter(Future<V> delegate) { argument
110 this(delegate, defaultAdapterExecutor);
113 ListenableFutureAdapter(Future<V> delegate, Executor adapterExecutor) { argument
114 this.delegate = checkNotNull(delegate);
119 protected Future<V> delegate() { method in class:JdkFutureAdapters.ListenableFutureAdapter
[all...]
H A DAbstractExecutionThreadService.java41 private final Service delegate = new AbstractService() { field in class:AbstractExecutionThreadService
138 return delegate.start();
142 return delegate.startAndWait();
146 return delegate.isRunning();
150 return delegate.state();
154 return delegate.stop();
158 return delegate.stopAndWait();
/external/chromium/chrome/browser/extensions/
H A Duser_script_listener_unittest.cc143 TestURLRequest* StartTestRequest(net::URLRequest::Delegate* delegate, argument
145 TestURLRequest* request = new TestURLRequest(GURL(url), delegate);
180 TestDelegate delegate; local
181 scoped_ptr<TestURLRequest> request(StartTestRequest(&delegate, kMatchingUrl));
189 EXPECT_EQ(kTestData, delegate.data_received());
196 TestDelegate delegate; local
197 scoped_ptr<TestURLRequest> request(StartTestRequest(&delegate, kMatchingUrl));
212 EXPECT_EQ(kTestData, delegate.data_received());
216 TestDelegate delegate; local
217 scoped_ptr<TestURLRequest> request(StartTestRequest(&delegate, kMatchingUr
230 TestDelegate delegate; local
[all...]
/external/chromium_org/base/threading/
H A Dplatform_thread_posix.cc43 : delegate(NULL),
50 PlatformThread::Delegate* delegate; member in struct:base::__anon3966::ThreadParams
61 PlatformThread::Delegate* delegate = thread_params->delegate; local
80 delegate->ThreadMain();
91 PlatformThread::Delegate* delegate,
114 params.delegate = delegate;
196 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, argument
200 delegate, thread_handl
90 CreateThread(size_t stack_size, bool joinable, PlatformThread::Delegate* delegate, PlatformThreadHandle* thread_handle, ThreadPriority priority) argument
204 CreateWithPriority(size_t stack_size, Delegate* delegate, PlatformThreadHandle* thread_handle, ThreadPriority priority) argument
213 CreateNonJoinable(size_t stack_size, Delegate* delegate) argument
[all...]
H A Dplatform_thread_win.cc47 PlatformThread::Delegate* delegate; member in struct:base::__anon3967::ThreadParams
53 PlatformThread::Delegate* delegate = thread_params->delegate; local
74 delegate->ThreadMain();
86 PlatformThread::Delegate* delegate,
96 params->delegate = delegate;
170 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, argument
173 return CreateThreadInternal(stack_size, delegate, thread_handle);
177 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, argument
85 CreateThreadInternal(size_t stack_size, PlatformThread::Delegate* delegate, PlatformThreadHandle* out_thread_handle) argument
187 CreateNonJoinable(size_t stack_size, Delegate* delegate) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DOpaqueRectTrackingContentLayerDelegateTest.cpp128 OpaqueRectTrackingContentLayerDelegate delegate(&painter);
131 delegate.paintContents(skCanvas(), canvasRect(), false, opaqueRect);
139 OpaqueRectTrackingContentLayerDelegate delegate(&painter);
142 delegate.paintContents(skCanvas(), canvasRect(), false, opaqueRect);
150 OpaqueRectTrackingContentLayerDelegate delegate(&painter);
152 delegate.setOpaque(true);
155 delegate.paintContents(skCanvas(), canvasRect(), false, opaqueRect);
163 OpaqueRectTrackingContentLayerDelegate delegate(&painter);
165 delegate.setOpaque(true);
168 delegate
[all...]
/external/chromium/base/
H A Dfile_descriptor_shuffle.cc17 InjectiveMultimap* m, InjectionDelegate* delegate) {
38 if (!delegate->Duplicate(&temp_fd, i->dest))
62 if (!delegate->Move(i->source, i->dest))
67 delegate->Close(i->source);
71 delegate->Close(extra_fds[i]);
77 InjectionDelegate* delegate) {
79 return PerformInjectiveMultimapDestructive(&m, delegate);
16 PerformInjectiveMultimapDestructive( InjectiveMultimap* m, InjectionDelegate* delegate) argument
76 PerformInjectiveMultimap(const InjectiveMultimap& m_in, InjectionDelegate* delegate) argument
/external/chromium/chrome/browser/ui/views/
H A Dconstrained_html_delegate_gtk.cc25 HtmlDialogUIDelegate* delegate);
72 HtmlDialogUIDelegate* delegate)
77 html_delegate_(delegate),
79 CHECK(delegate);
85 html_tab_contents_.controller().LoadURL(delegate->GetDialogContentURL(),
116 HtmlDialogUIDelegate* delegate,
119 new ConstrainedHtmlDelegateGtk(profile, delegate);
70 ConstrainedHtmlDelegateGtk( Profile* profile, HtmlDialogUIDelegate* delegate) argument
114 CreateConstrainedHtmlDialog( Profile* profile, HtmlDialogUIDelegate* delegate, TabContents* container) argument
H A Dconstrained_html_delegate_win.cc23 HtmlDialogUIDelegate* delegate);
75 HtmlDialogUIDelegate* delegate)
78 html_delegate_(delegate),
80 CHECK(delegate);
86 html_tab_contents_.controller().LoadURL(delegate->GetDialogContentURL(),
105 HtmlDialogUIDelegate* delegate,
108 new ConstrainedHtmlDelegateWin(profile, delegate);
73 ConstrainedHtmlDelegateWin( Profile* profile, HtmlDialogUIDelegate* delegate) argument
103 CreateConstrainedHtmlDialog( Profile* profile, HtmlDialogUIDelegate* delegate, TabContents* container) argument
/external/chromium_org/base/posix/
H A Dfile_descriptor_shuffle.cc17 InjectiveMultimap* m, InjectionDelegate* delegate) {
38 if (!delegate->Duplicate(&temp_fd, i->dest))
62 if (!delegate->Move(i->source, i->dest))
67 delegate->Close(i->source);
71 delegate->Close(extra_fds[i]);
77 InjectionDelegate* delegate) {
79 return PerformInjectiveMultimapDestructive(&m, delegate);
16 PerformInjectiveMultimapDestructive( InjectiveMultimap* m, InjectionDelegate* delegate) argument
76 PerformInjectiveMultimap(const InjectiveMultimap& m_in, InjectionDelegate* delegate) argument
/external/chromium_org/chrome/browser/ui/views/
H A Dtab_modal_confirm_dialog_views.cc30 TabModalConfirmDialogDelegate* delegate,
33 delegate, web_contents);
40 TabModalConfirmDialogDelegate* delegate,
42 : delegate_(delegate),
45 views::MessageBoxView::InitParams init_params(delegate->GetMessage());
50 string16 link_text(delegate->GetLinkText());
59 web_contents_modal_dialog_manager->delegate()->
29 Create( TabModalConfirmDialogDelegate* delegate, content::WebContents* web_contents) argument
39 TabModalConfirmDialogViews( TabModalConfirmDialogDelegate* delegate, content::WebContents* web_contents) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_browsertest.cc68 MockProfileDelegate delegate; local
69 EXPECT_CALL(delegate, OnProfileCreated(testing::NotNull(), true, true));
72 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS));
86 MockProfileDelegate delegate; local
87 EXPECT_CALL(delegate, OnProfileCreated(testing::NotNull(), true, false));
90 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS));
103 MockProfileDelegate delegate; local
104 EXPECT_CALL(delegate, OnProfileCreated(testing::NotNull(), true, true));
107 temp_dir.path(), &delegate, Profile::CREATE_MODE_ASYNCHRONOUS));
127 MockProfileDelegate delegate; local
147 MockProfileDelegate delegate; local
175 MockProfileDelegate delegate; local
204 MockProfileDelegate delegate; local
[all...]
/external/chromium_org/native_client_sdk/src/tools/
H A Dhttpd.py62 logging.debug('Looking for cached delegate in %s...' % dirname)
70 logging.debug('Found delegate.')
74 delegate = None
83 delegate = delegate_class()
84 if not delegate:
89 return delegate
92 delegate = self._FindDelegateAtPath(cur_dir)
93 if not delegate:
98 delegate = self._FindDelegateForURLRecurse(parent_dir, abs_root)
100 logging.debug('Adding delegate t
[all...]
/external/chromium_org/remoting/host/setup/
H A Dservice_client.cc34 ServiceClient::Delegate* delegate);
38 ServiceClient::Delegate* delegate);
57 ServiceClient::Delegate* delegate);
72 Delegate* delegate) {
85 delegate);
91 Delegate* delegate) {
98 delegate);
106 ServiceClient::Delegate* delegate) {
107 delegate_ = delegate;
160 Delegate* delegate) {
67 RegisterHost( const std::string& host_id, const std::string& host_name, const std::string& public_key, const std::string& oauth_access_token, Delegate* delegate) argument
88 UnregisterHost( const std::string& host_id, const std::string& oauth_access_token, Delegate* delegate) argument
101 MakeGaiaRequest( net::URLFetcher::RequestType request_type, const std::string& url_suffix, const std::string& request_body, const std::string& oauth_access_token, ServiceClient::Delegate* delegate) argument
155 RegisterHost( const std::string& host_id, const std::string& host_name, const std::string& public_key, const std::string& oauth_access_token, Delegate* delegate) argument
165 UnregisterHost( const std::string& host_id, const std::string& oauth_access_token, Delegate* delegate) argument
[all...]

Completed in 9226 milliseconds

1234567891011>>