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

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

Issue 115412: Fix Skia includes to use the whole path name. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/common/security_filter_peer.cc ('k') | chrome/tools/profiles/generate_profile.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) 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
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 #include <windows.h> 12 #include <windows.h>
13 #include <wininet.h> 13 #include <wininet.h>
14 #endif 14 #endif
15 15
16 #include "app/resource_bundle.h" 16 #include "app/resource_bundle.h"
17 #include "base/clipboard.h" 17 #include "base/clipboard.h"
18 #include "base/scoped_clipboard_writer.h" 18 #include "base/scoped_clipboard_writer.h"
19 #include "base/string_util.h" 19 #include "base/string_util.h"
20 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
21 #include "chrome/common/render_messages.h" 21 #include "chrome/common/render_messages.h"
22 #include "chrome/common/url_constants.h" 22 #include "chrome/common/url_constants.h"
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 "webkit/api/public/WebKit.h" 29 #include "webkit/api/public/WebKit.h"
29 #include "webkit/api/public/WebKitClient.h" 30 #include "webkit/api/public/WebKitClient.h"
30 #include "webkit/api/public/WebString.h" 31 #include "webkit/api/public/WebString.h"
31 #include "webkit/glue/scoped_clipboard_writer_glue.h" 32 #include "webkit/glue/scoped_clipboard_writer_glue.h"
32 #include "webkit/glue/webframe.h" 33 #include "webkit/glue/webframe.h"
33 #include "webkit/glue/webkit_glue.h" 34 #include "webkit/glue/webkit_glue.h"
34 35
35 #include "SkBitmap.h"
36 36
37 #if defined(OS_WIN) 37 #if defined(OS_WIN)
38 #include <strsafe.h> // note: per msdn docs, this must *follow* other includes 38 #include <strsafe.h> // note: per msdn docs, this must *follow* other includes
39 #endif 39 #endif
40 40
41 template <typename T, size_t stack_capacity> 41 template <typename T, size_t stack_capacity>
42 class ResizableStackArray { 42 class ResizableStackArray {
43 public: 43 public:
44 ResizableStackArray() 44 ResizableStackArray()
45 : cur_buffer_(stack_buffer_), cur_capacity_(stack_capacity) { 45 : cur_buffer_(stack_buffer_), cur_capacity_(stack_capacity) {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 void NotifyCacheStats() { 247 void NotifyCacheStats() {
248 // Update the browser about our cache 248 // Update the browser about our cache
249 // NOTE: Since this can be called from the plugin process, we might not have 249 // NOTE: Since this can be called from the plugin process, we might not have
250 // a RenderThread. Do nothing in that case. 250 // a RenderThread. Do nothing in that case.
251 if (!IsPluginProcess()) 251 if (!IsPluginProcess())
252 RenderThread::current()->InformHostOfCacheStatsLater(); 252 RenderThread::current()->InformHostOfCacheStatsLater();
253 } 253 }
254 254
255 255
256 } // namespace webkit_glue 256 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « chrome/common/security_filter_peer.cc ('k') | chrome/tools/profiles/generate_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698