Searched refs:popup (Results 1 - 25 of 86) sorted by relevance

1234

/external/chromium_org/chrome/common/extensions/docs/static/js/
H A Dpopup.js7 // A simple popup manager.
11 // Set up the buttons to toggle the popup.
17 var popup = document.getElementById(popupId);
18 if (popup == null)
19 throw new Error('No element with id "' + popupId + '" for popup');
21 toggle(popup);
25 // Make clicking anywhere else or pressing escape on the page hide the popup.
35 function toggle(popup) {
36 if (hideActive() == popup)
38 popup
[all...]
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_dialog_observer.h19 virtual void ExtensionDialogClosing(ExtensionDialog* popup) = 0;
22 virtual void ExtensionTerminated(ExtensionDialog* popup) = 0;
H A Dextension_popup.cc61 // The minimum/maximum dimensions of the popup.
89 // Wait to show the popup until the contained host finishes loading.
119 // If we aren't the host of the popup, then disregard the notification.
130 // First check that the devtools are being opened on this popup.
135 // Set inspect_with_devtools_ so the popup will be kept open while
150 // Constrain the size to popup min/max.
170 // Dismiss only if the window being activated is not owned by this popup's
215 ExtensionPopup* popup = new ExtensionPopup(host, anchor_view, arrow, local
217 views::BubbleDelegateView::CreateBubble(popup);
220 gfx::NativeView native_view = popup
[all...]
/external/chromium_org/ui/base/gtk/
H A Dgtk_windowing.h14 // Stacks a |popup| window directly on top of a |toplevel| window.
15 UI_EXPORT void StackPopupWindow(GtkWidget* popup, GtkWidget* toplevel);
H A Dgtk_windowing.cc15 void StackPopupWindow(GtkWidget* popup, GtkWidget* toplevel) { argument
16 DCHECK(GTK_IS_WINDOW(popup) && gtk_widget_is_toplevel(popup) &&
17 gtk_widget_get_realized(popup));
21 // Stack the |popup| window directly above the |toplevel| window.
22 // The popup window is a direct child of the root window, so we need to
32 XID window_xid = ui::GetX11WindowFromGtkWidget(popup);
/external/chromium/chrome/browser/tabs/
H A Dpinned_tab_service_unittest.cc34 // Makes sure closing a popup triggers writing pinned tabs.
40 // Create a popup.
41 scoped_ptr<Browser> popup(new Browser(Browser::TYPE_POPUP, profile()));
43 new TestBrowserWindow(popup.get()));
44 popup->set_window(popup_window.get());
53 // Close the popup. This shouldn't reset the saved state.
54 popup->CloseAllTabs();
55 popup.reset(NULL);
/external/chromium_org/chrome/browser/extensions/
H A Dprocess_manager_browsertest.cc68 // Load an extension with the ability to open a popup but no background
70 scoped_refptr<const Extension> popup = local
73 .AppendASCII("popup"));
74 ASSERT_TRUE(popup);
79 EXPECT_FALSE(pm->GetBackgroundHostForExtension(popup->id()));
80 EXPECT_EQ(0u, pm->GetRenderViewHostsForExtension(popup->id()).size());
81 EXPECT_TRUE(pm->GetSiteInstanceForURL(popup->url()));
82 EXPECT_FALSE(pm->IsBackgroundHostClosing(popup->id()));
83 EXPECT_EQ(0, pm->GetLazyKeepaliveCount(popup.get()));
85 // Simulate clicking on the action to open a popup
[all...]
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
H A Dui.js33 ui.popup = {};
35 ui.popup.hide = function()
37 var popup = $('popup');
38 if (popup) {
39 popup.parentNode.removeChild(popup);
40 document.removeEventListener('mousedown', ui.popup._handleMouseDown, false);
44 ui.popup.show = function(target, html)
46 var popup
[all...]
H A Dflakiness_dashboard_embedded_unittests.js30 ui.popup.show(document.body, 'dummy content');
31 ok(document.querySelector('#popup'));
39 ok(!document.querySelector('#popup'));
/external/chromium/chrome/browser/extensions/
H A Dbrowser_action_test_util_gtk.cc70 ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); local
71 if (popup)
72 return popup->GetViewBounds();
77 ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); local
78 if (popup)
79 return popup->DestroyPopup();
/external/chromium_org/chrome/browser/ui/blocked_content/
H A Dpopup_blocker_tab_helper.cc78 // commits, so when we reach here, the popup was spawned by the
80 // example, if a page opens a popup in an onunload() handler, then the active
117 BlockedRequest* popup = blocked_popups_.Lookup(id); local
118 if (!popup)
121 TabModelList::HandlePopupNavigation(&popup->params);
123 chrome::Navigate(&popup->params);
125 if (popup->params.target_contents) {
126 popup->params.target_contents->Send(new ChromeViewMsg_SetWindowFeatures(
127 popup->params.target_contents->GetRoutingID(), popup
[all...]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
H A DNavigationPopupTest.java26 * Tests for the navigation popup.
84 final NavigationPopup popup = new NavigationPopup(
86 popup.setWidth(300);
87 popup.setAnchorView(mActivity.getActiveContentView());
91 popup.show();
119 popup.dismiss();
128 final NavigationPopup popup = new NavigationPopup(
130 popup.setWidth(300);
131 popup.setAnchorView(mActivity.getActiveContentView());
135 popup
[all...]
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DContentViewPopupZoomerTest.java38 PopupZoomer popup = findPopupZoomer(mView);
39 boolean isVisibilitySet = popup == null ? false : popup.getVisibility() == View.VISIBLE;
51 PopupZoomer popup = findPopupZoomer(mView);
52 if (popup == null) return false;
53 return popup.getWidth() != 0 && popup.getHeight() != 0;
77 * Tests that shows a zoomer popup and makes sure it has valid dimensions.
90 // The popup should be hidden before the click.
91 assertTrue("The zoomer popup i
[all...]
/external/chromium_org/chrome/browser/ui/gtk/extensions/
H A Dbrowser_action_test_util_gtk.cc81 ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); local
82 if (popup)
83 return popup->GetViewBounds();
88 ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); local
89 if (popup)
90 return popup->DestroyPopup();
/external/chromium_org/chrome/browser/ui/tabs/
H A Dpinned_tab_service_unittest.cc49 // Makes sure closing a popup triggers writing pinned tabs.
55 // Create a popup.
58 scoped_ptr<Browser> popup(
69 // Close the popup. This shouldn't reset the saved state.
70 popup->tab_strip_model()->CloseAllTabs();
71 popup.reset(NULL);
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/
H A DMenuActivity.java62 PopupMenu popup = new PopupMenu(this, view);
63 popup.setOnMenuItemClickListener(new PopupMenuListener());
64 popup.getMenuInflater().inflate(R.menu.popupmenu, popup.getMenu());
65 popup.show();
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXMenuList.cpp109 if (AXMenuListPopup* popup = toAXMenuListPopup(childObjects[0].get()))
110 popup->didUpdateActiveOption(optionIndex);
/external/chromium_org/chrome/browser/chromeos/login/screens/
H A Dscreen_manager.cc88 bool popup) {
92 start_screen_popup_ = popup;
96 DCHECK(popup || screen_stack_.size() <= 1);
105 if (!popup)
109 DCHECK(popup || screen_stack_.empty());
86 ShowScreenImpl(const std::string& id, ScreenContext* context, bool popup) argument
/external/chromium_org/third_party/WebKit/Source/web/resources/
H A DcalendarPicker.css165 .month-popup-button,
166 .month-popup-button:hover,
167 .month-popup-button:disabled {
174 .month-popup-button:disabled {
178 .month-popup-button {
187 .month-popup-button .disclosure-triangle {
191 .month-popup-button .disclosure-triangle svg {
278 .month-popup-view {
304 .month-popup-button:focus,
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DMockPagePopupDriver.cpp65 m_iframe->setIdAttribute("mock-page-popup");
132 void MockPagePopupDriver::closePagePopup(PagePopup* popup) argument
134 if (!popup || popup != m_mockPagePopup.get())
/external/chromium/chrome/browser/ui/cocoa/extensions/
H A Dextension_popup_controller.h24 // This controller manages a single browser action popup that can appear once a
26 // popup view showing the content and resizes the window to accomodate any size
29 // There can only be one browser action popup open at a time, so a static
30 // variable holds a reference to the current popup.
36 // The popup's parent window. Weak.
53 // Whether the popup has a devtools window attached to it.
57 // Returns the ExtensionHost object associated with this popup.
60 // Starts the process of showing the given popup URL. Instantiates an
62 // host for the popup created by the extension process manager specific to the
66 // The actual display of the popup i
81 + (ExtensionPopupController*)popup; variable
[all...]
/external/chromium_org/chrome/browser/ui/android/
H A Dnavigation_popup.cc90 NavigationPopup* popup = new NavigationPopup(env, obj); local
91 return reinterpret_cast<intptr_t>(popup);
/external/chromium_org/chrome/browser/ui/views/
H A Dstatus_bubble_views.h64 views::Widget* GetPopupForTest() { return popup(); }
67 views::Widget* popup() { return popup_.get(); } function in class:StatusBubbleViews
73 // Initializes the popup and view.
123 // We use a HWND for the popup so that it may float above any HWNDs in our
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebPagePopupImpl.h105 inline WebPagePopupImpl* toWebPagePopupImpl(WebCore::PagePopup* popup) argument
109 return static_cast<WebPagePopupImpl*>(popup);
/external/chromium_org/chrome/test/functional/ap_lab/
H A Dlinksys_ap_configurator.py85 # Create the mode to popup item mapping
152 popup = '//select[@name="SecurityMode"]'
154 self._wait.until(lambda _: self._driver.find_element_by_xpath(popup))
159 self.SelectItemFromPopupByXPath(self.security_wep, popup,
170 popup = '//select[@name="SecurityMode"]'
172 self._wait.until(lambda _: self._driver.find_element_by_xpath(popup))
177 self.SelectItemFromPopupByXPath(self.security_wpapsk, popup,

Completed in 764 milliseconds

1234