Home
last modified time | relevance | path

Searched refs:opener (Results 1 – 25 of 59) sorted by relevance

123

/external/chromium/chrome/browser/tabs/
Dtab_strip_model.h295 int GetIndexOfNextTabContentsOpenedBy(const NavigationController* opener,
301 int GetIndexOfFirstTabContentsOpenedBy(const NavigationController* opener,
306 int GetIndexOfLastTabContentsOpenedBy(const NavigationController* opener,
544 const NavigationController* opener,
570 opener = a_group; in SetGroup()
576 opener = NULL; in ForgetOpener()
595 NavigationController* opener; member
Dtab_strip_model.cc151 data->opener = &selected_contents->controller(); in InsertTabContentsAt()
391 return contents_data_.at(index)->opener; in GetOpenerOfTabContentsAt()
395 const NavigationController* opener, int start_index, bool use_group) const { in GetIndexOfNextTabContentsOpenedBy() argument
396 DCHECK(opener); in GetIndexOfNextTabContentsOpenedBy()
401 if (OpenerMatches(contents_data_[i], opener, use_group)) in GetIndexOfNextTabContentsOpenedBy()
406 if (OpenerMatches(contents_data_[i], opener, use_group)) in GetIndexOfNextTabContentsOpenedBy()
413 const NavigationController* opener, in GetIndexOfFirstTabContentsOpenedBy() argument
415 DCHECK(opener); in GetIndexOfFirstTabContentsOpenedBy()
419 if (contents_data_[i]->opener == opener) in GetIndexOfFirstTabContentsOpenedBy()
426 const NavigationController* opener, int start_index) const { in GetIndexOfLastTabContentsOpenedBy() argument
[all …]
Dtab_strip_model_order_controller.cc40 NavigationController* opener = in DetermineInsertionIndex() local
47 opener, tabstrip_->active_index()); in DetermineInsertionIndex()
50 opener, tabstrip_->active_index()); in DetermineInsertionIndex()
Dtab_strip_model_unittest.cc605 NavigationController* opener = &opener_contents->controller(); in TEST_F() local
628 EXPECT_EQ(opener, tabstrip.GetOpenerOfTabContentsAt(i)); in TEST_F()
631 EXPECT_EQ(2, tabstrip.GetIndexOfNextTabContentsOpenedBy(opener, 1, false)); in TEST_F()
634 EXPECT_EQ(4, tabstrip.GetIndexOfNextTabContentsOpenedBy(opener, 5, false)); in TEST_F()
639 EXPECT_EQ(5, tabstrip.GetIndexOfLastTabContentsOpenedBy(opener, 1)); in TEST_F()
649 EXPECT_EQ(-1, tabstrip.GetIndexOfNextTabContentsOpenedBy(opener, 1, false)); in TEST_F()
650 EXPECT_EQ(-1, tabstrip.GetIndexOfNextTabContentsOpenedBy(opener, 5, false)); in TEST_F()
651 EXPECT_EQ(-1, tabstrip.GetIndexOfLastTabContentsOpenedBy(opener, 1)); in TEST_F()
756 NavigationController* opener = &opener_contents->controller(); in TEST_F() local
777 EXPECT_EQ(3, tabstrip.GetIndexOfNextTabContentsOpenedBy(opener, 2, false)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/tabs/
Dtab_strip_model.cc149 WebContents* opener() const { return opener_; } in opener() function in TabStripModel::WebContentsData
567 return contents_data_[index]->opener(); in GetOpenerOfWebContentsAt()
571 WebContents* opener) { in SetOpenerOfWebContentsAt() argument
573 DCHECK(opener); in SetOpenerOfWebContentsAt()
574 contents_data_[index]->set_opener(opener); in SetOpenerOfWebContentsAt()
577 int TabStripModel::GetIndexOfNextWebContentsOpenedBy(const WebContents* opener, in GetIndexOfNextWebContentsOpenedBy() argument
580 DCHECK(opener); in GetIndexOfNextWebContentsOpenedBy()
585 if (OpenerMatches(contents_data_[i], opener, use_group)) in GetIndexOfNextWebContentsOpenedBy()
590 if (OpenerMatches(contents_data_[i], opener, use_group)) in GetIndexOfNextWebContentsOpenedBy()
596 int TabStripModel::GetIndexOfLastWebContentsOpenedBy(const WebContents* opener, in GetIndexOfLastWebContentsOpenedBy() argument
[all …]
Dtab_strip_model.h276 void SetOpenerOfWebContentsAt(int index, content::WebContents* opener);
283 int GetIndexOfNextWebContentsOpenedBy(const content::WebContents* opener,
289 int GetIndexOfLastWebContentsOpenedBy(const content::WebContents* opener,
547 const content::WebContents* opener,
Dtab_strip_model_unittest.cc653 WebContents* opener = CreateWebContents(); in TEST_F() local
654 tabstrip.AppendWebContents(opener, true); in TEST_F()
676 EXPECT_EQ(opener, tabstrip.GetOpenerOfWebContentsAt(i)); in TEST_F()
679 EXPECT_EQ(2, tabstrip.GetIndexOfNextWebContentsOpenedBy(opener, 1, false)); in TEST_F()
682 EXPECT_EQ(4, tabstrip.GetIndexOfNextWebContentsOpenedBy(opener, 5, false)); in TEST_F()
687 EXPECT_EQ(5, tabstrip.GetIndexOfLastWebContentsOpenedBy(opener, 1)); in TEST_F()
698 EXPECT_EQ(-1, tabstrip.GetIndexOfNextWebContentsOpenedBy(opener, 1, false)); in TEST_F()
699 EXPECT_EQ(-1, tabstrip.GetIndexOfNextWebContentsOpenedBy(opener, 5, false)); in TEST_F()
700 EXPECT_EQ(-1, tabstrip.GetIndexOfLastWebContentsOpenedBy(opener, 1)); in TEST_F()
746 WebContents* opener = CreateWebContents(); in TEST_F() local
[all …]
Dtab_strip_model_order_controller.cc38 content::WebContents* opener = tabstrip_->GetActiveWebContents(); in DetermineInsertionIndex() local
42 opener, tabstrip_->active_index()); in DetermineInsertionIndex()
/external/chromium_org/content/public/browser/
Dweb_contents.cc14 opener(NULL), in CreateParams()
24 opener(NULL), in CreateParams()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DInspectorFrontendAPI.js221 if (window.opener)
222 window.opener.postMessage(["loadCompleted"], "*");
273 if (event.source === window.opener)
277 if (window.opener && window.dispatchStandaloneTestRunnerMessages)
/external/chromium/chrome/browser/extensions/
Dextension_message_service.cc45 ExtensionMessageService::MessagePort opener; member
230 channel->opener = MessagePort(source, MSG_ROUTING_CONTROL); in OpenChannelImpl()
305 channel_iter->second->receiver : channel_iter->second->opener; in CloseChannelImpl()
323 iter->second->opener : iter->second->receiver; in PostMessageFromRenderer()
355 current->second->opener.sender != current->second->receiver.sender; in OnSenderClosed()
357 if (current->second->opener.sender == sender) { in OnSenderClosed()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dmessage_service.cc69 scoped_ptr<MessagePort> opener; member
362 channel->opener.reset(new ExtensionMessagePort(source, MSG_ROUTING_CONTROL, in OpenChannelToNativeApp()
387 channel->opener->IncrementLazyKeepaliveCount(); in OpenChannelToNativeApp()
455 channel->opener.reset(new ExtensionMessagePort(params->source, in OpenChannelImpl()
477 channel->opener->IncrementLazyKeepaliveCount(); in OpenChannelImpl()
518 channel->receiver.get() : channel->opener.get(); in CloseChannelImpl()
524 channel->opener->DecrementLazyKeepaliveCount(); in CloseChannelImpl()
575 current->second->opener->GetRenderProcessHost(); in OnProcessClosed()
630 channel->opener.get() : channel->receiver.get(); in DispatchMessage()
/external/chromium/testing/gmock/scripts/
Dupload.py148 self.opener = self._GetOpener()
201 response = self.opener.open(req)
230 response = self.opener.open(req)
326 f = self.opener.open(req)
360 opener = urllib2.OpenerDirector()
361 opener.add_handler(urllib2.ProxyHandler())
362 opener.add_handler(urllib2.UnknownHandler())
363 opener.add_handler(urllib2.HTTPHandler())
364 opener.add_handler(urllib2.HTTPDefaultErrorHandler())
365 opener.add_handler(urllib2.HTTPSHandler())
[all …]
/external/chromium/testing/gtest/scripts/
Dupload.py148 self.opener = self._GetOpener()
201 response = self.opener.open(req)
230 response = self.opener.open(req)
326 f = self.opener.open(req)
360 opener = urllib2.OpenerDirector()
361 opener.add_handler(urllib2.ProxyHandler())
362 opener.add_handler(urllib2.UnknownHandler())
363 opener.add_handler(urllib2.HTTPHandler())
364 opener.add_handler(urllib2.HTTPDefaultErrorHandler())
365 opener.add_handler(urllib2.HTTPSHandler())
[all …]
/external/chromium_org/testing/gtest/scripts/
Dupload.py148 self.opener = self._GetOpener()
201 response = self.opener.open(req)
230 response = self.opener.open(req)
326 f = self.opener.open(req)
360 opener = urllib2.OpenerDirector()
361 opener.add_handler(urllib2.ProxyHandler())
362 opener.add_handler(urllib2.UnknownHandler())
363 opener.add_handler(urllib2.HTTPHandler())
364 opener.add_handler(urllib2.HTTPDefaultErrorHandler())
365 opener.add_handler(urllib2.HTTPSHandler())
[all …]
/external/chromium_org/chrome/renderer/extensions/
Dapp_window_custom_bindings.cc103 blink::WebFrame* opener = render_view->GetWebView()->mainFrame(); in GetView() local
105 frame->setOpener(opener); in GetView()
/external/chromium_org/content/browser/browser_plugin/
Dbrowser_plugin_guest.cc340 BrowserPluginGuest* opener) in BrowserPluginGuest() argument
362 if (opener) in BrowserPluginGuest()
363 opener_ = opener->AsWeakPtr(); in BrowserPluginGuest()
497 if (!attached() && opener()) in Destroy()
498 opener()->pending_new_windows_.erase(this); in Destroy()
677 BrowserPluginGuest* opener) { in CreateWithOpener() argument
680 instance_id, has_render_view, web_contents, opener); in CreateWithOpener()
684 opener->GetWebContents()->GetSiteInstance(), in CreateWithOpener()
685 web_contents, opener->GetWebContents(), &delegate, in CreateWithOpener()
805 PendingWindowMap::iterator it = opener()->pending_new_windows_.find(this); in OpenURLFromTab()
[all …]
Dbrowser_plugin_guest_manager.cc167 if (!guest->opener()) in CanEmbedderAccessGuest()
171 guest->opener()->embedder_web_contents()->GetRenderProcessHost()-> in CanEmbedderAccessGuest()
Dbrowser_plugin_guest.h114 BrowserPluginGuest* opener);
147 BrowserPluginGuest* opener() const { return opener_.get(); } in opener() function
341 BrowserPluginGuest* opener);
/external/chromium_org/chrome/renderer/
Dchrome_content_renderer_client.cc561 !frame->opener() && in CreatePlugin()
1197 if (is_initial_navigation && old_url.is_empty() && frame->opener()) { in CrossesExtensionExtents()
1201 WebDocument opener_document = frame->opener()->document(); in CrossesExtensionExtents()
1202 WebSecurityOrigin opener = frame->opener()->document().securityOrigin(); in CrossesExtensionExtents() local
1204 !opener.isUnique() && extensions.GetExtensionOrAppByURL( in CrossesExtensionExtents()
1209 opener.canRequest(WebURL(new_url))) in CrossesExtensionExtents()
1215 old_url = frame->top()->opener()->top()->document().url(); in CrossesExtensionExtents()
1221 bool should_consider_workaround = !!frame->opener(); in CrossesExtensionExtents()
/external/chromium_org/content/test/
Dtest_web_contents.cc168 void TestWebContents::SetOpener(TestWebContents* opener) { in SetOpener() argument
171 opener_ = opener; in SetOpener()
/external/chromium_org/chrome/browser/extensions/
Dextension_tab_util.cc163 WebContents* opener = tab_strip->GetOpenerOfWebContentsAt(tab_index); in CreateTabValue() local
164 if (opener) in CreateTabValue()
165 result->SetInteger(keys::kOpenerTabIdKey, GetTabId(opener)); in CreateTabValue()
/external/chromium/chrome/browser/tab_contents/
Drender_view_host_delegate_helper.cc91 RenderViewHostDelegate* opener, in CreateNewWindow() argument
99 opener->GetURL(), in CreateNewWindow()
113 opener->GetAsTabContents(), in CreateNewWindow()
Drender_view_host_delegate_helper.h45 RenderViewHostDelegate* opener,
/external/icu4c/i18n/unicode/
Dudat.h1357 udat_registerOpener(UDateFormatOpener opener, UErrorCode *status);
1364 udat_unregisterOpener(UDateFormatOpener opener, UErrorCode *status);

123