/external/chromium_org/chrome/common/extensions/docs/static/js/ |
D | popup.js | 17 var popup = document.getElementById(popupId); 18 if (popup == null) 21 toggle(popup); 35 function toggle(popup) { argument 36 if (hideActive() == popup) 38 popup.style.display = 'block'; 39 activePopup = popup;
|
/external/chromium_org/ui/message_center/cocoa/ |
D | popup_collection.mm | 19 // Shows a popup, if there is room on-screen, for the given notification. 26 // Removes a popup from the screen and lays out new notifications that can 33 // Returns the index of the popup showing the notification with the given ID. 36 // Repositions all popup notifications if needed. 117 ^BOOL(id popup, NSUInteger index, BOOL* stop) { 118 return [popup notificationID] == notificationID; 165 // The popup is owned by itself. It will be released at close. 166 MCPopupController* popup = 172 NSRect popupFrame = [popup bounds]; 189 NSRect bounds = [popup bounds]; [all …]
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/ |
D | NavigationPopupTest.java | 84 final NavigationPopup popup = new NavigationPopup( in testFaviconFetching() local 86 popup.setWidth(300); in testFaviconFetching() 87 popup.setAnchorView(mActivity.getActiveContentViewCore().getContainerView()); in testFaviconFetching() 91 popup.show(); in testFaviconFetching() 119 popup.dismiss(); in testFaviconFetching() 128 final NavigationPopup popup = new NavigationPopup( in testItemSelection() local 130 popup.setWidth(300); in testItemSelection() 131 popup.setAnchorView(mActivity.getActiveContentViewCore().getContainerView()); in testItemSelection() 135 popup.show(); in testItemSelection() 142 popup.performItemClick(1); in testItemSelection() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | process_manager_browsertest.cc | 75 scoped_refptr<const Extension> popup = in IN_PROC_BROWSER_TEST_F() local 79 ASSERT_TRUE(popup.get()); in IN_PROC_BROWSER_TEST_F() 84 EXPECT_FALSE(pm->GetBackgroundHostForExtension(popup->id())); in IN_PROC_BROWSER_TEST_F() 85 EXPECT_EQ(0u, pm->GetRenderViewHostsForExtension(popup->id()).size()); in IN_PROC_BROWSER_TEST_F() 86 EXPECT_TRUE(pm->GetSiteInstanceForURL(popup->url())); in IN_PROC_BROWSER_TEST_F() 87 EXPECT_FALSE(pm->IsBackgroundHostClosing(popup->id())); in IN_PROC_BROWSER_TEST_F() 88 EXPECT_EQ(0, pm->GetLazyKeepaliveCount(popup.get())); in IN_PROC_BROWSER_TEST_F() 103 EXPECT_FALSE(pm->GetBackgroundHostForExtension(popup->id())); in IN_PROC_BROWSER_TEST_F() 104 EXPECT_EQ(1u, pm->GetRenderViewHostsForExtension(popup->id()).size()); in IN_PROC_BROWSER_TEST_F() 105 EXPECT_TRUE(pm->GetSiteInstanceForURL(popup->url())); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | extension_view_host_mac.mm | 15 // If there is a popup open for this host's extension, close it. 16 ExtensionPopupController* popup = [ExtensionPopupController popup]; 18 base::mac::ObjCCast<InfoBubbleWindow>([popup window]); 19 if ([window isVisible] && [popup extensionViewHost] == this) { 21 [popup close];
|
/external/chromium_org/chrome/browser/ui/blocked_content/ |
D | popup_blocker_tab_helper.cc | 116 BlockedRequest* popup = blocked_popups_.Lookup(id); in ShowBlockedPopup() local 117 if (!popup) in ShowBlockedPopup() 120 popup->params.user_gesture = true; in ShowBlockedPopup() 122 TabModelList::HandlePopupNavigation(&popup->params); in ShowBlockedPopup() 124 chrome::Navigate(&popup->params); in ShowBlockedPopup() 126 if (popup->params.target_contents) { in ShowBlockedPopup() 127 popup->params.target_contents->Send(new ChromeViewMsg_SetWindowFeatures( in ShowBlockedPopup() 128 popup->params.target_contents->GetRoutingID(), popup->window_features)); in ShowBlockedPopup()
|
D | popup_blocker_browsertest.cc | 393 WebContents* popup = in IN_PROC_BROWSER_TEST_F() local 400 gfx::Size window_size = popup->GetContainerBounds().size(); in IN_PROC_BROWSER_TEST_F() 437 WebContents* popup = in IN_PROC_BROWSER_TEST_F() local 444 content::TestNavigationObserver nav_observer(popup); in IN_PROC_BROWSER_TEST_F() 445 popup->GetMainFrame()->ExecuteJavaScript( in IN_PROC_BROWSER_TEST_F() 450 CloseObserver close_observer(popup); in IN_PROC_BROWSER_TEST_F() 451 popup->GetMainFrame()->ExecuteJavaScript( in IN_PROC_BROWSER_TEST_F() 472 WebContents* popup = in IN_PROC_BROWSER_TEST_F() local 479 EXPECT_EQ(GURL(url::kAboutBlankURL), popup->GetURL()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
D | ContentViewPopupZoomerTest.java | 38 PopupZoomer popup = findPopupZoomer(mView); in isSatisfied() local 39 boolean isVisibilitySet = popup == null ? false : popup.getVisibility() == View.VISIBLE; in isSatisfied() 51 PopupZoomer popup = findPopupZoomer(mView); in isSatisfied() local 52 if (popup == null) return false; in isSatisfied() 53 return popup.getWidth() != 0 && popup.getHeight() != 0; in isSatisfied()
|
/external/chromium_org/content/browser/web_contents/ |
D | opened_by_dom_browsertest.cc | 110 Shell* popup = OpenWindowFromJavaScript(shell(), url2); in IN_PROC_BROWSER_TEST_F() local 111 NavigateToURL(popup, url3); in IN_PROC_BROWSER_TEST_F() 112 EXPECT_TRUE(AttemptCloseFromJavaScript(popup->web_contents())); in IN_PROC_BROWSER_TEST_F() 135 Shell* popup = OpenWindowFromJavaScript(shell(), url2); in IN_PROC_BROWSER_TEST_F() local 136 NavigateToURL(popup, url3); in IN_PROC_BROWSER_TEST_F() 137 EXPECT_TRUE(AttemptCloseFromJavaScript(popup->web_contents())); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/ |
D | AppMenuTest.java | 250 ListPopupWindow popup = mAppMenu.getPopup(); in getCurrentFocusedRow() local 251 if (popup == null || popup.getListView() == null) return ListView.INVALID_POSITION; in getCurrentFocusedRow() 252 ListView listView = popup.getListView(); in getCurrentFocusedRow() 257 ListPopupWindow popup = mAppMenu.getPopup(); in getCount() local 258 if (popup == null || popup.getListView() == null) return 0; in getCount() 259 return popup.getListView().getCount(); in getCount()
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
D | extension_popup.cc | 196 ExtensionPopup* popup = new ExtensionPopup(host, anchor_view, arrow, in ShowPopup() local 198 views::BubbleDelegateView::CreateBubble(popup); in ShowPopup() 200 gfx::NativeView native_view = popup->GetWidget()->GetNativeView(); in ShowPopup() 208 popup->ShowBubble(); in ShowPopup() 210 aura::Window* bubble_window = popup->GetWidget()->GetNativeWindow(); in ShowPopup() 213 activation_client->AddObserver(popup); in ShowPopup() 215 return popup; in ShowPopup()
|
D | extension_dialog_observer.h | 19 virtual void ExtensionDialogClosing(ExtensionDialog* popup) = 0; 22 virtual void ExtensionTerminated(ExtensionDialog* popup) = 0;
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | autofill_section_container_unittest.mm | 101 NSPopUpButton* popup = base::mac::ObjCCastStrict<NSPopUpButton>( 103 EXPECT_EQ(13, [popup numberOfItems]); 104 EXPECT_NSEQ(@"Month", [popup itemTitleAtIndex:0]); 105 EXPECT_NSEQ(@"01", [popup itemTitleAtIndex:1]); 106 EXPECT_NSEQ(@"02", [popup itemTitleAtIndex:2]); 107 EXPECT_NSEQ(@"03", [popup itemTitleAtIndex:3]); 108 EXPECT_NSEQ(@"12", [popup itemTitleAtIndex:12]); 138 NSPopUpButton* popup = base::mac::ObjCCastStrict<NSPopUpButton>( 140 [popup selectItemWithTitle:@"02"]; 172 // Expect _three_ items - popup menus need an empty first item.
|
/external/chromium_org/components/web_modal/ |
D | popup_manager.cc | 51 static_cast<NativeWebContentsModalDialog>(manager->popup()); in ShowPopup() 59 void PopupManager::ShowModalDialog(NativePopup popup, in ShowModalDialog() argument 65 manager->ShowModalDialog(popup); in ShowModalDialog() 88 void PopupManager::WillClose(NativePopup popup) { in WillClose() argument
|
D | single_popup_manager.h | 24 virtual void WillClose(NativePopup popup) = 0; 65 virtual NativePopup popup() = 0;
|
D | popup_manager.h | 41 virtual void ShowModalDialog(NativePopup popup, 51 virtual void WillClose(NativePopup popup) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/tabs/ |
D | pinned_tab_service_unittest.cc | 57 scoped_ptr<Browser> popup( in TEST_F() local 69 popup->tab_strip_model()->CloseAllTabs(); in TEST_F() 70 popup.reset(NULL); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | page_action_decoration.mm | 38 // icon area of the decoration. This makes the popup's upper border 39 // 2px away from the omnibox's lower border (matches omnibox popup 86 // Either notify listeners or show a popup depending on the Page 203 // Anchor popup at the bottom center of the page action icon. 229 ExtensionPopupController* popup = [ExtensionPopupController popup]; 230 if (popup && ![popup isClosing]) 231 [popup close];
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
D | calendarPicker.css | 165 .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/chrome/browser/ui/ash/ |
D | window_positioner_unittest.cc | 66 aura::Window* popup() { return popup_.get(); } in popup() function in ash::test::WindowPositionerTest 125 popup()->Hide(); in SetUp() 230 popup()->SetBounds(top_left); in TEST_F() 231 popup()->Show(); in TEST_F() 243 popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), in TEST_F() 255 popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), in TEST_F()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/ |
D | AppMenu.java | 193 ListPopupWindow popup, int screenRotation, Rect appRect, Rect padding) { in setPopupOffset() argument 195 popup.getAnchorView().getLocationInWindow(anchorLocation); in setPopupOffset() 196 int anchorHeight = popup.getAnchorView().getHeight(); in setPopupOffset() 216 popup.setHorizontalOffset(horizontalOffset); in setPopupOffset() 219 popup.setVerticalOffset(-padding.bottom); in setPopupOffset() 223 popup.setVerticalOffset(-mNegativeSoftwareVerticalOffset - anchorHeight); in setPopupOffset()
|
D | AppMenuDragHelper.java | 73 ListPopupWindow popup = mAppMenu.getPopup(); in AppMenuDragHelper() 74 if (popup == null || popup.getListView() == null) return; in AppMenuDragHelper() 82 popup.getListView().smoothScrollBy(diff, 0); in AppMenuDragHelper()
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
D | omnibox_popup_view_mac.mm | 36 // Padding between matrix and the top and bottom of the popup window. 39 // Animation duration when animating the popup window smaller. 42 // Background colors for different states of the popup elements. 62 // Destroy the popup model before this object is destroyed, because 66 // Break references to |this| because the popup may not be 84 // Break references to |this| because the popup may not be 98 // Calculate the width of the matrix based on backing out the popup's border 103 // Load the results into the popup's matrix. 140 // because actually resizing the matrix messed up the popup size 234 // Calculate the popup's position on the screen. [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | browser_action_test_util_mac.mm | 72 return [[ExtensionPopupController popup] view]; 76 return [ExtensionPopupController popup] != nil; 80 NSRect bounds = [[[ExtensionPopupController popup] view] bounds]; 85 ExtensionPopupController* controller = [ExtensionPopupController popup];
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | MockPagePopupDriver.cpp | 143 void MockPagePopupDriver::closePagePopup(PagePopup* popup) in closePagePopup() argument 145 if (!popup || popup != m_mockPagePopup.get()) in closePagePopup()
|