Searched defs:view (Results 51 - 75 of 738) sorted by relevance

1234567891011>>

/external/chromium_org/content/browser/renderer_host/
H A Ddip_util.cc20 float GetScaleFactorForView(const RenderWidgetHostView* view) { argument
21 return ui::GetScaleFactorForNativeView(view ? view->GetNativeView() : NULL);
24 gfx::Point ConvertViewPointToDIP(const RenderWidgetHostView* view, argument
27 gfx::ScalePoint(point_in_pixel, 1.0f / GetScaleFactorForView(view)));
30 gfx::Size ConvertViewSizeToPixel(const RenderWidgetHostView* view, argument
32 return ConvertSizeToPixel(GetScaleFactorForView(view), size_in_dip);
35 gfx::Rect ConvertViewRectToPixel(const RenderWidgetHostView* view, argument
37 return ConvertRectToPixel(GetScaleFactorForView(view), rect_in_dip);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DActivityContentVideoViewClient.java10 import android.view.Gravity;
11 import android.view.View;
12 import android.view.ViewGroup;
13 import android.view.WindowManager;
28 public boolean onShowCustomView(View view) { argument
30 decor.addView(view, 0,
36 mView = view;
55 * @param view The decor view belongs to the activity window
59 private void setSystemUiVisibility(View view, boolea argument
[all...]
/external/chromium_org/content/renderer/media/
H A Dmedia_stream_audio_source.cc18 RenderViewImpl* const view = frame ? frame->render_view() : NULL; local
19 return view ? view->GetRoutingID() : -1;
/external/chromium_org/content/renderer/
H A Dmouse_lock_dispatcher_browsertest.cc28 // fixture containing a RenderViewImpl view() and interacting to that interface.
33 route_id_ = view()->GetRoutingID();
45 RenderViewImpl* view() { return static_cast<RenderViewImpl*>(view_); } function in class:content::__anon7774::MouseLockDispatcherTest
46 MouseLockDispatcher* dispatcher() { return view()->mouse_lock_dispatcher(); }
57 EXPECT_FALSE(view()->isPointerLocked());
60 EXPECT_TRUE(view()->requestPointerLock());
61 view()->OnMessageReceived(ViewMsg_LockMouse_ACK(route_id_, true));
62 EXPECT_TRUE(view()->isPointerLocked());
65 view()->requestPointerUnlock();
66 view()
[all...]
/external/chromium_org/content/shell/renderer/
H A Dshell_render_view_observer.cc35 RenderView* view = render_view(); local
37 ipc_echo_.reset(new IPCEcho(view->GetWebView()->mainFrame()->document(),
38 RenderThread::Get(), view->GetRoutingID()));
39 ipc_echo_->Install(view->GetWebView()->mainFrame());
/external/chromium_org/content/test/
H A Dtest_web_contents.h73 void set_delegate_view(RenderViewHostDelegateView* view) { argument
74 delegate_view_override_ = view;
/external/chromium_org/extensions/renderer/
H A Drender_view_observer_natives.cc22 content::RenderView* view,
24 : content::RenderViewObserver(view), context_(context), callback_(cb) {}
66 content::RenderView* view = content::RenderView::FromRoutingID(view_id); local
67 if (!view) {
68 LOG(WARNING) << "No render view found to register LoadWatcher.";
72 new LoadWatcher(context(), view, args[1].As<v8::Function>()); local
21 LoadWatcher(ScriptContext* context, content::RenderView* view, v8::Handle<v8::Function> cb) argument
/external/chromium_org/ppapi/tests/
H A Dtest_flash_fullscreen.cc137 void TestFlashFullscreen::DidChangeView(const pp::View& view) { argument
138 pp::Rect position = view.GetRect();
139 pp::Rect clip = view.GetClipRect();
H A Dtest_mouse_lock.cc8 #include "ppapi/cpp/view.h"
31 void TestMouseLock::DidChangeView(const pp::View& view) { argument
32 position_ = view.GetRect();
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DMediaQueryEvaluatorTest.cpp128 RefPtr<FrameView> view = pageHolder->frame().view(); local
134 pageHolder->frame().setView(view);
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DUIEventWithKeyState.h47 UIEventWithKeyState(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, argument
49 : UIEvent(type, canBubble, cancelable, view, detail)
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DRemoteFrame.cpp34 void RemoteFrame::setView(PassRefPtr<RemoteFrameView> view) argument
36 m_view = view;
41 RefPtr<RemoteFrameView> view = RemoteFrameView::create(this); local
42 setView(view);
47 owner->setWidget(view);
H A DRemoteFrameView.cpp25 RefPtr<RemoteFrameView> view = adoptRef(new RemoteFrameView(remoteFrame)); local
26 view->show();
27 return view.release();
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageAnimator.cpp51 documents[i]->view()->serviceScrollAnimations(monotonicAnimationStartTime);
53 if (const FrameView::ScrollableAreaSet* scrollableAreas = documents[i]->view()->scrollableAreas()) {
79 RefPtr<FrameView> view = rootFrame->view(); local
89 view->setFrameRect(view->frameRect());
93 view->updateLayoutAndStyleForPainting();
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/
H A DViewAndroidDelegate.java7 import android.view.View;
15 * @return An anchor view that can be used to anchor decoration views like Autofill popup.
20 * Set the anchor view to specified position and width (all units in dp).
21 * @param view The anchor view that needs to be positioned.
22 * @param x X coordinate of the top left corner of the anchor view.
23 * @param y Y coordinate of the top left corner of the anchor view.
24 * @param width The width of the anchor view.
25 * @param height The height of the anchor view.
27 void setAnchorViewPosition(View view, floa argument
[all...]
/external/chromium_org/ui/app_list/views/
H A Dspeech_view_unittest.cc36 SpeechView* view() { return view_; } function in class:app_list::test::SpeechViewTest
56 gfx::Rect screen_bounds(view()->mic_button()->GetBoundsInScreen());
74 // MicButton's view bounds (which would fall outside of its
/external/chromium_org/ui/app_list/views/test/
H A Dapps_grid_view_test_api.cc14 AppsGridViewTestApi::AppsGridViewTestApi(AppsGridView* view) argument
15 : view_(view) {
/external/chromium_org/ui/base/android/
H A Dview_android.cc46 ViewAndroid* view = new ViewAndroid( local
48 return reinterpret_cast<intptr_t>(view);
/external/chromium_org/ui/gfx/
H A Dscreen.cc25 Screen* Screen::GetScreenFor(NativeView view) { argument
28 type = g_screen_type_delegate_->GetScreenTypeForNativeView(view);
/external/chromium_org/ui/snapshot/
H A Dsnapshot_aura.cc20 bool GrabViewSnapshot(gfx::NativeView view, argument
23 return GrabWindowSnapshot(view, png_representation, snapshot_bounds);
70 gfx::NativeView view,
74 GrabWindowSnapshotAsync(view, source_rect, background_task_runner, callback);
69 GrabViewSnapshotAsync( gfx::NativeView view, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument
/external/chromium_org/ui/views/accessibility/
H A Dax_widget_obj_wrapper.cc51 void AXWidgetObjWrapper::OnWillRemoveView(Widget* widget, View* view) { argument
52 AXAuraObjCache::GetInstance()->Remove(view);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_host_root_view.cc81 View* view = GetEventHandlerForPoint(event.location()); local
82 return view && view->id() == MenuItemView::kEmptyMenuItemViewID;
/external/chromium_org/ui/views/
H A Ddebug_utils.cc11 #include "ui/views/view.h"
15 void PrintViewHierarchyImp(const View* view, argument
21 *out << base::UTF8ToWide(view->GetClassName());
23 *out << view->id();
25 *out << view->x() << L"," << view->y() << L",";
26 *out << view->bounds().right() << L"," << view->bounds().bottom();
28 *out << view; local
31 for (int i = 0, count = view
35 PrintFocusHierarchyImp(const View* view, int indent, std::wostringstream* out) argument
47 *out << view; local
59 PrintViewHierarchy(const View* view) argument
67 PrintFocusHierarchy(const View* view) argument
[all...]
/external/chromium_org/ui/views/focus/
H A Dexternal_focus_tracker.cc9 #include "ui/views/view.h"
20 // Store the view which is focused when we're created.
35 // Store the newly focused view.
59 void ExternalFocusTracker::StoreLastFocusedView(View* view) { argument
61 // If the view is NULL, remove the last focused view from storage, but don't
63 if (view != NULL)
64 view_storage_->StoreView(last_focused_view_storage_id_, view);
/external/chromium_org/ui/views/layout/
H A Dbox_layout_unittest.cc9 #include "ui/views/view.h"
407 // Set the first view to consume all free space.
416 // Set the third view to take 2/3s of the free space and leave the first
417 // view
425 // Clear the previously set flex values and set the second view to take all
443 View* view = new StaticSizedView(gfx::Size(10, 10)); local
444 views.push_back(view);
445 host_->AddChildView(view);
467 View* view = new StaticSizedView(gfx::Size(1, 10)); local
468 views.push_back(view);
[all...]

Completed in 438 milliseconds

1234567891011>>