/external/chromium/third_party/libjingle/source/talk/session/tunnel/ |
tunnelsessionclient.cc | 238 buzz::XmlElement* root = new buzz::XmlElement(QN_TUNNEL_DESCRIPTION, true); local 241 root->AddElement(type_elem); 242 *elem = root;
|
/external/chromium_org/ash/desktop_background/ |
desktop_background_controller_unittest.cc | 51 Window* root = ash::Shell::GetPrimaryRootWindow(); local 52 Window* container = root->GetChildById(container_id);
|
/external/chromium_org/ash/shell/ |
window_type_launcher.cc | 380 MenuItemView* root = new MenuItemView(this); local 381 root->AppendMenuItem(COMMAND_NEW_WINDOW, 384 root->AppendMenuItem(COMMAND_TOGGLE_FULLSCREEN, 387 // MenuRunner takes ownership of root. 388 menu_runner_.reset(new MenuRunner(root));
|
/external/chromium_org/ash/test/ |
ash_test_base.cc | 266 aura::Window* root = ash::Shell::GetInstance()->display_controller()-> local 269 wm::ConvertPointFromScreen(root, &origin); 271 aura::client::ParentWindowWithContext(window, root, bounds);
|
/external/chromium_org/ash/wm/ |
drag_window_resizer_unittest.cc | 51 aura::Window* root = Shell::GetPrimaryRootWindow(); variable 52 gfx::Rect root_bounds(root->bounds()); 55 Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); 199 // Since the pointer is still on the primary root window, the parent should 211 // in the secondary root window's coordinates. 219 // root window's bounds. 229 // root window the active root window. 318 // The pointer is inside the primary root. The drag window controller 323 // The window spans both root windows [all...] |
/external/chromium_org/base/json/ |
json_value_serializer_unittest.cc | 63 scoped_ptr<Value> root(JSONReader::Read(json)); 64 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); 65 ListValue* list = static_cast<ListValue*>(root.get()); 172 scoped_ptr<Value> root(serializer.Deserialize(NULL, NULL)); 173 ASSERT_TRUE(root.get()); 174 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); 176 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); 273 DictionaryValue root; local 275 root.SetString("web", test) 297 DictionaryValue root; local 329 scoped_ptr<Value> root; local 352 scoped_ptr<Value> root; local 392 scoped_ptr<Value> root; local 440 scoped_ptr<Value> root; local 465 scoped_ptr<Value> root; local [all...] |
/external/chromium_org/cc/layers/ |
layer_position_constraint_unittest.cc | 76 scoped_ptr<LayerImpl> root = local 89 SetLayerPropertiesForTesting(root.get(), 118 root->SetMaxScrollOffset(gfx::Vector2d(100, 100)); 119 root->SetScrollable(true); 127 root->AddChild(child.Pass()); 129 return root.Pass(); [all...] |
/external/chromium_org/cc/test/ |
layer_tree_pixel_test.cc | 223 scoped_refptr<Layer> root = Layer::Create(); local 224 root->SetBounds(content_root_->bounds()); 225 root->AddChild(content_root_); 226 layer_tree_host()->SetRootLayer(root);
|
/external/chromium_org/cc/trees/ |
damage_tracker_unittest.cc | 23 void ExecuteCalculateDrawProperties(LayerImpl* root, 25 // Sanity check: The test itself should create the root layer's render 28 ASSERT_TRUE(root->render_surface()); 32 root, root->bounds(), &render_surface_layer_list); 45 void EmulateDrawingOneFrame(LayerImpl* root) { 53 ExecuteCalculateDrawProperties(root, render_surface_layer_list); 69 root->ResetAllChangeTrackingForSubtree(); 77 scoped_ptr<LayerImpl> root = local 82 root->SetPosition(gfx::PointF()) 105 scoped_ptr<LayerImpl> root = local 163 scoped_ptr<LayerImpl> root = CreateTestTreeWithOneSurface(); local 173 scoped_ptr<LayerImpl> root = CreateTestTreeWithTwoSurfaces(); local 191 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 207 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 228 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 266 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 315 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 364 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 403 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 438 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 476 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 609 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 661 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 692 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 725 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 770 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 806 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 830 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 881 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 911 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 930 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 1032 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 1125 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 1197 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithTwoSurfaces(); local 1254 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local 1288 scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl_.active_tree(), 1); local 1311 scoped_ptr<LayerImpl> root = CreateAndSetUpTestTreeWithOneSurface(); local [all...] |
layer_tree_host_perftest.cc | 135 scoped_refptr<Layer> root = ParseTreeFromJson(json_, variable 137 ASSERT_TRUE(root.get()); 138 layer_tree_host()->SetRootLayer(root); variable
|
layer_tree_host_unittest_copyrequest.cc | 25 root = FakeContentLayer::Create(&client_); 26 root->SetBounds(gfx::Size(20, 20)); 30 root->AddChild(child); 32 layer_tree_host()->SetRootLayer(root); variable 69 root->RequestCopyOfOutput(CopyOutputRequest::CreateBitmapRequest( 88 // The root was copied to a bitmap and passed back also. 121 scoped_refptr<FakeContentLayer> root; member in class:cc::__anon6667::LayerTreeHostCopyRequestTestMultipleRequests 387 LayerImpl* root = host_impl->active_tree()->root_layer(); variable 388 LayerImpl* grand_parent = root->children()[0]; 502 LayerImpl* root = impl->active_tree()->root_layer() variable [all...] |
layer_tree_host_unittest_occlusion.cc | 68 TestLayer* root = static_cast<TestLayer*>(layer_tree_host()->root_layer()); variable 69 VerifyOcclusion(root); variable 123 // to the child and root 182 // Add a second child to the root layer and the regions should merge 431 // and child shouldn't contribute to the root 475 // subtree, and should not contribute to the root 512 // the root layer will recive occlusion from child. 547 // the root layer will recive occlusion from child.
|
/external/chromium_org/chrome/browser/browsing_data/ |
cookies_tree_model_unittest.cc | 137 // 51 because there's the root, then 268 CookieTreeRootNode* root = static_cast<CookieTreeRootNode*>( local 270 std::string retval = GetNodesOfChildren(root, type); 326 // Do not call on the root. 402 // 2 nodes - root and app 1106 CookieTreeRootNode* root = local [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
change_list_processor.cc | 108 DVLOG(1) << "Root folder ID is " << about_resource->root_folder_id(); 171 ResourceEntry root; local 173 util::GetDriveMyDriveRootPath(), &root); 175 case FILE_ERROR_OK: // Refresh the existing My Drive root entry. 176 root.mutable_directory_specific_info()->set_changestamp(changestamp); 177 error = resource_metadata_->RefreshEntry(root); 179 case FILE_ERROR_NOT_FOUND: { // Add the My Drive root directory. 183 root = util::CreateMyDriveRootEntry(about_resource->root_folder_id()); 184 root.mutable_directory_specific_info()->set_changestamp(changestamp); 186 error = resource_metadata_->AddEntry(root, &local_id) [all...] |
resource_metadata.cc | 120 ResourceEntry root; local 121 root.mutable_file_info()->set_is_directory(true); 123 root.set_resource_id(util::kDriveGrandRootLocalId); 124 root.set_local_id(util::kDriveGrandRootLocalId); 125 root.set_title(util::kDriveGrandRootDirName); 126 SetBaseNameFromTitle(&root); 127 if (!storage_->PutEntry(root)) 331 if (old_entry.parent_local_id().empty() || // Reject root. 396 // Start from the root.
|
/external/chromium_org/chrome/browser/component_updater/ |
update_response.cc | 53 // Returns child nodes of |root| with name |name|. 54 static std::vector<xmlNode*> GetChildren(xmlNode* root, const char* name) { 56 for (xmlNode* child = root->children; child != NULL; child = child->next) { 293 xmlNode* root = xmlDocGetRootElement(document.get()); local 294 if (!root) { 295 ParseError("Missing root node"); 299 if (!TagNameEquals(root, "response")) { 305 if (GetAttribute(root, "protocol") != kExpectedResponseProtocol) { 312 std::vector<xmlNode*> daystarts = GetChildren(root, "daystart"); 323 std::vector<xmlNode*> apps = GetChildren(root, "app") [all...] |
/external/chromium_org/chrome/browser/history/ |
query_parser.cc | 348 QueryNodeList root; local 349 if (!ParseQueryImpl(query, &root)) 351 return root.AppendToSQLiteQuery(sqlite_query); 356 QueryNodeList root; local 357 if (!ParseQueryImpl(query, &root)) 359 root.AppendWords(words); 364 QueryNodeList root; local 365 if (ParseQueryImpl(base::i18n::ToLower(query), &root)) 366 nodes->swap(*root.children()); 413 QueryNodeList* root) { [all...] |
/external/chromium_org/chrome/common/extensions/ |
update_manifest.cc | 59 // Returns child nodes of |root| with name |name| in namespace |xml_namespace|. 60 static std::vector<xmlNode*> GetChildren(xmlNode* root, xmlNs* xml_namespace, 63 for (xmlNode* child = root->children; child != NULL; child = child->next) { 236 xmlNode *root = xmlDocGetRootElement(document.get()); local 237 if (!root) { 238 ParseError("Missing root node"); 243 xmlNs* gupdate_ns = GetNamespace(root, kExpectedGupdateXmlns); 249 if (!TagNameEquals(root, "gupdate", gupdate_ns)) { 255 if (GetAttribute(root, "protocol") != kExpectedGupdateProtocol) { 262 std::vector<xmlNode*> daystarts = GetChildren(root, gupdate_ns, "daystart") [all...] |
/external/chromium_org/chrome/installer/setup/ |
setup_util.cc | 357 const HKEY root = system_level ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 372 result = state_key.Open(root, dist->GetStateKey().c_str(), 393 result = state_key.Open(root, dist->GetStateKey().c_str(), 408 result = state_key.Open(root, dist->GetStateKey().c_str(),
|
/external/chromium_org/chrome/installer/util/ |
installer_state_unittest.cc | 350 HKEY root = system_level ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 351 EXPECT_EQ(root, installer_state.root_key()); 355 override_manager.OverrideRegistry(root, L"root_pit"); 358 RegKey chrome_key(root, dist->GetVersionKey().c_str(), KEY_ALL_ACCESS); 376 HKEY root = system_level ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 386 override_manager.OverrideRegistry(root, L"root_inst_res"); 399 key.Open(root, distribution->GetStateKey().c_str(), KEY_READ)); 417 override_manager.OverrideRegistry(root, L"root_inst_res"); 434 key.Open(root, distribution->GetStateKey().c_str(), KEY_READ)); 439 key.Open(root, binaries->GetStateKey().c_str(), KEY_READ)) [all...] |
/external/chromium_org/components/url_matcher/ |
substring_set_matcher.cc | 25 uint32 result = 1u; // 1 for the root node. 137 // An empty tree consists of only the root node. 145 // Initialize root note of tree. 146 AhoCorasickNode root; local 147 root.set_failure(0); 148 tree_.push_back(root); 195 AhoCorasickNode& root = tree_[0]; local 196 root.set_failure(0); 197 const Edges& root_edges = root.edges();
|
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ |
ValidationMessageBubble.java | 55 final ViewGroup root = (ViewGroup) View.inflate(contentViewCore.getContext(), local 57 mPopup = new PopupWindow(root); 58 updateTextViews(root, mainText, subText); 110 private static void updateTextViews(ViewGroup root, String mainText, String subText) { 111 ((TextView) root.findViewById(R.id.main_text)).setText(mainText); 112 final TextView subTextView = (TextView) root.findViewById(R.id.sub_text); 135 final View root = mPopup.getContentView(); local 136 final int width = root.getMeasuredWidth(); 137 final int arrowWidth = root.findViewById(R.id.arrow_image).getMeasuredWidth(); 138 return ApiCompatibilityUtils.isLayoutRtl(root) [all...] |
/external/chromium_org/content/browser/accessibility/ |
accessibility_tree_formatter_win.cc | 136 BrowserAccessibility* root = node.manager()->GetRoot(); local 141 && root->ToBrowserAccessibilityWin()->accLocation(
|
browser_accessibility_manager_unittest.cc | 105 AccessibilityNodeData root; local 106 root.id = 1; 107 root.SetName("Document"); 108 root.role = blink::WebAXRoleRootWebArea; 109 root.state = 0; 110 root.child_ids.push_back(2); 111 root.child_ids.push_back(3); 120 root, 135 root, 167 // root 569 AccessibilityNodeData root; local 615 AccessibilityNodeData root; local 706 AccessibilityNodeData root; local [all...] |
/external/chromium_org/content/browser/ |
site_per_process_browsertest.cc | 436 // Load doc without iframes. Verify FrameTree just has root. 438 // Site-A Root 440 FrameTreeNode* root = local 442 GetFrameTree()->root(); 443 EXPECT_EQ(0U, root->child_count()); 447 // Site-A Root -- Site-A frame1 455 ASSERT_EQ(2U, root->child_count()); 456 EXPECT_EQ(0U, root->child_at(0)->child_count()); 457 EXPECT_EQ(0U, root->child_at(1)->child_count()); 473 FrameTreeNode* root = wc->GetFrameTree()->root() local 519 FrameTreeNode* root = wc->GetFrameTree()->root(); local 554 FrameTreeNode* root = wc->GetFrameTree()->root(); local [all...] |