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

Side by Side Diff: ppapi/cpp/view.cc

Issue 9087006: Switch a number of code and header files from DOS to Unix line-endings. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 11 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
« no previous file with comments | « ppapi/cpp/view.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_view.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 "ppapi/cpp/view.h" 5 #include "ppapi/cpp/view.h"
6 6
7 #include "ppapi/c/ppb_view.h" 7 #include "ppapi/c/ppb_view.h"
8 #include "ppapi/cpp/module_impl.h" 8 #include "ppapi/cpp/module_impl.h"
9 9
10 namespace pp { 10 namespace pp {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 Rect View::GetClipRect() const { 53 Rect View::GetClipRect() const {
54 if (!has_interface<PPB_View>()) 54 if (!has_interface<PPB_View>())
55 return Rect(); 55 return Rect();
56 PP_Rect out; 56 PP_Rect out;
57 if (PP_ToBool(get_interface<PPB_View>()->GetClipRect(pp_resource(), &out))) 57 if (PP_ToBool(get_interface<PPB_View>()->GetClipRect(pp_resource(), &out)))
58 return Rect(out); 58 return Rect(out);
59 return Rect(); 59 return Rect();
60 } 60 }
61 61
62 } // namespace pp 62 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/view.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698