Searched refs:delegate (Results 1 - 25 of 2513) sorted by relevance

1234567891011>>

/external/chromium_org/ui/wm/core/
H A Dnested_accelerator_dispatcher.cc13 NestedAcceleratorDelegate* delegate)
14 : delegate_(delegate) {
15 DCHECK(delegate);
12 NestedAcceleratorDispatcher( NestedAcceleratorDelegate* delegate) argument
/external/chromium_org/mojo/services/native_viewport/
H A Dplatform_viewport_stub.cc10 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) { argument
11 return PlatformViewportHeadless::Create(delegate);
/external/mockito/src/org/mockito/internal/util/
H A DDefaultMockingDetails.java16 private MockUtil delegate; field in class:DefaultMockingDetails
18 public DefaultMockingDetails(Object toInspect, MockUtil delegate){ argument
20 this.delegate = delegate;
27 return delegate.isMock( toInspect );
35 return delegate.isSpy( toInspect );
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DForwardingImmutableCollection.java32 transient final Collection<E> delegate; field in class:ForwardingImmutableCollection
34 ForwardingImmutableCollection(Collection<E> delegate) { argument
35 this.delegate = delegate;
39 return Iterators.unmodifiableIterator(delegate.iterator());
43 return object != null && delegate.contains(object);
47 return delegate.containsAll(targets);
51 return delegate.size();
55 return delegate.isEmpty();
59 return delegate
[all...]
/external/chromium_org/ui/events/linux/
H A Dtext_edit_key_bindings_delegate_auralinux.cc10 // Optional delegate. Unowned pointer.
15 TextEditKeyBindingsDelegateAuraLinux* delegate) {
16 text_edit_keybinding_delegate_ = delegate;
14 SetTextEditKeyBindingsDelegate( TextEditKeyBindingsDelegateAuraLinux* delegate) argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingListenableFuture.java43 protected abstract ListenableFuture<V> delegate(); method in class:ForwardingListenableFuture
47 delegate().addListener(listener, exec);
57 * as the delegate.
63 private final ListenableFuture<V> delegate; field in class:ForwardingListenableFuture.SimpleForwardingListenableFuture
65 protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate) { argument
66 this.delegate = Preconditions.checkNotNull(delegate);
70 protected final ListenableFuture<V> delegate() { method in class:ForwardingListenableFuture.SimpleForwardingListenableFuture
71 return delegate;
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingObjectTest.java31 final Object delegate = new Object();
33 @Override protected Object delegate() {
34 return delegate;
41 final Set<String> delegate = Sets.newHashSet("foo");
43 @Override protected Object delegate() {
44 return delegate;
47 assertEquals(forward.equals(delegate), delegate.equals(forward));
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwScrollOffsetManagerTest.java95 TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) {
97 int callCount = delegate.getOverScrollCallCount();
99 // The manager then asks the delegate to overscroll the view.
100 assertEquals(callCount + 1, delegate.getOverScrollCallCount());
101 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX());
102 assertEquals(scrollY, delegate.getOverScrollDeltaY() + delegate.getScrollY());
108 TestScrollOffsetManagerDelegate delegate) {
109 assertTrue(delegate
94 simulateScrolling(AwScrollOffsetManager offsetManager, TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) argument
107 simlateOverScrollPropagation(AwScrollOffsetManager offsetManager, TestScrollOffsetManagerDelegate delegate) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DForwardingListIterator.java39 @Override protected abstract ListIterator<E> delegate(); method in class:ForwardingListIterator
43 delegate().add(element);
48 return delegate().hasPrevious();
53 return delegate().nextIndex();
58 return delegate().previous();
63 return delegate().previousIndex();
68 delegate().set(element);
H A DImmutableEnumSet.java42 private final transient EnumSet<E> delegate; field in class:ImmutableEnumSet
44 ImmutableEnumSet(EnumSet<E> delegate) { argument
45 this.delegate = delegate;
53 return Iterators.unmodifiableIterator(delegate.iterator());
58 return delegate.size();
62 return delegate.contains(object);
66 return delegate.containsAll(collection);
70 return delegate.isEmpty();
74 return delegate
106 final EnumSet<E> delegate; field in class:ImmutableEnumSet.EnumSerializedForm
107 EnumSerializedForm(EnumSet<E> delegate) argument
[all...]
/external/chromium_org/chrome/browser/
H A Dcrash_upload_list.cc18 CrashUploadList* CrashUploadList::Create(Delegate* delegate) { argument
24 return new CrashUploadListWin(delegate, upload_log_path);
26 return new CrashUploadList(delegate, upload_log_path);
30 CrashUploadList::CrashUploadList(Delegate* delegate, argument
32 : UploadList(delegate, upload_log_path) {}
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_delegate_unittest.cc30 scoped_ptr<MockWebContentsDelegate> delegate(new MockWebContentsDelegate());
32 // Setting a delegate should work correctly.
33 contents_a->SetDelegate(delegate.get());
34 EXPECT_EQ(delegate.get(), contents_a->GetDelegate());
37 // A delegate can be a delegate to multiple WebContentsImpl.
38 contents_b->SetDelegate(delegate.get());
39 EXPECT_EQ(delegate.get(), contents_a->GetDelegate());
40 EXPECT_EQ(delegate.get(), contents_b->GetDelegate());
42 // Setting the same delegate multipl
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DDelegatingHttpsURLConnection.java41 private final HttpURLConnection delegate; field in class:DelegatingHttpsURLConnection
43 public DelegatingHttpsURLConnection(HttpURLConnection delegate) { argument
44 super(delegate.getURL());
45 this.delegate = delegate;
89 delegate.connect();
93 delegate.disconnect();
97 return delegate.getErrorStream();
101 return delegate.getRequestMethod();
105 return delegate
[all...]
H A DHttpsURLConnectionImpl.java26 private final HttpURLConnectionImpl delegate; field in class:HttpsURLConnectionImpl
32 public HttpsURLConnectionImpl(HttpURLConnectionImpl delegate) { argument
33 super(delegate);
34 this.delegate = delegate;
38 if (delegate.httpEngine == null) {
45 return delegate.httpEngine.hasResponse()
46 ? delegate.httpEngine.getResponse().handshake()
47 : delegate.handshake;
51 delegate
[all...]
/external/chromium_org/chrome/browser/ui/android/infobars/
H A Dtranslate_infobar.cc18 scoped_ptr<translate::TranslateInfoBarDelegate> delegate) const {
19 return scoped_ptr<infobars::InfoBar>(new TranslateInfoBar(delegate.Pass()));
26 scoped_ptr<translate::TranslateInfoBarDelegate> delegate)
27 : InfoBarAndroid(delegate.PassAs<infobars::InfoBarDelegate>()),
36 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); local
38 languages.reserve(delegate->num_languages());
39 for (size_t i = 0; i < delegate->num_languages(); ++i)
40 languages.push_back(delegate->language_name_at(i));
46 delegate->translate_step(), delegate
25 TranslateInfoBar( scoped_ptr<translate::TranslateInfoBarDelegate> delegate) argument
74 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); local
91 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); local
116 SetJavaDelegate(jobject delegate) argument
122 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); local
[all...]
/external/chromium_org/ui/aura/gestures/
H A Dgesture_recognizer_unittest.cc67 // A delegate that keeps track of gesture events.
383 // A delegate that ignores gesture events but keeps track of [synthetic] mouse
500 GestureEventConsumeDelegate* delegate) {
520 GestureEventConsumeDelegate* delegate) {
521 delegate->Reset();
647 scoped_ptr<GestureEventConsumeDelegate> delegate(
655 delegate.get(), -1234, bounds, root_window()));
657 delegate->Reset();
661 EXPECT_FALSE(delegate->tap());
662 EXPECT_FALSE(delegate
492 SendScrollEvents(ui::EventProcessor* dispatcher, float x_start, float y_start, int dx, int dy, int touch_id, int time_step, int num_steps, GestureEventConsumeDelegate* delegate) argument
516 SendScrollEvent(ui::EventProcessor* dispatcher, float x, float y, int touch_id, GestureEventConsumeDelegate* delegate) argument
2395 GestureEventConsumeDelegate delegate; local
4125 GestureEventDeleteWindowOnLongPress delegate; local
[all...]
/external/chromium_org/android_webview/native/
H A Daw_browser_dependency_factory.cc23 AwBrowserDependencyFactory* delegate) {
24 g_instance = delegate;
22 SetInstance( AwBrowserDependencyFactory* delegate) argument
/external/chromium_org/ash/system/user/
H A Dconfig.cc26 return Shell::GetInstance()->delegate()->IsMultiProfilesEnabled() &&
31 return Shell::GetInstance()->delegate()->IsMultiAccountEnabled() &&
/external/chromium_org/ash/wm/
H A Dimmersive_revealed_lock.cc10 const base::WeakPtr<Delegate>& delegate,
12 : delegate_(delegate) {
9 ImmersiveRevealedLock( const base::WeakPtr<Delegate>& delegate, Delegate::AnimateReveal animate_reveal) argument
/external/chromium_org/chrome/browser/chromeos/login/ui/
H A Dlogin_display.cc11 LoginDisplay::LoginDisplay(Delegate* delegate, argument
13 : delegate_(delegate),
/external/chromium_org/chromecast/shell/app/
H A Dcast_main.cc9 chromecast::shell::CastMainDelegate delegate; local
10 content::ContentMainParams params(&delegate);
/external/chromium_org/content/renderer/browser_plugin/
H A Dmock_browser_plugin.cc14 scoped_ptr<BrowserPluginDelegate> delegate)
15 : BrowserPlugin(render_view, frame, delegate.Pass()) {
12 MockBrowserPlugin(RenderViewImpl* render_view, blink::WebFrame* frame, scoped_ptr<BrowserPluginDelegate> delegate) argument
/external/chromium_org/content/shell/app/
H A Dshell_content_main.cc13 content::ShellMainDelegate delegate; local
14 content::ContentMainParams params(&delegate);
/external/chromium_org/ui/base/ime/
H A Dinput_method_factory.cc34 internal::InputMethodDelegate* delegate,
40 return scoped_ptr<InputMethod>(new MockInputMethod(delegate));
43 return scoped_ptr<InputMethod>(new InputMethodChromeOS(delegate));
46 return CreateRemoteInputMethodWin(delegate);
47 return scoped_ptr<InputMethod>(new InputMethodWin(delegate, widget));
49 return scoped_ptr<InputMethod>(new InputMethodMac(delegate));
51 return scoped_ptr<InputMethod>(new InputMethodAuraLinux(delegate));
53 return scoped_ptr<InputMethod>(new InputMethodMinimal(delegate));
33 CreateInputMethod( internal::InputMethodDelegate* delegate, gfx::AcceleratedWidget widget) argument
/external/chromium_org/ui/message_center/
H A Dnotification_delegate_unittest.cc45 scoped_refptr<HandleNotificationClickedDelegate> delegate(
50 EXPECT_TRUE(delegate->HasClickedListener());
51 delegate->Click();
55 delegate->ButtonClick(0);
60 scoped_refptr<HandleNotificationClickedDelegate> delegate(
63 EXPECT_FALSE(delegate->HasClickedListener());
64 delegate->Click();
67 delegate->ButtonClick(0);

Completed in 907 milliseconds

1234567891011>>