| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PUBLIC_COMMON_TRANSITION_ELEMENT_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_ | 6 #define CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 // This struct stores the information of one transition element. | 15 // This struct stores the information of one transition element. |
| 16 struct CONTENT_EXPORT TransitionElement { | 16 struct CONTENT_EXPORT TransitionElement { |
| 17 std::string name; | 17 std::string id; |
| 18 gfx::Rect rect; | 18 gfx::Rect rect; |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace content | 21 } // namespace content |
| 22 | 22 |
| 23 #endif // CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_ | 23 #endif // CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_ |
| OLD | NEW |