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

Side by Side Diff: chrome/browser/extensions/extension_tabs_apitest.cc

Issue 570048: Add zoom extension API (Closed)
Patch Set: Zoom extension API with docs and examples Created 9 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 6
7 #include "chrome/browser/prefs/pref_service.h" 7 #include "chrome/browser/prefs/pref_service.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/common/pref_names.h" 10 #include "chrome/common/pref_names.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CaptureVisibleTabPng) { 80 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CaptureVisibleTabPng) {
81 ASSERT_TRUE(StartTestServer()); 81 ASSERT_TRUE(StartTestServer());
82 ASSERT_TRUE(RunExtensionSubtest("tabs/capture_visible_tab", 82 ASSERT_TRUE(RunExtensionSubtest("tabs/capture_visible_tab",
83 "test_png.html")) << message_; 83 "test_png.html")) << message_;
84 } 84 }
85 85
86 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabsOnUpdated) { 86 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabsOnUpdated) {
87 ASSERT_TRUE(StartTestServer()); 87 ASSERT_TRUE(StartTestServer());
88 ASSERT_TRUE(RunExtensionTest("tabs/on_updated")) << message_; 88 ASSERT_TRUE(RunExtensionTest("tabs/on_updated")) << message_;
89 } 89 }
90
91 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabZoomGetSet) {
92 ASSERT_TRUE(StartTestServer());
93 ASSERT_TRUE(RunExtensionTest("tabs/zoom_getset")) << message_;
94 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_tabs_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698