| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012, Google Inc. All rights reserved. | 2 * Copyright (c) 2012, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef LayoutRectOutsets_h | 31 #ifndef LayoutRectOutsets_h |
| 32 #define LayoutRectOutsets_h | 32 #define LayoutRectOutsets_h |
| 33 | 33 |
| 34 #include "platform/LayoutUnit.h" | 34 #include "platform/LayoutUnit.h" |
| 35 #include "platform/PlatformExport.h" | 35 #include "platform/PlatformExport.h" |
| 36 #include "platform/geometry/FloatRectOutsets.h" | 36 #include "platform/geometry/FloatRectOutsets.h" |
| 37 #include "platform/geometry/IntRectOutsets.h" | 37 #include "platform/geometry/IntRectOutsets.h" |
| 38 #include "platform/text/TextDirection.h" | 38 #include "platform/text/TextDirection.h" |
| 39 #include "platform/text/WritingMode.h" | 39 #include "platform/text/WritingMode.h" |
| 40 #include "wtf/Allocator.h" | 40 #include "platform/wtf/Allocator.h" |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 // Specifies LayoutUnit lengths to be used to expand a rectangle. | 44 // Specifies LayoutUnit lengths to be used to expand a rectangle. |
| 45 // For example, |top()| returns the distance the top edge should be moved | 45 // For example, |top()| returns the distance the top edge should be moved |
| 46 // upward. | 46 // upward. |
| 47 // | 47 // |
| 48 // Negative lengths can be used to express insets. | 48 // Negative lengths can be used to express insets. |
| 49 class PLATFORM_EXPORT LayoutRectOutsets { | 49 class PLATFORM_EXPORT LayoutRectOutsets { |
| 50 DISALLOW_NEW(); | 50 DISALLOW_NEW(); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 private: | 116 private: |
| 117 LayoutUnit m_top; | 117 LayoutUnit m_top; |
| 118 LayoutUnit m_right; | 118 LayoutUnit m_right; |
| 119 LayoutUnit m_bottom; | 119 LayoutUnit m_bottom; |
| 120 LayoutUnit m_left; | 120 LayoutUnit m_left; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 #endif // LayoutRectOutsets_h | 125 #endif // LayoutRectOutsets_h |
| OLD | NEW |