Home
last modified time | relevance | path

Searched refs:embedder (Results 1 – 25 of 169) sorted by relevance

1234567

/external/chromium_org/extensions/test/data/web_view/apitest/
Dmain.js5 var embedder = {}; variable
9 if (!embedder.test.testList[testName]) {
11 embedder.test.fail();
16 embedder.test.testList[testName]();
19 embedder.test = {};
21 embedder.test.assertEq = function(a, b) {
24 embedder.test.fail();
28 embedder.test.assertFalse = function(condition) {
31 embedder.test.fail();
35 embedder.test.assertTrue = function(condition) {
[all …]
/external/chromium_org/content/browser/fileapi/
Dtimed_task_helper_unittest.cc42 Embedder embedder; in TEST() local
44 ASSERT_FALSE(embedder.timer_fired()); in TEST()
45 ASSERT_FALSE(embedder.timer()->IsRunning()); in TEST()
47 embedder.timer()->Start( in TEST()
50 base::Bind(&Embedder::OnTimerFired, base::Unretained(&embedder))); in TEST()
52 ASSERT_TRUE(embedder.timer()->IsRunning()); in TEST()
53 embedder.timer()->Reset(); in TEST()
54 ASSERT_TRUE(embedder.timer()->IsRunning()); in TEST()
58 ASSERT_TRUE(embedder.timer_fired()); in TEST()
67 Embedder embedder; in TEST() local
[all …]
/external/chromium_org/mojo/system/
Draw_channel_posix.cc35 explicit RawChannelPosix(embedder::ScopedPlatformHandle handle);
52 virtual embedder::ScopedPlatformHandleVectorPtr GetReadPlatformHandles(
72 embedder::ScopedPlatformHandle fd_;
80 std::deque<embedder::PlatformHandle> read_platform_handles_;
94 RawChannelPosix::RawChannelPosix(embedder::ScopedPlatformHandle handle) in RawChannelPosix()
115 embedder::CloseAllPlatformHandles(&read_platform_handles_); in ~RawChannelPosix()
126 embedder::PlatformHandleVector* const platform_handles = in EnqueueMessageNoLock()
129 platform_handles->size() > embedder::kPlatformChannelMaxNumHandles) { in EnqueueMessageNoLock()
135 embedder::kPlatformChannelMaxNumHandles; in EnqueueMessageNoLock()
136 i += embedder::kPlatformChannelMaxNumHandles) { in EnqueueMessageNoLock()
[all …]
Dshared_buffer_dispatcher.h16 namespace embedder {
44 embedder::PlatformSupport* platform_support,
58 embedder::PlatformHandleVector* platform_handles);
62 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer_);
85 scoped_ptr<embedder::PlatformSharedBufferMapping>* mapping) OVERRIDE;
93 embedder::PlatformHandleVector* platform_handles) OVERRIDE;
95 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer_;
Dmessage_pipe_test_utils.h29 explicit ChannelThread(embedder::PlatformSupport* platform_support);
32 void Start(embedder::ScopedPlatformHandle platform_handle,
37 void InitChannelOnIOThread(embedder::ScopedPlatformHandle platform_handle,
41 embedder::PlatformSupport* const platform_support_;
57 embedder::PlatformSupport* platform_support() { return &platform_support_; } in platform_support()
61 embedder::SimplePlatformSupport platform_support_;
Dchannel.h28 namespace embedder {
59 explicit Channel(embedder::PlatformSupport* platform_support);
124 embedder::PlatformSupport* platform_support() const { in platform_support()
135 embedder::ScopedPlatformHandleVectorPtr platform_handles) OVERRIDE;
141 embedder::ScopedPlatformHandleVectorPtr platform_handles);
144 embedder::ScopedPlatformHandleVectorPtr platform_handles);
168 embedder::PlatformSupport* const platform_support_;
Dshared_buffer_dispatcher.cc66 embedder::PlatformSupport* platform_support, in Create()
75 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer( in Create()
93 embedder::PlatformHandleVector* platform_handles) { in Deserialize()
119 embedder::PlatformHandle platform_handle; in Deserialize()
126 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer( in Deserialize()
128 num_bytes, embedder::ScopedPlatformHandle(platform_handle))); in Deserialize()
140 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer) in SharedBufferDispatcher()
190 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer; in CreateEquivalentDispatcherAndCloseImplNoLock()
213 scoped_ptr<embedder::PlatformSharedBufferMapping>* mapping) { in MapBufferImplNoLock()
248 embedder::PlatformHandleVector* platform_handles) { in EndSerializeAndCloseImplNoLock()
[all …]
Dplatform_handle_dispatcher.h22 embedder::ScopedPlatformHandle platform_handle);
24 embedder::ScopedPlatformHandle PassPlatformHandle();
35 embedder::PlatformHandleVector* platform_handles);
51 embedder::PlatformHandleVector* platform_handles) OVERRIDE;
53 embedder::ScopedPlatformHandle platform_handle_;
/external/chromium_org/chrome/browser/geolocation/
Dgeolocation_permission_context.cc36 const GURL& embedder,
67 const GURL& embedder, in GeolocationPermissionRequest() argument
74 embedder_(embedder), in GeolocationPermissionRequest()
175 GURL embedder = web_contents->GetLastCommittedURL().GetOrigin(); in RequestGeolocationPermission() local
176 if (!requesting_frame_origin.is_valid() || !embedder.is_valid()) { in RequestGeolocationPermission()
178 << requesting_frame_origin << "," << embedder in RequestGeolocationPermission()
185 embedder, result_callback); in RequestGeolocationPermission()
206 const GURL& embedder, in DecidePermission() argument
214 embedder, in DecidePermission()
219 PermissionDecided(id, requesting_frame, embedder, callback, false); in DecidePermission()
[all …]
/external/chromium_org/chrome/browser/media/
Dprotected_media_identifier_permission_context.cc82 GURL embedder = web_contents->GetLastCommittedURL(); in RequestProtectedMediaIdentifierPermission() local
83 if (!origin.is_valid() || !embedder.is_valid()) { in RequestProtectedMediaIdentifierPermission()
86 << origin << "," << embedder in RequestProtectedMediaIdentifierPermission()
93 DecidePermission(id, origin, embedder, rvh, result_callback); in RequestProtectedMediaIdentifierPermission()
108 const GURL& embedder, in DecidePermission() argument
117 PermissionDecided(id, origin, embedder, callback, false); in DecidePermission()
125 embedder, in DecidePermission()
130 PermissionDecided(id, origin, embedder, callback, false); in DecidePermission()
133 PermissionDecided(id, origin, embedder, callback, true); in DecidePermission()
139 embedder, in DecidePermission()
[all …]
/external/chromium_org/mojo/
Dmojo_system_impl.target.darwin-arm64.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.linux-arm64.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_base.gyp103 'embedder/channel_init.cc',
104 'embedder/channel_init.h',
105 'embedder/embedder.cc',
106 'embedder/embedder.h',
107 'embedder/platform_channel_pair.cc',
108 'embedder/platform_channel_pair.h',
109 'embedder/platform_channel_pair_posix.cc',
110 'embedder/platform_channel_pair_win.cc',
111 'embedder/platform_channel_utils_posix.cc',
112 'embedder/platform_channel_utils_posix.h',
[all …]
Dmojo_system_impl.target.darwin-mips.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.darwin-mips64.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.linux-mips64.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.linux-mips.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.linux-x86.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.linux-x86_64.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.darwin-x86.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
Dmojo_system_impl.target.darwin-x86_64.mk26 mojo/embedder/channel_init.cc \
27 mojo/embedder/embedder.cc \
28 mojo/embedder/platform_channel_pair.cc \
29 mojo/embedder/platform_channel_pair_posix.cc \
30 mojo/embedder/platform_channel_utils_posix.cc \
31 mojo/embedder/platform_handle.cc \
32 mojo/embedder/platform_handle_utils_posix.cc \
33 mojo/embedder/simple_platform_shared_buffer.cc \
34 mojo/embedder/simple_platform_shared_buffer_posix.cc \
35 mojo/embedder/simple_platform_support.cc \
[all …]
/external/chromium_org/mojo/python/system/mojo/
Dembedder.pyx18 cdef extern from "mojo/embedder/platform_support.h" \
19 namespace "mojo::embedder" nogil:
23 cdef extern from "mojo/embedder/simple_platform_support.h" \
24 namespace "mojo::embedder" nogil:
28 cdef extern from "mojo/embedder/embedder.h" nogil:
29 cdef void InitCEmbedder "mojo::embedder::Init"(
/external/chromium_org/mojo/common/test/
Dtest_utils_posix.cc17 bool BlockingWrite(const embedder::PlatformHandle& handle, in BlockingWrite()
38 bool BlockingRead(const embedder::PlatformHandle& handle, in BlockingRead()
59 bool NonBlockingRead(const embedder::PlatformHandle& handle, in NonBlockingRead()
77 embedder::ScopedPlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp) { in PlatformHandleFromFILE()
81 return embedder::ScopedPlatformHandle(embedder::PlatformHandle(rv)); in PlatformHandleFromFILE()
84 base::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h, in FILEFromPlatformHandle()
Dtest_utils.h23 bool BlockingWrite(const embedder::PlatformHandle& handle,
30 bool BlockingRead(const embedder::PlatformHandle& handle,
39 bool NonBlockingRead(const embedder::PlatformHandle& handle,
45 embedder::ScopedPlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp);
48 base::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h,
/external/chromium_org/chrome/browser/content_settings/
Dpermission_queue_controller.cc48 const GURL& embedder,
53 const GURL& embedder) const;
79 const GURL& embedder, in PendingInfobarRequest() argument
84 embedder_(embedder), in PendingInfobarRequest()
94 const GURL& embedder) const { in IsForPair()
95 return (requesting_frame_ == requesting_frame) && (embedder_ == embedder); in IsForPair()
160 const GURL& embedder, in CreateInfoBarRequest() argument
165 embedder.SchemeIs(content::kChromeUIScheme)) in CreateInfoBarRequest()
169 type_, id, requesting_frame, embedder, callback)); in CreateInfoBarRequest()
193 const GURL& embedder, in OnPermissionSet() argument
[all …]

1234567