Searched refs:host_ (Results 1 - 25 of 308) sorted by relevance

1234567891011>>

/external/chromium_org/ui/views/controls/native/
H A Dnative_view_host_aura.cc18 : host_(host),
23 if (host_->native_view()) {
24 host_->native_view()->ClearProperty(views::kHostViewKey);
25 host_->native_view()->RemoveObserver(this);
32 host_->native_view()->AddObserver(this);
33 host_->native_view()->SetProperty(views::kHostViewKey,
34 static_cast<View*>(host_));
39 host_->native_view()->ClearProperty(views::kHostViewKey);
40 host_->native_view()->RemoveObserver(this);
41 host_
[all...]
/external/chromium_org/chrome/browser/download/
H A Ddownload_permission_request.cc14 : host_(host) {}
37 const content::WebContents* web_contents = host_->web_contents();
45 if (host_) {
46 // This may invalidate |host_|.
47 host_->Accept();
52 if (host_) {
53 // This may invalidate |host_|.
54 host_->Cancel();
H A Ddownload_request_infobar_delegate.cc17 if (!responded_ && host_)
18 host_->CancelOnce();
55 host_(host) {
75 if (host_) {
76 // This may invalidate |host_|.
77 host_->Accept();
79 return !host_;
85 if (host_) {
86 // This may invalidate |host_|.
87 host_
[all...]
/external/chromium_org/ppapi/host/
H A Dinstance_message_filter.cc12 InstanceMessageFilter::InstanceMessageFilter(PpapiHost* host) : host_(host) {
/external/chromium_org/ui/aura/test/
H A Daura_test_utils.cc14 explicit WindowTreeHostTestApi(WindowTreeHost* host) : host_(host) {}
17 return host_->last_cursor_request_position_in_host_;
21 WindowTreeHost* host_; member in class:aura::test::WindowTreeHostTestApi
/external/chromium_org/cc/resources/
H A Dscoped_ui_resource.cc21 : bitmap_(bitmap), host_(host) {
22 DCHECK(host_);
23 id_ = host_->CreateUIResource(this);
30 DCHECK(host_);
31 host_->DeleteUIResource(id_);
/external/chromium_org/components/nacl/browser/
H A Dpnacl_host_unittest.cc27 : host_(NULL),
32 host_ = new PnaclHost();
34 host_->InitForTest(temp_dir_.path(), true);
36 EXPECT_EQ(PnaclHost::CacheReady, host_->cache_state_);
39 EXPECT_EQ(0U, host_->pending_translations());
41 host_->RendererClosing(0);
43 EXPECT_EQ(PnaclHost::CacheUninitialized, host_->cache_state_);
44 delete host_;
55 int GetCacheSize() { return host_->disk_cache_->Size(); }
57 return host_
103 PnaclHost* host_; member in class:pnacl::PnaclHostTest
[all...]
/external/chromium_org/chrome/renderer/pepper/
H A Dchrome_renderer_pepper_host_factory.cc26 : host_(host) {}
35 DCHECK_EQ(host_->GetPpapiHost(), host);
38 if (!host_->IsValidInstance(instance))
41 if (host_->GetPpapiHost()->permissions().HasPermission(
46 new PepperFlashRendererHost(host_, instance, params.pp_resource()));
50 host_, instance, params.pp_resource()));
57 host_, instance, params.pp_resource(), serialized_menu));
67 if (host_->GetPpapiHost()->permissions().HasPermission(
69 host_->GetPpapiHost()->permissions().HasPermission(
78 host_, instanc
[all...]
/external/chromium_org/content/renderer/media/
H A Dbuffered_data_source_host_impl_unittest.cc15 host_.AddBufferedTimeRanges(&ranges_, base::TimeDelta::FromSeconds(10));
19 BufferedDataSourceHostImpl host_; member in class:content::BufferedDataSourceHostImplTest
26 EXPECT_FALSE(host_.DidLoadingProgress());
32 host_.AddBufferedByteRange(10, 20);
33 host_.SetTotalBytes(100);
42 host_.AddBufferedByteRange(10, 20);
43 host_.SetTotalBytes(100);
51 host_.AddBufferedByteRange(5, 995);
52 host_.SetTotalBytes(1000);
60 host_
[all...]
/external/chromium_org/ui/views/layout/
H A Dbox_layout_unittest.cc18 host_.reset(new View);
21 scoped_ptr<View> host_; member in class:views::__anon16337::BoxLayoutTest
29 EXPECT_EQ(gfx::Size(20, 20), layout_->GetPreferredSize(host_.get()));
35 host_->AddChildView(v1);
37 host_->AddChildView(v2);
38 EXPECT_EQ(gfx::Size(20, 20), layout_->GetPreferredSize(host_.get()));
39 host_->SetBounds(0, 0, 20, 20);
40 layout_->Layout(host_.get());
48 host_->AddChildView(v1);
50 host_
[all...]
/external/chromium_org/content/shell/browser/
H A Dshell_platform_data_aura.cc67 : host_(host),
71 host_->window()->AddPreTargetHandler(this);
72 host_->window()->SetProperty(aura::client::kRootWindowInputMethodKey,
77 host_->window()->RemovePreTargetHandler(this);
78 host_->window()->SetProperty(aura::client::kRootWindowInputMethodKey,
101 host_->dispatcher()->OnEventFromSource(&aura_event);
105 aura::WindowTreeHost* host_; member in class:content::__anon7508::MinimalInputEventFilter
117 host_.reset(aura::WindowTreeHost::Create(gfx::Rect(initial_size)));
118 host_->InitHost();
119 host_
[all...]
/external/chromium_org/ui/wm/test/
H A Dwm_test_helper.cc23 host_.reset(aura::WindowTreeHost::Create(gfx::Rect(default_window_size)));
24 host_->InitHost();
25 aura::client::SetWindowTreeClient(host_->window(), this);
28 aura::client::SetFocusClient(host_->window(), focus_client_.get());
31 host_->window()->AddPreTargetHandler(root_window_event_filter_.get());
34 host_->GetAcceleratedWidget()));
35 input_method_filter_->SetInputMethodPropertyInRootWindow(host_->window());
38 new wm::DefaultActivationClient(host_->window());
41 new aura::client::DefaultCaptureClient(host_->window()));
52 return host_
[all...]
/external/chromium_org/ui/views/widget/desktop_aura/
H A Dx11_desktop_window_move_client.cc23 host_(NULL) {
31 host_->SetBounds(gfx::Rect(system_loc, host_->GetBounds().size()));
39 host_ = NULL;
50 host_ = source->GetHost();
52 bool success = move_loop_.RunMoveLoop(source, host_->last_cursor());
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dcontents_layout_manager.cc14 host_(NULL),
27 if (host_)
28 host_->InvalidateLayout();
36 if (host_)
37 host_->InvalidateLayout();
41 DCHECK(host_ == contents_container);
63 new_devtools_bounds.set_x(host_->GetMirroredXForRect(new_devtools_bounds));
64 new_contents_bounds.set_x(host_->GetMirroredXForRect(new_contents_bounds));
76 DCHECK(!host_);
77 host_
[all...]
/external/chromium_org/chrome/browser/renderer_host/pepper/
H A Dchrome_browser_pepper_host_factory.cc31 : host_(host) {}
40 DCHECK(host == host_->GetPpapiHost());
43 if (!host_->IsValidInstance(instance))
47 if (host_->GetPpapiHost()->permissions().HasPermission(
52 new PepperBrokerMessageFilter(instance, host_));
54 new MessageFilterHost(host_->GetPpapiHost(),
62 new PepperPlatformVerificationMessageFilter(host_, instance));
64 host_->GetPpapiHost(), instance, params.pp_resource(), pv_filter));
69 new PepperTalkHost(host_, instance, params.pp_resource()));
73 new PepperOutputProtectionMessageFilter(host_, instanc
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Ddropdown_bar_host_aura.cc28 if (!host_->IsVisible())
29 host_->GetNativeView()->Show();
30 host_->GetNativeView()->SetBounds(new_pos);
32 // The z-order of |host_| is controlled by the view specified via
37 host_->GetNativeView()->SetProperty(views::kHostViewKey, host_view);
/external/chromium_org/webkit/browser/appcache/
H A Dappcache_request_handler.cc18 : host_(host), resource_type_(resource_type),
22 DCHECK(host_);
23 host_->AddObserver(this);
27 if (host_) {
29 host_->RemoveObserver(this);
34 DCHECK(host_);
35 return host_->storage();
41 if (!host_ || !IsSchemeAndMethodSupported(request) || cache_entry_not_found_)
89 if (!host_ || !IsSchemeAndMethodSupported(request) || cache_entry_not_found_)
106 storage(), host_, is_main_resourc
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dcontent_renderer_pepper_host_factory.cc64 : host_(host) {}
73 DCHECK(host == host_->GetPpapiHost());
76 if (!host_->IsValidInstance(instance))
80 host_->GetPluginInstanceImpl(instance);
88 new PepperCompositorHost(host_, instance, params.pp_resource()));
99 host_, instance, params.pp_resource(), file_system, internal_path));
109 host_, instance, params.pp_resource(), file_system_type));
122 PepperGraphics2DHost::Create(host_,
131 host_, false, instance, params.pp_resource()));
134 new PepperVideoDecoderHost(host_, instanc
[all...]
/external/chromium_org/net/base/
H A Dhost_port_pair.h39 return host_ < other.host_;
44 return host_ == other.host_ && port_ == other.port_;
48 return host_.empty() && port_ == 0;
52 return host_;
60 host_ = in_host;
67 // ToString() will convert the HostPortPair to "host:port". If |host_| is an
68 // IPv6 literal, it will add brackets around |host_|.
71 // Returns |host_|, addin
77 std::string host_; member in class:net::HostPortPair
[all...]
H A Dhost_port_pair.cc19 : host_(in_host), port_(in_port) {}
52 if (host_.find('\0') != std::string::npos) {
53 std::string host_for_log(host_);
61 if (host_.find(':') != std::string::npos) {
62 DCHECK_NE(host_[0], '[');
63 return base::StringPrintf("[%s]", host_.c_str());
66 return host_;
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_unittest.cc472 host_.reset(
474 view_.reset(new TestView(host_.get()));
475 host_->SetView(view_.get());
476 host_->Init();
477 host_->DisableGestureDebounce();
481 host_.reset();
497 return host_->GetLatencyComponentId();
505 host_->OnMessageReceived(InputHostMsg_HandleInputEvent_ACK(0, ack));
522 host_->ForwardKeyboardEvent(native_event);
526 host_
619 scoped_ptr<MockRenderWidgetHost> host_; member in class:content::__anon7057::RenderWidgetHostTest
[all...]
H A Dcompositor_resize_lock_aura.cc21 host_(host),
24 DCHECK(host_);
29 host_->dispatcher()->HoldPointerMoves();
56 compositor_lock_ = host_->compositor()->GetCompositorLock();
64 host_->dispatcher()->ReleasePointerMoves();
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dcontent_browser_pepper_host_factory.cc51 : host_(host) {}
60 DCHECK(host == host_->GetPpapiHost());
63 if (!host_->IsValidInstance(instance))
70 new PepperFileIOHost(host_, instance, params.pp_resource()));
80 host_, instance, params.pp_resource(), file_system_type));
84 new PepperGamepadHost(host_, instance, params.pp_resource()));
88 new PepperNetworkProxyHost(host_, instance, params.pp_resource()));
92 new PepperHostResolverMessageFilter(host_, instance, false));
94 new MessageFilterHost(host_->GetPpapiHost(),
108 host_, instanc
[all...]
/external/chromium_org/content/browser/android/
H A Dui_resource_provider_impl.cc13 UIResourceProviderImpl::UIResourceProviderImpl() : host_(NULL) {
21 if (host_ == host)
23 host_ = host;
39 if (!host_)
41 cc::UIResourceId id = host_->CreateUIResource(client);
55 if (!host_)
57 host_->DeleteUIResource(ui_resource_id);
/external/chromium_org/ui/views/ime/
H A Dinput_method_bridge.cc19 // method is destroyed, it will null out the |host_| field on the
46 bridge_->host_->AddObserver(this);
50 if (bridge_->host_)
51 bridge_->host_->RemoveObserver(this);
56 DCHECK_EQ(bridge_->host_, input_method);
57 bridge_->host_->RemoveObserver(this);
58 bridge_->host_ = NULL;
66 : host_(host),
68 DCHECK(host_);
83 if (host_)
[all...]

Completed in 679 milliseconds

1234567891011>>