/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
D | NavigationTest.java | 28 private void goBack(final ContentView contentView, in goBack() argument 35 contentView.goBack(); in goBack() 40 private void reload(final ContentView contentView, in reload() argument 47 contentView.getContentViewCore().reload(true); in reload() 57 ContentView contentView = activity.getActiveContentView(); in testDirectedNavigationHistory() local 59 new TestCallbackHelperContainer(contentView); in testDirectedNavigationHistory() 61 loadUrl(contentView, testCallbackHelperContainer, new LoadUrlParams(URL_2)); in testDirectedNavigationHistory() 62 loadUrl(contentView, testCallbackHelperContainer, new LoadUrlParams(URL_3)); in testDirectedNavigationHistory() 63 loadUrl(contentView, testCallbackHelperContainer, new LoadUrlParams(URL_4)); in testDirectedNavigationHistory() 64 loadUrl(contentView, testCallbackHelperContainer, new LoadUrlParams(URL_5)); in testDirectedNavigationHistory() [all …]
|
D | ContentViewTestBase.java | 34 ContentView contentView = activity.getActiveContentView(); in setUpContentView() 35 contentView.getContentViewCore().addPossiblyUnsafeJavascriptInterface(object, in setUpContentView() 38 new TestCallbackHelperContainer(contentView); in setUpContentView() 54 protected void loadDataSync(final ContentView contentView, final String data, in loadDataSync() argument 56 loadUrl(contentView, mTestCallbackHelperContainer, LoadUrlParams.createLoadDataParams( in loadDataSync()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPopupWindow.java | 19 private View contentView; field in ShadowPopupWindow 33 public void __constructor__(View contentView) { in __constructor__() argument 34 setContentView(contentView); in __constructor__() 38 public void __constructor__(View contentView, int width, int height, boolean focusable) { in __constructor__() argument 39 __constructor__(contentView); in __constructor__() 46 public void setContentView(View contentView) { in setContentView() argument 47 this.contentView = contentView; in setContentView() 48 context = contentView.getContext(); in setContentView() 53 return contentView; in getContentView() 146 containerView.addView(contentView); in showAsDropDown()
|
D | ShadowActivity.java | 39 private View contentView; field in ShadowActivity 106 contentView = getLayoutInflater().inflate(layoutResID, new FrameLayout(realActivity)); in setContentView() 112 contentView = view; in setContentView() 149 if (contentView != null) { in findViewById() 150 return contentView.findViewById(id); in findViewById() 162 contentViewContainer.addView(contentView, 0); in getContentViewContainer() 268 return contentView; in getContentView() 342 } else if (contentView != null) { in getCurrentFocus() 343 return contentView.findFocus(); in getCurrentFocus() 351 if (contentView != null) { in clearFocus() [all …]
|
D | ShadowTabSpec.java | 22 private View contentView; field in ShadowTabSpec 98 contentView = factory.createTabContent(this.tag); in setContent() 114 return contentView; in getContentView()
|
/external/chromium/chrome/browser/resources/net_internals/ |
D | tabswitcherview.js | 48 tab.contentView.setGeometry(left, contentTop, width, contentHeight); 59 activeTab.contentView.show(isVisible); 70 TabSwitcherView.prototype.addTab = function(id, contentView, switchOnClick) { argument 71 var tab = new TabEntry(id, contentView); 83 tab.contentView.show(false); 124 newTab.contentView.setParameters(params); 151 function TabEntry(id, contentView) { argument 153 this.contentView = contentView; 159 this.contentView.show(isSelected);
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
D | omnibox_popup_separator_view_unittest.mm | 13 NSView* contentView = [test_window() contentView]; 15 initWithFrame:[contentView bounds]]); 16 [contentView addSubview:bottom_view_]; 35 NSView* contentView = [test_window() contentView]; 37 initWithFrame:[contentView bounds]]); 38 [contentView addSubview:top_view_];
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | PopupWindowTest.java | 43 View contentView = new View(null); in testSetContentView() local 44 popupWindow.setContentView(contentView); in testSetContentView() 46 assertThat(popupWindow.getContentView(), is(contentView)); in testSetContentView() 128 private View contentView; field in PopupWindowTest.WithContentView 134 contentView = new View(Robolectric.application); in setUp() 135 contentView.setId(R.id.content_view); in setUp() 141 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true); in showAsDropDown_sticksWindowIntoWindowManager() 148 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true); in showAsDropdownWithOffsets_setsOffsetFields() 156 PopupWindow popupWindow = new PopupWindow(contentView); in supportsViewConstructor() 163 PopupWindow popupWindow = new PopupWindow(contentView); in backgroundDrawableIsBehindPopupViewContainer() [all …]
|
/external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/ |
D | ShellManager.java | 103 ContentView contentView = mActiveShell.getContentView(); in createShell() local 104 if (contentView != null) { in createShell() 105 mContentViewRenderView.setCurrentContentView(contentView); in createShell() 106 contentView.onShow(); in createShell() 116 ContentView contentView = shellView.getContentView(); in closeShell() local 117 if (contentView != null) contentView.onHide(); in closeShell()
|
/external/chromium/chrome/browser/renderer_host/ |
D | accelerated_plugin_view_mac_unittest.mm | 70 [[window contentView] addSubview:view]; 85 [[window1 contentView] addSubview:view]; 89 [[window2 contentView] addSubview:view]; 101 [[window contentView] addSubview:view]; 120 [[window contentView] addSubview:view]; 142 [[window1 contentView] addSubview:view]; 151 [[window2 contentView] addSubview:view]; 160 [[window1 contentView] addSubview:view]; 180 [[window contentView] addSubview:parent];
|
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ |
D | TestShellTab.java | 82 ContentView contentView = getContentView(); in loadUrlWithSanitization() 83 if (TextUtils.equals(url, contentView.getUrl())) { in loadUrlWithSanitization() 84 contentView.getContentViewCore().reload(true); in loadUrlWithSanitization() 87 contentView.loadUrl(new LoadUrlParams(url)); in loadUrlWithSanitization() 89 contentView.loadUrl(LoadUrlParams.createLoadHttpPostParams(url, postData)); in loadUrlWithSanitization()
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | hover_close_button_unittest.mm | 15 NSRect content_frame = [[test_window() contentView] frame]; 17 [[test_window() contentView] addSubview:button_]; 27 NSRect content_frame = [[test_window() contentView] frame]; 29 [[test_window() contentView] addSubview:button_];
|
D | validation_message_bubble_cocoa.mm | 47 NSView* contentView = [ValidationMessageBubbleController 49 [[window contentView] addSubview:contentView]; 50 NSRect contentFrame = [contentView frame]; 65 FlippedView* contentView = [[FlippedView alloc] initWithFrame:contentFrame]; 73 [contentView addSubview:imageView]; 87 [contentView addSubview:text]; 121 [contentView addSubview:text2]; 128 [contentView setFrame:contentFrame]; 129 return contentView;
|
D | first_run_dialog.mm | 216 NSView* contentView = [win contentView]; 217 NSRect windowFrame = [contentView convertRect:[win frame] fromView:nil]; 219 windowFrame = [contentView convertRect:windowFrame toView:nil]; 233 [[[win contentView] subviews] sortedArrayUsingFunction:CompareFrameY 265 NSView* contentView = [win contentView]; 266 [contentView setAutoresizesSubviews:NO]; 267 NSRect windowFrame = [contentView convertRect:[win frame] fromView:nil]; 269 windowFrame = [contentView convertRect:windowFrame toView:nil]; 271 [contentView setAutoresizesSubviews:YES];
|
D | browser_window_controller_private.mm | 164 defaultSheetRect.origin.y = NSHeight([[window contentView] frame]) - 179 NSView* contentView = [window contentView]; 180 NSRect contentBounds = [contentView bounds]; 207 NSRect windowFrame = [contentView convertRect:[window frame] fromView:nil]; 545 base::scoped_nsobject<NSView> contentView( 546 [[sourceWindow contentView] retain]); 549 [contentView setAutoresizesSubviews:NO]; 550 [contentView removeFromSuperview]; 562 [contentView setAutoresizesSubviews:YES]; 563 [destWindow setContentView:contentView]; [all …]
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
D | SelectPopupDialog.java | 156 public static void hide(ContentViewCore contentView) { in hide() argument 158 (contentView == null || sShownDialog.mContentViewCore == contentView)) { in hide() 159 if (contentView != null) contentView.selectPopupMenuItems(null); in hide()
|
D | InsertionHandleController.java | 287 View contentView = mContainer.getContentView(); in positionAtCursor() local 288 int width = contentView.getMeasuredWidth(); in positionAtCursor() 289 int height = contentView.getMeasuredHeight(); in positionAtCursor() 305 contentView = mContainer.getContentView(); in positionAtCursor() 306 width = contentView.getMeasuredWidth(); in positionAtCursor() 307 height = contentView.getMeasuredHeight(); in positionAtCursor()
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | first_run_dialog.mm | 219 NSView* contentView = [win contentView]; 220 NSRect windowFrame = [contentView convertRect:[win frame] fromView:nil]; 222 windowFrame = [contentView convertRect:windowFrame toView:nil]; 236 [[[win contentView] subviews] sortedArrayUsingFunction:CompareFrameY 268 NSView* contentView = [win contentView]; 269 [contentView setAutoresizesSubviews:NO]; 270 NSRect windowFrame = [contentView convertRect:[win frame] fromView:nil]; 272 windowFrame = [contentView convertRect:windowFrame toView:nil]; 274 [contentView setAutoresizesSubviews:YES];
|
D | focus_tracker_unittest.mm | 21 [[test_window() contentView] addSubview:viewA_]; 25 [[test_window() contentView] addSubview:viewB_]; 49 [[window contentView] addSubview:text]; 63 [[window contentView] addSubview:viewC];
|
/external/chromium/chrome/browser/ui/cocoa/tabs/ |
D | tab_window_controller.mm | 55 NSView* contentView = [[self window] contentView]; 56 NSRect contentFrame = [contentView frame]; 62 [contentView addSubview:sideTabStripView_]; 75 NSView* contentParent = [[[self window] contentView] superview]; 83 NSRect contentFrame = [[[self window] contentView] frame]; 158 [[[overlayWindow_ contentView] superview] addSubview:[self tabStripView]]; 163 [[overlayWindow_ contentView] addSubview:cachedContentView_]; 169 [[[[self window] contentView] superview] addSubview:[self tabStripView]]; 170 [[[[self window] contentView] superview] updateTrackingAreas]; 195 cachedContentView_ = [window contentView];
|
/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
D | avatar_menu_bubble_controller.mm | 209 NSView* contentView = [[self window] contentView]; 211 // |yOffset| is the next position at which to draw in contentView coordinates. 221 [contentView addSubview:newButton]; 225 NSMakeRect(10, yOffset, NSWidth([contentView frame]) - 20, 0)]; 227 [contentView addSubview:separator]; 239 [contentView addSubview:[itemView view]]; 248 NSView* contentView = [[self window] contentView]; 250 // |yOffset| is the next position at which to draw in contentView coordinates. 259 [contentView addSubview:newButton]; 263 NSMakeRect(10, yOffset, NSWidth([contentView frame]) - 20, 0)]; [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/ |
D | constrained_window_alert.mm | 50 NSView* contentView = [window_ contentView]; 53 [contentView addSubview:informativeTextField_]; 55 [contentView addSubview:messageTextField_]; 59 [contentView addSubview:closeButton_]; 100 [[window_ contentView] addSubview:linkView_]; 115 [[window_ contentView] addSubview:accessoryView_]; 143 [[window_ contentView] addSubview:button];
|
/external/chromium_org/ui/base/cocoa/ |
D | focus_tracker_unittest.mm | 22 [[test_window() contentView] addSubview:viewA_]; 26 [[test_window() contentView] addSubview:viewB_]; 51 [[window contentView] addSubview:text]; 66 [[window contentView] addSubview:viewC];
|
/external/chromium_org/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ |
D | ChromiumTestShellUrlTest.java | 43 final AtomicReference<ContentView> contentView = new AtomicReference<ContentView>(); in testChromeWelcomePageLoads() local 50 contentView.set(activeContentView); in testChromeWelcomePageLoads() 56 assertNotNull(contentView.get()); in testChromeWelcomePageLoads()
|
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
D | TestCallbackHelperContainer.java | 21 public TestCallbackHelperContainer(ContentView contentView) { in TestCallbackHelperContainer() argument 23 contentView.getContentViewCore().setContentViewClient(mTestContentViewClient); in TestCallbackHelperContainer() 24 mTestWebContentsObserver = new TestWebContentsObserver(contentView.getContentViewCore()); in TestCallbackHelperContainer()
|