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

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

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « chrome/renderer/render_view_unittest.cc ('k') | chrome/renderer/user_script_slave.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This file provides the embedder's side of random webkit glue functions. 5 // This file provides the embedder's side of random webkit glue functions.
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 #include "chrome/plugin/npobject_util.h" 23 #include "chrome/plugin/npobject_util.h"
24 #include "chrome/renderer/net/render_dns_master.h" 24 #include "chrome/renderer/net/render_dns_master.h"
25 #include "chrome/renderer/render_process.h" 25 #include "chrome/renderer/render_process.h"
26 #include "chrome/renderer/render_thread.h" 26 #include "chrome/renderer/render_thread.h"
27 #include "googleurl/src/url_util.h" 27 #include "googleurl/src/url_util.h"
28 #include "third_party/skia/include/core/SkBitmap.h" 28 #include "third_party/skia/include/core/SkBitmap.h"
29 #include "webkit/api/public/WebKit.h" 29 #include "webkit/api/public/WebKit.h"
30 #include "webkit/api/public/WebKitClient.h" 30 #include "webkit/api/public/WebKitClient.h"
31 #include "webkit/api/public/WebString.h" 31 #include "webkit/api/public/WebString.h"
32 #include "webkit/glue/scoped_clipboard_writer_glue.h" 32 #include "webkit/glue/scoped_clipboard_writer_glue.h"
33 #include "webkit/glue/webframe.h"
34 #include "webkit/glue/webkit_glue.h" 33 #include "webkit/glue/webkit_glue.h"
35 34
36
37 #if defined(OS_WIN) 35 #if defined(OS_WIN)
38 #include <strsafe.h> // note: per msdn docs, this must *follow* other includes 36 #include <strsafe.h> // note: per msdn docs, this must *follow* other includes
39 #endif 37 #endif
40 38
41 template <typename T, size_t stack_capacity> 39 template <typename T, size_t stack_capacity>
42 class ResizableStackArray { 40 class ResizableStackArray {
43 public: 41 public:
44 ResizableStackArray() 42 ResizableStackArray()
45 : cur_buffer_(stack_buffer_), cur_capacity_(stack_capacity) { 43 : cur_buffer_(stack_buffer_), cur_capacity_(stack_capacity) {
46 } 44 }
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 240
243 void CloseIdleConnections() { 241 void CloseIdleConnections() {
244 RenderThread::current()->CloseIdleConnections(); 242 RenderThread::current()->CloseIdleConnections();
245 } 243 }
246 244
247 void SetCacheMode(bool enabled) { 245 void SetCacheMode(bool enabled) {
248 RenderThread::current()->SetCacheMode(enabled); 246 RenderThread::current()->SetCacheMode(enabled);
249 } 247 }
250 248
251 } // namespace webkit_glue 249 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « chrome/renderer/render_view_unittest.cc ('k') | chrome/renderer/user_script_slave.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698