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

123

/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.cc35 // The minimum/maximum dimensions of the popup.
62 // Wait to show the popup until the contained host finishes loading.
94 // If we aren't the host of the popup, then disregard the notification.
106 // First check that the devtools are being opened on this popup.
111 // Set inspect_with_devtools_ so the popup will be kept open while
126 // Constrain the size to popup min/max.
146 // If the popup was being inspected with devtools and the browser window was
196 ExtensionPopup* popup = new ExtensionPopup(host, anchor_view, arrow, local
198 views::BubbleDelegateView::CreateBubble(popup);
200 gfx::NativeView native_view = popup
[all...]
/external/chromium_org/chrome/browser/ui/blocked_content/
H A Dpopup_blocker_tab_helper.cc77 // commits, so when we reach here, the popup was spawned by the
79 // example, if a page opens a popup in an onunload() handler, then the active
116 BlockedRequest* popup = blocked_popups_.Lookup(id); local
117 if (!popup)
119 // We set user_gesture to true here, so the new popup gets correctly focused.
120 popup->params.user_gesture = true;
122 TabModelList::HandlePopupNavigation(&popup->params);
124 chrome::Navigate(&popup->params);
126 if (popup->params.target_contents) {
127 popup
[all...]
H A Dpopup_blocker_browsertest.cc149 // expected to try to open a popup. Verifies that the popup was blocked and
150 // then opens the blocked popup. Once the popup stopped loading, verifies
153 // If |what_to_expect| is ExpectPopup, the popup is expected to open a new
156 // Returns the WebContents of the launched popup.
167 // Since the popup blocker blocked the window.open, there should be only one
184 // Launch the blocked popup.
234 "/popup_blocker/popup-blocked-to-post-blank.html",
249 "/popup_blocker/popup
393 WebContents* popup = local
437 WebContents* popup = local
472 WebContents* popup = local
[all...]
/external/chromium_org/components/web_modal/
H A Dsingle_popup_manager.h24 virtual void WillClose(NativePopup popup) = 0;
32 // The rule of thumb is that only one popup will be shown at a time per tab.
46 // Makes the popup visible.
49 // Hides the popup without closing it.
52 // Closes the popup.
58 // Sets focus on the popup.
61 // Pulsates the popup to draw the user's attention to it.
64 // Returns the popup under management by this object.
65 virtual NativePopup popup() = 0;
67 // Returns true if the popup unde
[all...]
H A Dpopup_manager.cc48 // TODO(gbillock): remove when we port the popup management logic to this
51 static_cast<NativeWebContentsModalDialog>(manager->popup());
59 void PopupManager::ShowModalDialog(NativePopup popup, argument
61 // TODO make a new native popup manager and call ShowPopup.
65 manager->ShowModalDialog(popup);
88 void PopupManager::WillClose(NativePopup popup) { argument
95 // popup managers with popups in-flight?
101 // popup managers with popups in-flight?
H A Dpopup_manager.h35 // Schedules a popup governed by the |manager| to be shown. The popup
41 virtual void ShowModalDialog(NativePopup popup,
51 virtual void WillClose(NativePopup popup) OVERRIDE;
55 // one popup may actually be shown (depending on overlappability). The
61 // PopupManager from a |web_contents|. Any window which doesn't have a popup
/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.getActiveContentViewCore().getContainerView());
91 popup.show();
119 popup.dismiss();
128 final NavigationPopup popup = new NavigationPopup(
130 popup.setWidth(300);
131 popup.setAnchorView(mActivity.getActiveContentViewCore().getContainerView());
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/content/browser/web_contents/
H A Dopened_by_dom_browsertest.cc71 // Wait for the popup to be created and for it to have navigated.
100 // Tests that window.close() works in a popup window that has navigated a few
110 Shell* popup = OpenWindowFromJavaScript(shell(), url2); local
111 NavigateToURL(popup, url3);
112 EXPECT_TRUE(AttemptCloseFromJavaScript(popup->web_contents()));
115 // Tests that window.close() works in a popup window that has navigated a few
135 Shell* popup = OpenWindowFromJavaScript(shell(), url2); local
136 NavigateToURL(popup, url3);
137 EXPECT_TRUE(AttemptCloseFromJavaScript(popup->web_contents()));
/external/chromium_org/chrome/browser/extensions/
H A Dprocess_manager_browsertest.cc73 // Load an extension with the ability to open a popup but no background
75 scoped_refptr<const Extension> popup = local
78 .AppendASCII("popup"));
79 ASSERT_TRUE(popup.get());
84 EXPECT_FALSE(pm->GetBackgroundHostForExtension(popup->id()));
85 EXPECT_EQ(0u, pm->GetRenderViewHostsForExtension(popup->id()).size());
86 EXPECT_TRUE(pm->GetSiteInstanceForURL(popup->url()));
87 EXPECT_FALSE(pm->IsBackgroundHostClosing(popup->id()));
88 EXPECT_EQ(0, pm->GetLazyKeepaliveCount(popup.get()));
90 // Simulate clicking on the action to open a popup
[all...]
/external/chromium_org/chrome/browser/ui/tabs/
H A Dpinned_tab_service_unittest.cc48 // Makes sure closing a popup triggers writing pinned tabs.
54 // Create a popup.
57 scoped_ptr<Browser> popup(
68 // Close the popup. This shouldn't reset the saved state.
69 popup->tab_strip_model()->CloseAllTabs();
70 popup.reset(NULL);
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/
H A DAppMenuTest.java26 * Tests AppMenu popup
250 ListPopupWindow popup = mAppMenu.getPopup();
251 if (popup == null || popup.getListView() == null) return ListView.INVALID_POSITION;
252 ListView listView = popup.getListView();
257 ListPopupWindow popup = mAppMenu.getPopup();
258 if (popup == null || popup.getListView() == null) return 0;
259 return popup.getListView().getCount();
/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/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 {
284 .month-popup-view {
310 .month-popup-button:focus,
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DMockPagePopupDriver.cpp66 m_iframe->setIdAttribute("mock-page-popup");
143 void MockPagePopupDriver::closePagePopup(PagePopup* popup) argument
145 if (!popup || popup != m_mockPagePopup.get())
/external/chromium_org/chrome/browser/ui/android/
H A Dnavigation_popup.cc87 NavigationPopup* popup = new NavigationPopup(env, obj); local
88 return reinterpret_cast<intptr_t>(popup);
/external/chromium_org/chrome/browser/ui/views/
H A Dstatus_bubble_views.h42 // Reposition the bubble's popup - as we are using a WS_POPUP for the bubble,
64 views::Widget* GetPopupForTest() { return popup(); }
67 views::Widget* popup() { return popup_.get(); } function in class:StatusBubbleViews
74 // Initializes the popup and view.
130 // We use a HWND for the popup so that it may float above any HWNDs in our
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/
H A DAppMenu.java35 * Shows a popup of menuitems anchored to a host view. When a item is selected we call
193 ListPopupWindow popup, int screenRotation, Rect appRect, Rect padding) {
195 popup.getAnchorView().getLocationInWindow(anchorLocation);
196 int anchorHeight = popup.getAnchorView().getHeight();
216 popup.setHorizontalOffset(horizontalOffset);
219 popup.setVerticalOffset(-padding.bottom);
223 popup.setVerticalOffset(-mNegativeSoftwareVerticalOffset - anchorHeight);
228 * Handles clicks on the AppMenu popup.
229 * @param menuItem The menu item in the popup that was clicked.
192 setPopupOffset( ListPopupWindow popup, int screenRotation, Rect appRect, Rect padding) argument
H A DAppMenuDragHelper.java67 // If user is dragging and the popup ListView is too big to display at once,
73 ListPopupWindow popup = mAppMenu.getPopup();
74 if (popup == null || popup.getListView() == null) return;
82 popup.getListView().smoothScrollBy(diff, 0);
/external/chromium_org/chrome/browser/ui/ash/
H A Dwindow_positioner_unittest.cc55 // base by adding a window and a popup which can be independently
66 aura::Window* popup() { return popup_.get(); } function in class:ash::test::WindowPositionerTest
115 // Creating a browser for the popup.
125 popup()->Hide();
230 popup()->SetBounds(top_left);
231 popup()->Show();
239 // Block now everything so that we can only put the popup on the bottom
243 popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(),
255 popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(),
274 // Check that the popup i
[all...]
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dwaterfall_view.css86 .waterfall-view-popup {
93 .waterfall-view-popup-list {
102 .waterfall-view-popup-list > li {
105 .waterfall-view-popup-list-url-item {
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
H A Dextension_popup_controller.h28 // This controller manages a single browser action popup that can appear once a
30 // popup view showing the content and resizes the window to accomodate any size
33 // There can only be one browser action popup open at a time, so a static
34 // variable holds a reference to the current popup.
51 // Whether the popup has a devtools window attached to it.
62 // Returns the ExtensionViewHost object associated with this popup.
65 // Starts the process of showing the given popup URL. Instantiates an
67 // host for the popup created by the extension process manager specific to the
71 // The actual display of the popup is delayed until the page contents finish
73 // Passing YES to |devMode| will launch the webkit inspector for the popup,
86 + (ExtensionPopupController*)popup; variable
[all...]
/external/chromium_org/ui/login/
H A Doobe.css132 #installation-settings-popup {
143 #installation-settings-popup h1 {
155 .popup-content-area {
159 #installation-settings-popup button {
178 #popup-overlay {

Completed in 478 milliseconds

123