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 "chrome/browser/extensions/api/tabs/tabs_api.h" | 5 #include "chrome/browser/extensions/api/tabs/tabs_api.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 2116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2127 script_executor()->ExecuteScript( | 2127 script_executor()->ExecuteScript( |
2128 extension->id(), | 2128 extension->id(), |
2129 script_type, | 2129 script_type, |
2130 code_string, | 2130 code_string, |
2131 frame_scope, | 2131 frame_scope, |
2132 run_at, | 2132 run_at, |
2133 ScriptExecutor::ISOLATED_WORLD, | 2133 ScriptExecutor::ISOLATED_WORLD, |
2134 base::Bind(&ExecuteCodeInTabFunction::OnExecuteCodeFinished, this)); | 2134 base::Bind(&ExecuteCodeInTabFunction::OnExecuteCodeFinished, this)); |
2135 return true; | 2135 return true; |
2136 } | 2136 } |
OLD | NEW |