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

Side by Side Diff: content/public/common/common_param_traits.cc

Issue 8413051: Move PageZoom enum into content/public/common and into the content namespace. Also move content_c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « content/plugin/webplugin_delegate_stub.cc ('k') | content/public/common/content_constants.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) 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 #include "content/public/common/common_param_traits.h" 5 #include "content/public/common/common_param_traits.h"
6 6
7 #include "content/common/content_constants.h" 7 #include "content/public/common/content_constants.h"
8 #include "net/base/host_port_pair.h" 8 #include "net/base/host_port_pair.h"
9 #include "net/base/upload_data.h" 9 #include "net/base/upload_data.h"
10 #include "net/http/http_response_headers.h" 10 #include "net/http/http_response_headers.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "ui/base/range/range.h" 12 #include "ui/base/range/range.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 14
15 namespace { 15 namespace {
16 16
17 struct SkBitmap_Data { 17 struct SkBitmap_Data {
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 const SkBitmap_Data* bmp_data = 558 const SkBitmap_Data* bmp_data =
559 reinterpret_cast<const SkBitmap_Data*>(fixed_data); 559 reinterpret_cast<const SkBitmap_Data*>(fixed_data);
560 return bmp_data->InitSkBitmapFromData(r, variable_data, variable_data_size); 560 return bmp_data->InitSkBitmapFromData(r, variable_data, variable_data_size);
561 } 561 }
562 562
563 void ParamTraits<SkBitmap>::Log(const SkBitmap& p, std::string* l) { 563 void ParamTraits<SkBitmap>::Log(const SkBitmap& p, std::string* l) {
564 l->append("<SkBitmap>"); 564 l->append("<SkBitmap>");
565 } 565 }
566 566
567 } // namespace IPC 567 } // namespace IPC
OLDNEW
« no previous file with comments | « content/plugin/webplugin_delegate_stub.cc ('k') | content/public/common/content_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698