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

Side by Side Diff: content/browser/renderer_host/dip_util.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_
7 #pragma once
8 7
9 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
10 9
11 namespace gfx { 10 namespace gfx {
12 class Point; 11 class Point;
13 class Rect; 12 class Rect;
14 class Size; 13 class Size;
15 } // namespace gfx 14 } // namespace gfx
16 15
17 namespace content { 16 namespace content {
(...skipping 13 matching lines...) Expand all
31 const gfx::Rect& rect_in_pixel); 30 const gfx::Rect& rect_in_pixel);
32 CONTENT_EXPORT gfx::Point ConvertPointToPixel(const RenderWidgetHostView* view, 31 CONTENT_EXPORT gfx::Point ConvertPointToPixel(const RenderWidgetHostView* view,
33 const gfx::Point& point_in_dip); 32 const gfx::Point& point_in_dip);
34 CONTENT_EXPORT gfx::Size ConvertSizeToPixel(const RenderWidgetHostView* view, 33 CONTENT_EXPORT gfx::Size ConvertSizeToPixel(const RenderWidgetHostView* view,
35 const gfx::Size& size_in_dip); 34 const gfx::Size& size_in_dip);
36 CONTENT_EXPORT gfx::Rect ConvertRectToPixel(const RenderWidgetHostView* view, 35 CONTENT_EXPORT gfx::Rect ConvertRectToPixel(const RenderWidgetHostView* view,
37 const gfx::Rect& rect_in_dip); 36 const gfx::Rect& rect_in_dip);
38 } // namespace content 37 } // namespace content
39 38
40 #endif // CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_ 39 #endif // CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/database_message_filter.h ('k') | content/browser/renderer_host/doomed_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698