Home
last modified time | relevance | path

Searched +refs:chrome +refs:root (Results 1 – 25 of 110) sorted by relevance

12345

/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
DProviderBookmarkNodeTest.java5 package org.chromium.chrome.browser.test;
12 import org.chromium.chrome.browser.ChromeBrowserProvider.BookmarkNode;
13 import org.chromium.chrome.browser.ChromeBrowserProvider.Type;
14 import org.chromium.chrome.browser.test.util.BookmarkUtils;
15 import org.chromium.chrome.shell.ChromeShellTestBase;
68 BookmarkNode root = new BookmarkNode(1, Type.FOLDER, "Bookmarks", null, null); in createMockHierarchy() local
69 root.addChild(new BookmarkNode(2, Type.URL, "Google", "http://www.google.com/", root)); in createMockHierarchy()
70 root.addChild(new BookmarkNode(3, Type.URL, "GoogleMaps", "http://maps.google.com/", root)); in createMockHierarchy()
72 BookmarkNode folder1 = new BookmarkNode(4, Type.FOLDER, "Youtube", null, root); in createMockHierarchy()
73 root.addChild(folder1); in createMockHierarchy()
[all …]
/external/chromium_org/components/dom_distiller/webui/resources/
Dabout_dom_distiller.js47 removeAllChildren: function(root) { argument
48 while(root.firstChild) {
49 root.removeChild(root.firstChild);
60 chrome.send('addArticle', [url]);
70 chrome.send('viewUrl', [url]);
78 chrome.send('selectArticle', [articleId]);
102 chrome.send('requestEntries');
/external/chromium_org/chrome/browser/prefs/
Dpref_service_browsertest.cc59 PathService::Get(chrome::DIR_USER_DATA, &user_data_directory); in SetUpUserDataDirectory()
66 base::FilePath().Append(chrome::kPreferencesFilename)); in SetUpUserDataDirectory()
70 tmp_pref_file_ = tmp_pref_file_.Append(chrome::kPreferencesFilename); in SetUpUserDataDirectory()
75 base::FilePath().Append(chrome::kLocalStateFilename)); in SetUpUserDataDirectory()
76 tmp_pref_file_ = user_data_directory.Append(chrome::kLocalStateFilename); in SetUpUserDataDirectory()
124 scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, NULL)); in IN_PROC_BROWSER_TEST_F() local
126 ASSERT_TRUE(root.get()); in IN_PROC_BROWSER_TEST_F()
127 ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); in IN_PROC_BROWSER_TEST_F()
130 static_cast<base::DictionaryValue*>(root.get()); in IN_PROC_BROWSER_TEST_F()
185 scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, NULL)); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/cvox2/background/
Dbackground.js17 chrome.accessibilityPrivate || chrome.experimental.accessibility;
46 chrome.automation.getDesktop(this.onGotTree);
49 chrome.tabs.onUpdated.addListener(this.onTabUpdated);
59 chrome.tabs.get(tabId, function(tab) {
64 chrome.commands.onCommand.removeListener(this.onGotCommand);
69 if (!chrome.commands.onCommand.hasListeners()) {
70 chrome.commands.onCommand.addListener(this.onGotCommand);
75 chrome.automation.getTree(this.onGotTree.bind(this));
83 onGotTree: function(root) { argument
85 root.addEventListener(chrome.automation.EventType.focus,
[all …]
Dbackground.extjs87 function findStatusTray(root) {
88 if (root.role == chrome.automation.RoleType.button &&
89 root.attributes.name &&
90 root.attributes.name.indexOf('Status tray') != -1) {
91 return root;
93 for (var i = 0; i < root.children().length; i++) {
94 var found = findStatusTray(root.children()[i]);
101 chrome.automation.getDesktop(function(root) {
102 var testButton = findStatusTray(root);
103 testButton.addEventListener(chrome.automation.EventType.focus,
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_manager_commands.js330 var root = CommandUtil.getCommandEntry(event.target);
331 if (!root) {
339 var volumeInfo = fileManager.volumeManager.getVolumeInfo(root);
353 var root = CommandUtil.getCommandEntry(event.target);
354 if (!root)
356 var locationInfo = this.fileManager_.volumeManager.getLocationInfo(root);
388 var root = CommandUtil.getCommandEntry(event.target);
392 if (!root)
393 root = directoryModel.getCurrentDirEntry();
395 var volumeInfo = fileManager.volumeManager.getVolumeInfo(root);
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_base_controller_unittest.mm9 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h"
11 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
12 #include "chrome/grit/generated_resources.h"
13 #include "chrome/test/base/test_browser_window.h"
14 #include "chrome/test/base/testing_profile.h"
45 const BookmarkNode* root = model->bookmark_bar_node();
46 folder_a_ = model->AddFolder(root, 0, ASCIIToUTF16("a"));
51 folder_b_ = model->AddFolder(root, 1, ASCIIToUTF16("b"));
64 folder_c_ = model->AddFolder(root, 2, ASCIIToUTF16("c"));
[all …]
Dbookmark_menu_bridge_unittest.mm10 #include "chrome/app/chrome_command_ids.h"
11 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h"
12 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
13 #include "chrome/grit/generated_resources.h"
14 #include "chrome/test/base/testing_profile.h"
67 const BookmarkNode* root,
69 bridge->AddNodeToMenu(root, menu, true);
177 const BookmarkNode* root = model->bookmark_bar_node();
178 EXPECT_TRUE(model && root);
189 model->AddURL(root, 0, ASCIIToUTF16(short_url), GURL(short_url));
[all …]
Dbookmark_all_tabs_controller_unittest.mm9 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h"
11 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
12 #include "chrome/test/base/testing_profile.h"
46 const BookmarkNode* root = model->bookmark_bar_node();
47 folder_a_ = model->AddFolder(root, 0, ASCIIToUTF16("a"));
/external/chromium_org/third_party/opus/src/
Dcodereview.settings4 VIEW_VC: https://src.chromium.org/viewvc/chrome?view=rev&revision=
7 TRYSERVER_SVN_URL: svn://svn.chromium.org/chrome-try/try
8 …http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revision=HEAD&root=chrome
9 …http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revision=HEAD&root=chrome
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dui_overrides_handler_unittest.cc48 extensions::ScopedCurrentChannel channel(chrome::VersionInfo::CHANNEL_DEV); in TEST_F()
56 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); in TEST_F() local
57 ASSERT_TRUE(root); in TEST_F()
58 ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); in TEST_F()
62 *static_cast<base::DictionaryValue*>(root.get()), in TEST_F()
77 extensions::ScopedCurrentChannel channel(chrome::VersionInfo::CHANNEL_DEV); in TEST_F()
85 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); in TEST_F() local
86 ASSERT_TRUE(root); in TEST_F()
87 ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); in TEST_F()
91 *static_cast<base::DictionaryValue*>(root.get()), in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/
Dabout_ui.cc115 chrome::kChromeUIMemoryRedirectURL); in GetAboutMemoryRedirectResponse()
154 std::string eula_URL = base::StringPrintf(chrome::kOnlineEulaURLPath, in ChromeOSOnlineTermsHandler()
245 if (path_ == chrome::kOemEulaURLPath) { in StartOnUIThread()
292 base::StringPrintf(chrome::kEULAPathFormat, locale_.c_str()); in LoadEulaFileOnFileThread()
295 file_path = base::StringPrintf(chrome::kEULAPathFormat, "en-US"); in LoadEulaFileOnFileThread()
311 if (contents_.empty() && path_ != chrome::kOemEulaURLPath) in ResponseOnUIThread()
377 chrome::kChromeHostURLs, in ChromeURLs()
378 chrome::kChromeHostURLs + chrome::kNumberOfChromeHostURLs); in ChromeURLs()
387 for (int i = 0; i < chrome::kNumberOfChromeDebugURLs; i++) in ChromeURLs()
388 html += "<li>" + std::string(chrome::kChromeDebugURLs[i]) + "</li>\n"; in ChromeURLs()
[all …]
Dnacl_ui.cc54 content::WebUIDataSource::Create(chrome::kChromeUINaClHost); in CreateNaClUIHTMLSource()
182 chrome::VersionInfo version_info; in AddOperatingSystemInfo()
186 chrome::VersionInfo::GetVersionStringModifier() + ")")); in AddOperatingSystemInfo()
261 bool got_path = PathService::Get(chrome::DIR_PNACL_COMPONENT, &pnacl_path); in AddPnaclInfo()
333 scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); in CheckVersion() local
334 if (!root || !root->IsType(base::Value::TYPE_DICTIONARY)) in CheckVersion()
339 static_cast<base::DictionaryValue*>(root.get())->GetStringASCII( in CheckVersion()
345 bool got_path = PathService::Get(chrome::DIR_PNACL_COMPONENT, &pnacl_path); in CheckPathAndVersion()
/external/chromium_org/
Dcodereview.settings7 TRYSERVER_SVN_URL: svn://svn.chromium.org/chrome-try/try
8 …http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revision=HEAD&root=chrome
9 …http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revision=HEAD&root=chrome
DBUILD.gn5 # This is the root build file for GN. GN will start processing by loading this
14 group("root") {
26 "//chrome/browser",
27 "//chrome/browser/devtools",
28 "//chrome/common",
29 "//chrome/plugin",
30 "//chrome/renderer",
31 "//chrome/utility",
182 "//chrome/browser",
183 "//chrome/browser/devtools",
[all …]
/external/chromium_org/chrome/browser/ui/ash/
Dchrome_shell_delegate.cc83 return chrome::IsRunningInForcedAppMode(); in IsRunningInForcedAppMode()
94 chrome::AttemptUserExit(); in Exit()
120 aura::Window* root, in CreateContextMenu() argument
125 if (chrome::IsRunningInAppMode()) in CreateContextMenu()
129 return new LauncherContextMenu(shelf_delegate_, item_delegate, item, root); in CreateContextMenu()
131 return new LauncherContextMenu(shelf_delegate_, root); in CreateContextMenu()
/external/chromium_org/chrome/browser/ui/cocoa/applescript/
Dbrowsercrapplication+applescript_test.mm8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/browser_tabstrip.h"
11 #import "chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.h"
12 #import "chrome/browser/ui/cocoa/applescript/constants_applescript.h"
13 #import "chrome/browser/ui/cocoa/applescript/window_applescript.h"
14 #include "chrome/browser/ui/tabs/tab_strip_model.h"
15 #include "chrome/test/base/in_process_browser_test.h"
94 // Check for objectSpecifer of the root scripting object.
96 // Should always return nil to indicate its the root scripting object.
[all …]
Dbookmark_applescript_utils_unittest.mm5 #import "chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.h"
7 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
8 #include "chrome/test/base/testing_profile.h"
68 const BookmarkNode* root = model->bookmark_bar_node();
70 test::AddNodesFromModelString(model, root, modelString);
/external/chromium_org/chrome/browser/resources/
Dcertificate_viewer.js15 var args = JSON.parse(chrome.getVariableValue('dialogArguments'));
115 var root = constructTree(hierarchy[0]);
116 treeItem.detail.children['root'] = root;
117 treeItem.add(root);
122 var last = root;
167 chrome.send('requestCertificateFields', [item.detail.payload.index]);
202 chrome.send('exportCertificate', [item.detail.payload.index]);
/external/chromium_org/chrome/browser/ui/cocoa/content_settings/
Dcollected_cookies_mac_unittest.mm5 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h"
8 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
14 base::scoped_nsobject<NSTreeNode> root(
16 AttachTreeNodeChildren(root, dict);
17 return root.autorelease();
34 NSTreeNode* root = CreateTreeNodesFromDictionary(@{
39 NSArray* nodes = [root childNodes];
/external/chromium_org/third_party/WebKit/
Dcodereview.settings6 …http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revision=HEAD&root=chrome
7 …http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revision=HEAD&root=chrome
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/messages/
Dmsgs.js38 return chrome.i18n.getMessage('locale');
53 var message = chrome.i18n.getMessage(
68 cvox.Msgs.prototype.addTranslatedMessagesToDom = function(root) { argument
69 var elts = root.querySelectorAll('.i18n');
/external/chromium_org/chrome/installer/linux/rpm/
Dchrome.spec.template2 # chrome.spec
25 BuildRoot : %{_tmppath}/%{name}-%{version}-root
80 %defattr(-,root,root)
90 %ghost %attr(755,root,root) /usr/bin/google-chrome
175 %{_sbindir}/update-alternatives --install /usr/bin/google-chrome google-chrome \
203 %{_sbindir}/update-alternatives --remove google-chrome \
/external/chromium_org/chrome/browser/component_updater/test/
Dcomponent_installers_unittest.cc66 PathService::Get(chrome::DIR_TEST_DATA, &manifest); in TEST()
77 scoped_ptr<base::DictionaryValue> root(static_cast<base::DictionaryValue*>( in TEST() local
79 ASSERT_TRUE(root); in TEST()
80 ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); in TEST()
84 EXPECT_TRUE(CheckPepperFlashManifest(*root, &version)); in TEST()
/external/chromium_org/ui/file_manager/file_manager/background/js/
Dfile_operation_manager.js21 fileOperationUtil.resolvePath = function(root, path) { argument
23 return Promise.resolve(root);
24 return new Promise(root.getFile.bind(root, path, {create: false})).
29 root.getDirectory.bind(root, path, {create: false}));
265 chrome.fileManagerPrivate.onCopyProgress.removeListener(
276 chrome.fileManagerPrivate.onCopyProgress.removeListener(
285 chrome.fileManagerPrivate.onCopyProgress.removeListener(
287 chrome.fileManagerPrivate.cancelCopy(copyId);
297 chrome.fileManagerPrivate.onCopyProgress.addListener(onCopyProgress);
301 chrome.fileManagerPrivate.startCopy(
[all …]

12345