popup 132 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java private void setPopupOffset(ListPopupWindow popup, int screenRotation, Rect appRect) { popup 134 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java popup.getBackground().getPadding(paddingRect); popup 136 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java popup.getAnchorView().getLocationInWindow(anchorLocation); popup 156 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java popup.setHorizontalOffset(horizontalOffset); popup 159 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java popup.setVerticalOffset(mAdditionalVerticalOffset - paddingRect.bottom); popup 163 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java popup.setVerticalOffset(mAdditionalVerticalOffset - paddingRect.top); popup 108 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java ListPopupWindow popup = mAppMenu.getPopup(); popup 109 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java if (popup == null || popup.getListView() == null) return; popup 117 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java popup.getListView().smoothScrollBy(diff, 0); popup 157 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java ListPopupWindow popup = mAppMenu.getPopup(); popup 158 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java popup.getListView().setOnTouchListener(mDragScrollTouchEventForwarder); popup 162 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java ViewParent listViewParent = popup.getListView().getParent(); popup 84 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java final NavigationPopup popup = new NavigationPopup( popup 86 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.setWidth(300); popup 87 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.setAnchorView(mActivity.getActiveContentView()); popup 91 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.show(); popup 119 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.dismiss(); popup 128 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java final NavigationPopup popup = new NavigationPopup( popup 130 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.setWidth(300); popup 131 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.setAnchorView(mActivity.getActiveContentView()); popup 135 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.show(); popup 142 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java popup.performItemClick(1); popup 146 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java assertFalse("Popup did not hide as expected.", popup.isShowing()); popup 225 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java ListPopupWindow popup = mAppMenu.getPopup(); popup 226 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java if (popup == null || popup.getListView() == null) return ListView.INVALID_POSITION; popup 227 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java ListView listView = popup.getListView(); popup 232 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java ListPopupWindow popup = mAppMenu.getPopup(); popup 233 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java if (popup == null || popup.getListView() == null) return 0; popup 234 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java return popup.getListView().getCount(); popup 169 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java final AutofillPopup popup = (AutofillPopup) anchorView.getTag(); popup 171 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java waitForAutofillPopopShow(popup); popup 174 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java touchCommon.singleClickViewRelative(popup.getListView(), 10, 10); popup 305 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java private void waitForAutofillPopopShow(final AutofillPopup popup) throws InterruptedException { popup 310 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java return popup.isShowing(); popup 88 chrome/browser/chromeos/login/screens/screen_manager.cc bool popup) { popup 92 chrome/browser/chromeos/login/screens/screen_manager.cc start_screen_popup_ = popup; popup 96 chrome/browser/chromeos/login/screens/screen_manager.cc DCHECK(popup || screen_stack_.size() <= 1); popup 105 chrome/browser/chromeos/login/screens/screen_manager.cc if (!popup) popup 109 chrome/browser/chromeos/login/screens/screen_manager.cc DCHECK(popup || screen_stack_.empty()); popup 75 chrome/browser/extensions/process_manager_browsertest.cc scoped_refptr<const Extension> popup = popup 79 chrome/browser/extensions/process_manager_browsertest.cc ASSERT_TRUE(popup); popup 84 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_FALSE(pm->GetBackgroundHostForExtension(popup->id())); popup 85 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_EQ(0u, pm->GetRenderViewHostsForExtension(popup->id()).size()); popup 86 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_TRUE(pm->GetSiteInstanceForURL(popup->url())); popup 87 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_FALSE(pm->IsBackgroundHostClosing(popup->id())); popup 88 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_EQ(0, pm->GetLazyKeepaliveCount(popup.get())); popup 103 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_FALSE(pm->GetBackgroundHostForExtension(popup->id())); popup 104 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_EQ(1u, pm->GetRenderViewHostsForExtension(popup->id()).size()); popup 105 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_TRUE(pm->GetSiteInstanceForURL(popup->url())); popup 106 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_FALSE(pm->IsBackgroundHostClosing(popup->id())); popup 107 chrome/browser/extensions/process_manager_browsertest.cc EXPECT_EQ(0, pm->GetLazyKeepaliveCount(popup.get())); popup 485 chrome/browser/sessions/better_session_restore_browsertest.cc Browser* popup = new Browser(Browser::CreateParams( popup 489 chrome/browser/sessions/better_session_restore_browsertest.cc popup->window()->Show(); popup 771 chrome/browser/sessions/better_session_restore_browsertest.cc Browser* popup = new Browser(Browser::CreateParams( popup 775 chrome/browser/sessions/better_session_restore_browsertest.cc popup->window()->Show(); popup 785 chrome/browser/sessions/better_session_restore_browsertest.cc Browser* popup = new Browser(Browser::CreateParams( popup 789 chrome/browser/sessions/better_session_restore_browsertest.cc popup->window()->Show(); popup 791 chrome/browser/sessions/better_session_restore_browsertest.cc Browser* new_browser = QuitBrowserAndRestore(popup, false); popup 318 chrome/browser/sessions/session_restore_browsertest.cc Browser* popup = popup 321 chrome/browser/sessions/session_restore_browsertest.cc popup->window()->Show(); popup 328 chrome/browser/sessions/session_restore_browsertest.cc chrome::NewWindow(popup); popup 868 chrome/browser/sessions/session_restore_browsertest.cc Browser* popup = new Browser( popup 871 chrome/browser/sessions/session_restore_browsertest.cc popup->window()->Show(); popup 874 chrome/browser/sessions/session_restore_browsertest.cc ui_test_utils::NavigateToURL(popup, url1_); popup 90 chrome/browser/ui/android/navigation_popup.cc NavigationPopup* popup = new NavigationPopup(env, obj); popup 91 chrome/browser/ui/android/navigation_popup.cc return reinterpret_cast<intptr_t>(popup); popup 125 chrome/browser/ui/ash/window_positioner_unittest.cc popup()->Hide(); popup 230 chrome/browser/ui/ash/window_positioner_unittest.cc popup()->SetBounds(top_left); popup 231 chrome/browser/ui/ash/window_positioner_unittest.cc popup()->Show(); popup 243 chrome/browser/ui/ash/window_positioner_unittest.cc popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), popup 255 chrome/browser/ui/ash/window_positioner_unittest.cc popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), popup 351 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc WebContents* popup = popup 358 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc gfx::Size window_size = popup->GetView()->GetContainerSize(); popup 407 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc WebContents* popup = popup 414 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc EXPECT_EQ(GURL(content::kAboutBlankURL), popup->GetURL()); popup 117 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc BlockedRequest* popup = blocked_popups_.Lookup(id); popup 118 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc if (!popup) popup 121 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc popup->params.user_gesture = true; popup 123 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc TabModelList::HandlePopupNavigation(&popup->params); popup 125 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc chrome::Navigate(&popup->params); popup 127 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc if (popup->params.target_contents) { popup 128 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc popup->params.target_contents->Send(new ChromeViewMsg_SetWindowFeatures( popup 129 chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc popup->params.target_contents->GetRoutingID(), popup->window_features)); popup 382 chrome/browser/ui/browser_navigator_browsertest.cc Browser* popup = CreateEmptyBrowserForType(Browser::TYPE_POPUP, popup 384 chrome/browser/ui/browser_navigator_browsertest.cc chrome::NavigateParams p(MakeNavigateParams(popup)); popup 390 chrome/browser/ui/browser_navigator_browsertest.cc EXPECT_NE(popup, p.browser); popup 399 chrome/browser/ui/browser_navigator_browsertest.cc EXPECT_EQ(1, popup->tab_strip_model()->count()); popup 414 chrome/browser/ui/browser_navigator_browsertest.cc Browser* popup = CreateEmptyBrowserForType( popup 417 chrome/browser/ui/browser_navigator_browsertest.cc chrome::NavigateParams p(MakeNavigateParams(popup)); popup 423 chrome/browser/ui/browser_navigator_browsertest.cc EXPECT_NE(popup, p.browser); popup 435 chrome/browser/ui/browser_navigator_browsertest.cc EXPECT_EQ(1, popup->tab_strip_model()->count()); popup 86 chrome/browser/ui/cocoa/extensions/extension_popup_controller.h + (ExtensionPopupController*)popup; popup 133 chrome/browser/ui/content_settings/content_setting_bubble_model.h void add_popup(const PopupItem& popup) { popup 134 chrome/browser/ui/content_settings/content_setting_bubble_model.h bubble_content_.popup_items.push_back(popup); popup 1383 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc Browser* popup = new Browser(params); popup 1387 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc chrome::AddSelectedTabWithURL(popup, GURL(content::kAboutBlankURL), popup 1391 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc popup->window()->Show(); popup 1396 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc EnsureFindBoxOpenForBrowser(popup); popup 1401 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ASSERT_LE(GetFindBarWidthForBrowser(popup), popup 1402 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc popup->window()->GetBounds().width()); popup 709 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); popup 710 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (popup) popup 711 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc popup->DestroyPopup(); popup 965 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); popup 969 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!popup || popup->being_inspected()) popup 81 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); popup 82 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc if (popup) popup 83 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc return popup->GetViewBounds(); popup 88 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc ExtensionPopupGtk* popup = ExtensionPopupGtk::get_current_extension_popup(); popup 89 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc if (popup) popup 90 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc return popup->DestroyPopup(); popup 436 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc Browser* popup = CreateBrowserForPopup(browser()->profile()); popup 437 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(popup)); popup 440 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc GetOmniboxViewForBrowser(popup, &omnibox_view)); popup 441 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc chrome::FocusLocationBar(popup); popup 450 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc popup, ui::VKEY_W, ui::EF_CONTROL_DOWN, popup 451 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc chrome::NOTIFICATION_BROWSER_CLOSED, content::Source<Browser>(popup))); popup 454 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc popup = CreateBrowserForPopup(browser()->profile()); popup 455 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(popup)); popup 457 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc GetOmniboxViewForBrowser(popup, &omnibox_view)); popup 462 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc chrome::FocusLocationBar(popup); popup 466 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_NO_FATAL_FAILURE(SendKeyForBrowser(popup, ui::VKEY_S, 0)); popup 471 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc SendKeyForBrowser(popup, ui::VKEY_X, kCtrlOrCmdMask)); popup 478 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc popup, ui::VKEY_F4, ui::EF_ALT_DOWN, popup 479 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc chrome::NOTIFICATION_BROWSER_CLOSED, content::Source<Browser>(popup))); popup 167 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc Browser* popup = new Browser( popup 170 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc ASSERT_TRUE(popup->is_type_popup()); popup 171 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc ASSERT_EQ(popup, observer.added_browser_); popup 179 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc launch.OpenURLsInBrowser(popup, false, urls, chrome::GetActiveDesktop()); popup 180 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc ASSERT_NE(popup, observer.added_browser_); popup 57 chrome/browser/ui/tabs/pinned_tab_service_unittest.cc scoped_ptr<Browser> popup( popup 69 chrome/browser/ui/tabs/pinned_tab_service_unittest.cc popup->tab_strip_model()->CloseAllTabs(); popup 70 chrome/browser/ui/tabs/pinned_tab_service_unittest.cc popup.reset(NULL); popup 19 chrome/browser/ui/views/extensions/extension_dialog_observer.h virtual void ExtensionDialogClosing(ExtensionDialog* popup) = 0; popup 22 chrome/browser/ui/views/extensions/extension_dialog_observer.h virtual void ExtensionTerminated(ExtensionDialog* popup) = 0; popup 221 chrome/browser/ui/views/extensions/extension_popup.cc ExtensionPopup* popup = new ExtensionPopup(host, anchor_view, arrow, popup 223 chrome/browser/ui/views/extensions/extension_popup.cc views::BubbleDelegateView::CreateBubble(popup); popup 226 chrome/browser/ui/views/extensions/extension_popup.cc gfx::NativeView native_view = popup->GetWidget()->GetNativeView(); popup 238 chrome/browser/ui/views/extensions/extension_popup.cc popup->ShowBubble(); popup 241 chrome/browser/ui/views/extensions/extension_popup.cc aura::Window* bubble_window = popup->GetWidget()->GetNativeWindow(); popup 244 chrome/browser/ui/views/extensions/extension_popup.cc activation_client->AddObserver(popup); popup 247 chrome/browser/ui/views/extensions/extension_popup.cc return popup; popup 1264 chrome/browser/ui/views/location_bar/location_bar_view.cc OmniboxPopupView* popup = omnibox_view_->model()->popup_model()->view(); popup 1265 chrome/browser/ui/views/location_bar/location_bar_view.cc if (popup->IsOpen()) popup 1266 chrome/browser/ui/views/location_bar/location_bar_view.cc popup->UpdatePopupAppearance(); popup 132 chrome/browser/ui/views/status_bubble_views.cc views::Widget* popup, popup 202 chrome/browser/ui/views/status_bubble_views.cc views::Widget* popup, popup 209 chrome/browser/ui/views/status_bubble_views.cc popup_(popup), popup 64 chrome/browser/ui/views/status_bubble_views.h views::Widget* GetPopupForTest() { return popup(); } popup 67 chrome/browser/ui/views/status_bubble_views.h views::Widget* popup() { return popup_.get(); } popup 146 chrome/common/extensions/api/extension_action/action_info.cc const base::DictionaryValue* popup = NULL; popup 152 chrome/common/extensions/api/extension_action/action_info.cc dict->GetDictionary(popup_key, &popup)) { popup 153 chrome/common/extensions/api/extension_action/action_info.cc if (!popup->GetString(keys::kPageActionPopupPath, &url_str)) { popup 142 chrome/common/extensions/docs/examples/apps/hello-php/index.php if (isset($_REQUEST['popup']) && !isset($_SESSION['redirect_to'])) { popup 274 chrome/common/extensions/docs/examples/apps/hello-php/index.php returnToUrl: '<?php echo "$selfUrl?popup=true" ?>', popup 38 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java PopupZoomer popup = findPopupZoomer(mView); popup 39 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java boolean isVisibilitySet = popup == null ? false : popup.getVisibility() == View.VISIBLE; popup 51 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java PopupZoomer popup = findPopupZoomer(mView); popup 52 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java if (popup == null) return false; popup 53 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java return popup.getWidth() != 0 && popup.getHeight() != 0; popup 565 content/renderer/render_widget.cc ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator) { popup 566 content/renderer/render_widget.cc popup->SetOriginScaleAndOffsetForEmulation( popup 330 content/renderer/render_widget.h ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); popup 15 ui/base/gtk/gtk_windowing.cc void StackPopupWindow(GtkWidget* popup, GtkWidget* toplevel) { popup 16 ui/base/gtk/gtk_windowing.cc DCHECK(GTK_IS_WINDOW(popup) && gtk_widget_is_toplevel(popup) && popup 17 ui/base/gtk/gtk_windowing.cc gtk_widget_get_realized(popup)); popup 32 ui/base/gtk/gtk_windowing.cc XID window_xid = ui::GetX11WindowFromGtkWidget(popup); popup 15 ui/base/gtk/gtk_windowing.h UI_BASE_EXPORT void StackPopupWindow(GtkWidget* popup, GtkWidget* toplevel);