| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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 "build/build_config.h" |    5 #include "build/build_config.h" | 
|    6  |    6  | 
|    7 #if defined(TOOLKIT_GTK) |  | 
|    8 #include <gtk/gtk.h> |  | 
|    9 #endif |  | 
|   10  |  | 
|   11 #include "chrome/browser/chrome_notification_types.h" |    7 #include "chrome/browser/chrome_notification_types.h" | 
|   12 #include "chrome/browser/extensions/browser_action_test_util.h" |    8 #include "chrome/browser/extensions/browser_action_test_util.h" | 
|   13 #include "chrome/browser/extensions/extension_action.h" |    9 #include "chrome/browser/extensions/extension_action.h" | 
|   14 #include "chrome/browser/extensions/extension_action_icon_factory.h" |   10 #include "chrome/browser/extensions/extension_action_icon_factory.h" | 
|   15 #include "chrome/browser/extensions/extension_action_manager.h" |   11 #include "chrome/browser/extensions/extension_action_manager.h" | 
|   16 #include "chrome/browser/extensions/extension_apitest.h" |   12 #include "chrome/browser/extensions/extension_apitest.h" | 
|   17 #include "chrome/browser/extensions/extension_service.h" |   13 #include "chrome/browser/extensions/extension_service.h" | 
|   18 #include "chrome/browser/extensions/extension_tab_util.h" |   14 #include "chrome/browser/extensions/extension_tab_util.h" | 
|   19 #include "chrome/browser/extensions/extension_toolbar_model.h" |   15 #include "chrome/browser/extensions/extension_toolbar_model.h" | 
|   20 #include "chrome/browser/profiles/profile.h" |   16 #include "chrome/browser/profiles/profile.h" | 
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  725   const std::string script = |  721   const std::string script = | 
|  726       "window.domAutomationController.send(document.body.style." |  722       "window.domAutomationController.send(document.body.style." | 
|  727       "backgroundColor);"; |  723       "backgroundColor);"; | 
|  728   std::string result; |  724   std::string result; | 
|  729   EXPECT_TRUE(content::ExecuteScriptAndExtractString(tab, script, &result)); |  725   EXPECT_TRUE(content::ExecuteScriptAndExtractString(tab, script, &result)); | 
|  730   EXPECT_EQ(result, "red"); |  726   EXPECT_EQ(result, "red"); | 
|  731 } |  727 } | 
|  732  |  728  | 
|  733 }  // namespace |  729 }  // namespace | 
|  734 }  // namespace extensions |  730 }  // namespace extensions | 
| OLD | NEW |