Home
last modified time | relevance | path

Searched refs:contentView (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DNavigationTest.java28 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 …]
DContentViewTestBase.java34 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/
DShadowPopupWindow.java19 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()
DShadowActivity.java39 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 …]
DShadowTabSpec.java22 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/
Dtabswitcherview.js48 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/
Domnibox_popup_separator_view_unittest.mm13 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/
DPopupWindowTest.java43 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/
DShellManager.java103 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/
Daccelerated_plugin_view_mac_unittest.mm70 [[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/
DTestShellTab.java82 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/
Dhover_close_button_unittest.mm15 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_];
Dvalidation_message_bubble_cocoa.mm47 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;
Dfirst_run_dialog.mm216 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];
Dbrowser_window_controller_private.mm164 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/
DSelectPopupDialog.java156 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()
DInsertionHandleController.java287 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/
Dfirst_run_dialog.mm219 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];
Dfocus_tracker_unittest.mm21 [[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/
Dtab_window_controller.mm55 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/
Davatar_menu_bubble_controller.mm209 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/
Dconstrained_window_alert.mm50 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/
Dfocus_tracker_unittest.mm22 [[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/
DChromiumTestShellUrlTest.java43 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/
DTestCallbackHelperContainer.java21 public TestCallbackHelperContainer(ContentView contentView) { in TestCallbackHelperContainer() argument
23 contentView.getContentViewCore().setContentViewClient(mTestContentViewClient); in TestCallbackHelperContainer()
24 mTestWebContentsObserver = new TestWebContentsObserver(contentView.getContentViewCore()); in TestCallbackHelperContainer()

12345678910>>...12