Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html

Issue 3129003: remove toolstrips (Closed)
Patch Set: merge Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html
diff --git a/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html b/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html
deleted file mode 100644
index da7cdaeb13715025b7de41df34b46c4ed4d5e7d5..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<script>
-var isToolstrip = 1;
-// This function is called from the C++ browser test. It does a basic sanity
-// test that we can call extension APIs.
-function testTabsAPI() {
- console.log(chrome.tabs);
-
- chrome.tabs.getAllInWindow(null, function(tabs) {
- window.domAutomationController.send(tabs.length == 1);
- });
-}
-
-// This function is called from the C++ browser test. It tests the getLanguage
-// function to make sure it can be used as an extension API. This will pass if
-// the browser navigates to a page in French language before this is called.
-function testTabsLanguageAPI() {
- chrome.tabs.detectLanguage(null, function(language) {
- window.domAutomationController.send(language == 'fr');
- });
-}
-
-// This function is called from the C++ browser test. It tests the getToolstrips
-// function to make sure it can be used as an extension API. This will pass if
-// getToolstrips returns all toolstrip views.
-function testgetToolstripsAPI() {
- var views = chrome.extension.getToolstrips();
- window.domAutomationController.send(views.length == 2 &&
- views[0].isToolstrip == 1 &&
- views[1].isToolstrip == 1);
-}
-
-// This function is called from the C++ browser test. It tests the
-// getBackgroundPage function to make sure it can be used as an extension API.
-// This will pass if getBackgroundPage returns background page view.
-function testgetBackgroundPageAPI() {
- var view = chrome.extension.getBackgroundPage();
- window.domAutomationController.send(view != null &&
- view.isBackgroundPage == 1);
-}
-
-// This function is called from the C++ browser test. It tests the
-// getExtensionTabs function to make sure it can be used as an extension API.
-// This will pass if getExtensionTabs returns tabcontent view.
-function testgetExtensionTabsAPI() {
- var views = chrome.extension.getExtensionTabs();
- // getTabContentses is here for backwards compatibility
- var views2 = chrome.extension.getTabContentses();
- window.domAutomationController.send(views.length == 1 &&
- views[0].isTabContents == 1 &&
- views2.length == 1 &&
- views2[0].isTabContents == 1);
-}
-
-</script>
-<select>
- <option>one</option>
- <option>two</option>
- <option>three</option>
-</select>

Powered by Google App Engine
This is Rietveld 408576698