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

Unified Diff: ppapi/shared_impl/ppb_view_shared.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, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/ppb_view_shared.h ('k') | ppapi/shared_impl/ppp_instance_combined.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_view_shared.cc
diff --git a/ppapi/shared_impl/ppb_view_shared.cc b/ppapi/shared_impl/ppb_view_shared.cc
index 30030d4d323ad7c40406a8c294aedee645eeb4de..8b2f339400491d7bbf0957e9df461016746dc0aa 100644
--- a/ppapi/shared_impl/ppb_view_shared.cc
+++ b/ppapi/shared_impl/ppb_view_shared.cc
@@ -1,55 +1,55 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ppapi/shared_impl/ppb_view_shared.h"
-
-namespace ppapi {
-
-ViewData::ViewData() {
- // Assume POD.
- memset(this, 0, sizeof(ViewData));
-}
-
-ViewData::~ViewData() {
-}
-
-bool ViewData::Equals(const ViewData& other) const {
- return rect.point.x == other.rect.point.x &&
- rect.point.y == other.rect.point.y &&
- rect.size.width == other.rect.size.width &&
- rect.size.height == other.rect.size.height &&
- is_fullscreen == other.is_fullscreen &&
- is_page_visible == other.is_page_visible &&
- clip_rect.point.x == other.clip_rect.point.x &&
- clip_rect.point.y == other.clip_rect.point.y &&
- clip_rect.size.width == other.clip_rect.size.width &&
- clip_rect.size.height == other.clip_rect.size.height;
-}
-
-PPB_View_Shared::PPB_View_Shared(const InitAsImpl&,
- PP_Instance instance,
- const ViewData& data)
- : Resource(instance),
- data_(data) {
-}
-
-PPB_View_Shared::PPB_View_Shared(const InitAsProxy&,
- PP_Instance instance,
- const ViewData& data)
- : Resource(HostResource::MakeInstanceOnly(instance)),
- data_(data) {
-}
-
-PPB_View_Shared::~PPB_View_Shared() {
-}
-
-thunk::PPB_View_API* PPB_View_Shared::AsPPB_View_API() {
- return this;
-}
-
-const ViewData& PPB_View_Shared::GetData() const {
- return data_;
-}
-
-} // namespace ppapi
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ppapi/shared_impl/ppb_view_shared.h"
+
+namespace ppapi {
+
+ViewData::ViewData() {
+ // Assume POD.
+ memset(this, 0, sizeof(ViewData));
+}
+
+ViewData::~ViewData() {
+}
+
+bool ViewData::Equals(const ViewData& other) const {
+ return rect.point.x == other.rect.point.x &&
+ rect.point.y == other.rect.point.y &&
+ rect.size.width == other.rect.size.width &&
+ rect.size.height == other.rect.size.height &&
+ is_fullscreen == other.is_fullscreen &&
+ is_page_visible == other.is_page_visible &&
+ clip_rect.point.x == other.clip_rect.point.x &&
+ clip_rect.point.y == other.clip_rect.point.y &&
+ clip_rect.size.width == other.clip_rect.size.width &&
+ clip_rect.size.height == other.clip_rect.size.height;
+}
+
+PPB_View_Shared::PPB_View_Shared(const InitAsImpl&,
+ PP_Instance instance,
+ const ViewData& data)
+ : Resource(instance),
+ data_(data) {
+}
+
+PPB_View_Shared::PPB_View_Shared(const InitAsProxy&,
+ PP_Instance instance,
+ const ViewData& data)
+ : Resource(HostResource::MakeInstanceOnly(instance)),
+ data_(data) {
+}
+
+PPB_View_Shared::~PPB_View_Shared() {
+}
+
+thunk::PPB_View_API* PPB_View_Shared::AsPPB_View_API() {
+ return this;
+}
+
+const ViewData& PPB_View_Shared::GetData() const {
+ return data_;
+}
+
+} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/ppb_view_shared.h ('k') | ppapi/shared_impl/ppp_instance_combined.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698