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

Side by Side Diff: chrome/renderer/extensions/user_script_scheduler.cc

Issue 11817030: Update some #includes in chrome/renderer/extensions/ for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
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/renderer/extensions/user_script_scheduler.h" 5 #include "chrome/renderer/extensions/user_script_scheduler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "chrome/common/extensions/extension_manifest_constants.h" 9 #include "chrome/common/extensions/extension_manifest_constants.h"
10 #include "chrome/common/extensions/extension_messages.h" 10 #include "chrome/common/extensions/extension_messages.h"
11 #include "chrome/renderer/extensions/dispatcher.h" 11 #include "chrome/renderer/extensions/dispatcher.h"
12 #include "chrome/renderer/extensions/extension_groups.h" 12 #include "chrome/renderer/extensions/extension_groups.h"
13 #include "chrome/renderer/extensions/extension_helper.h" 13 #include "chrome/renderer/extensions/extension_helper.h"
14 #include "chrome/renderer/extensions/user_script_slave.h" 14 #include "chrome/renderer/extensions/user_script_slave.h"
15 #include "content/public/renderer/render_view.h" 15 #include "content/public/renderer/render_view.h"
16 #include "content/public/renderer/v8_value_converter.h" 16 #include "content/public/renderer/v8_value_converter.h"
17 #include "extensions/common/error_utils.h" 17 #include "extensions/common/error_utils.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" 19 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
23 #include "v8/include/v8.h" 23 #include "v8/include/v8.h"
24 24
25 namespace { 25 namespace {
26 // The length of time to wait after the DOM is complete to try and run user 26 // The length of time to wait after the DOM is complete to try and run user
27 // scripts. 27 // scripts.
28 const int kUserScriptIdleTimeoutMs = 200; 28 const int kUserScriptIdleTimeoutMs = 200;
29 } 29 }
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 for (WebFrame* child_frame = parent_frame->firstChild(); child_frame; 250 for (WebFrame* child_frame = parent_frame->firstChild(); child_frame;
251 child_frame = child_frame->nextSibling()) { 251 child_frame = child_frame->nextSibling()) {
252 frames_vector->push_back(child_frame); 252 frames_vector->push_back(child_frame);
253 GetAllChildFrames(child_frame, frames_vector); 253 GetAllChildFrames(child_frame, frames_vector);
254 } 254 }
255 return true; 255 return true;
256 } 256 }
257 257
258 } // namespace extensions 258 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/resource_request_policy.cc ('k') | chrome/renderer/extensions/user_script_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698