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

Side by Side Diff: chrome/renderer/render_thread.cc

Issue 275026: Move scripting / v8 related methods out of WebKit.h, second try (Closed)
Patch Set: rebase Created 11 years, 2 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
« no previous file with comments | « no previous file | chrome/test/render_view_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/render_thread.h" 5 #include "chrome/renderer/render_thread.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "chrome/renderer/render_view.h" 44 #include "chrome/renderer/render_view.h"
45 #include "chrome/renderer/renderer_webkitclient_impl.h" 45 #include "chrome/renderer/renderer_webkitclient_impl.h"
46 #include "chrome/renderer/user_script_slave.h" 46 #include "chrome/renderer/user_script_slave.h"
47 #include "ipc/ipc_message.h" 47 #include "ipc/ipc_message.h"
48 #include "webkit/api/public/WebCache.h" 48 #include "webkit/api/public/WebCache.h"
49 #include "webkit/api/public/WebColor.h" 49 #include "webkit/api/public/WebColor.h"
50 #include "webkit/api/public/WebCrossOriginPreflightResultCache.h" 50 #include "webkit/api/public/WebCrossOriginPreflightResultCache.h"
51 #include "webkit/api/public/WebFontCache.h" 51 #include "webkit/api/public/WebFontCache.h"
52 #include "webkit/api/public/WebColor.h" 52 #include "webkit/api/public/WebColor.h"
53 #include "webkit/api/public/WebKit.h" 53 #include "webkit/api/public/WebKit.h"
54 #include "webkit/api/public/WebScriptController.h"
54 #include "webkit/api/public/WebStorageEventDispatcher.h" 55 #include "webkit/api/public/WebStorageEventDispatcher.h"
55 #include "webkit/api/public/WebString.h" 56 #include "webkit/api/public/WebString.h"
56 #include "webkit/extensions/v8/benchmarking_extension.h" 57 #include "webkit/extensions/v8/benchmarking_extension.h"
57 #include "webkit/extensions/v8/gears_extension.h" 58 #include "webkit/extensions/v8/gears_extension.h"
58 #include "webkit/extensions/v8/interval_extension.h" 59 #include "webkit/extensions/v8/interval_extension.h"
59 #include "webkit/extensions/v8/playback_extension.h" 60 #include "webkit/extensions/v8/playback_extension.h"
60 #include "third_party/tcmalloc/tcmalloc/src/google/malloc_extension.h" 61 #include "third_party/tcmalloc/tcmalloc/src/google/malloc_extension.h"
61 62
62 #if defined(OS_WIN) 63 #if defined(OS_WIN)
63 #include <windows.h> 64 #include <windows.h>
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 void RenderThread::OnPurgePluginListCache(bool reload_pages) { 561 void RenderThread::OnPurgePluginListCache(bool reload_pages) {
561 EnsureWebKitInitialized(); 562 EnsureWebKitInitialized();
562 // The call below will cause a GetPlugins call with refresh=true, but at this 563 // The call below will cause a GetPlugins call with refresh=true, but at this
563 // point we already know that the browser has refreshed its list, so disable 564 // point we already know that the browser has refreshed its list, so disable
564 // refresh temporarily to prevent each renderer process causing the list to be 565 // refresh temporarily to prevent each renderer process causing the list to be
565 // regenerated. 566 // regenerated.
566 plugin_refresh_allowed_ = false; 567 plugin_refresh_allowed_ = false;
567 WebKit::resetPluginCache(reload_pages); 568 WebKit::resetPluginCache(reload_pages);
568 plugin_refresh_allowed_ = true; 569 plugin_refresh_allowed_ = true;
569 } 570 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698