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

Side by Side Diff: chrome/common/common_param_traits.h

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/badge_util.cc ('k') | chrome/common/common_param_traits.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 is used to define IPC::ParamTraits<> specializations for a number 5 // This file is used to define IPC::ParamTraits<> specializations for a number
6 // of types so that they can be serialized over IPC. IPC::ParamTraits<> 6 // of types so that they can be serialized over IPC. IPC::ParamTraits<>
7 // specializations for basic types (like int and std::string) and types in the 7 // specializations for basic types (like int and std::string) and types in the
8 // 'base' project can be found in ipc/ipc_message_utils.h. This file contains 8 // 'base' project can be found in ipc/ipc_message_utils.h. This file contains
9 // specializations for types that are shared by more than one child process. 9 // specializations for types that are shared by more than one child process.
10 10
11 #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_H_ 11 #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_H_
12 #define CHROME_COMMON_COMMON_PARAM_TRAITS_H_ 12 #define CHROME_COMMON_COMMON_PARAM_TRAITS_H_
13 #pragma once 13 #pragma once
14 14
15 #include "app/surface/transport_dib.h" 15 #include "app/surface/transport_dib.h"
16 #include "base/file_util.h" 16 #include "base/file_util.h"
17 #include "base/platform_file.h" 17 #include "base/platform_file.h"
18 #include "base/ref_counted.h" 18 #include "base/ref_counted.h"
19 #include "chrome/common/content_settings.h" 19 #include "chrome/common/content_settings.h"
20 #include "chrome/common/page_zoom.h" 20 #include "chrome/common/page_zoom.h"
21 #include "gfx/native_widget_types.h"
22 #include "ipc/ipc_message_utils.h" 21 #include "ipc/ipc_message_utils.h"
23 #include "net/url_request/url_request_status.h" 22 #include "net/url_request/url_request_status.h"
24 #include "printing/native_metafile.h" 23 #include "printing/native_metafile.h"
25 // !!! WARNING: DO NOT ADD NEW WEBKIT DEPENDENCIES !!! 24 // !!! WARNING: DO NOT ADD NEW WEBKIT DEPENDENCIES !!!
26 // 25 //
27 // That means don't add #includes to any file in 'webkit/' or 26 // That means don't add #includes to any file in 'webkit/' or
28 // 'third_party/WebKit/'. Chrome Frame and NACL build parts of base/ and 27 // 'third_party/WebKit/'. Chrome Frame and NACL build parts of base/ and
29 // chrome/common/ for a mini-library that doesn't depend on webkit. 28 // chrome/common/ for a mini-library that doesn't depend on webkit.
30 // 29 //
31 // TODO(erg): The following two headers are historical and only work because 30 // TODO(erg): The following two headers are historical and only work because
32 // their definitions are inlined, which also needs to be fixed. 31 // their definitions are inlined, which also needs to be fixed.
32 #include "ui/gfx/native_widget_types.h"
33 #include "webkit/glue/webcursor.h" 33 #include "webkit/glue/webcursor.h"
34 #include "webkit/glue/window_open_disposition.h" 34 #include "webkit/glue/window_open_disposition.h"
35 35
36 // Forward declarations. 36 // Forward declarations.
37 struct Geoposition; 37 struct Geoposition;
38 class GURL; 38 class GURL;
39 class SkBitmap; 39 class SkBitmap;
40 class DictionaryValue; 40 class DictionaryValue;
41 class ListValue; 41 class ListValue;
42 struct ThumbnailScore; 42 struct ThumbnailScore;
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 struct ParamTraits<printing::PrinterCapsAndDefaults> { 339 struct ParamTraits<printing::PrinterCapsAndDefaults> {
340 typedef printing::PrinterCapsAndDefaults param_type; 340 typedef printing::PrinterCapsAndDefaults param_type;
341 static void Write(Message* m, const param_type& p); 341 static void Write(Message* m, const param_type& p);
342 static bool Read(const Message* m, void** iter, param_type* r); 342 static bool Read(const Message* m, void** iter, param_type* r);
343 static void Log(const param_type& p, std::string* l); 343 static void Log(const param_type& p, std::string* l);
344 }; 344 };
345 345
346 } // namespace IPC 346 } // namespace IPC
347 347
348 #endif // CHROME_COMMON_COMMON_PARAM_TRAITS_H_ 348 #endif // CHROME_COMMON_COMMON_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « chrome/common/badge_util.cc ('k') | chrome/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698