OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. | 2 * Copyright (C) 2009 Apple Inc. |
3 * Copyright (C) 2009 Google Inc. | 3 * Copyright (C) 2009 Google Inc. |
4 * All rights reserved. | 4 * All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 22 matching lines...) Expand all Loading... |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 struct PaintInfo; | 35 struct PaintInfo; |
36 | 36 |
37 class IntRect; | 37 class IntRect; |
38 class LayoutObject; | 38 class LayoutObject; |
39 | 39 |
40 class LayoutMediaControls { | 40 class LayoutMediaControls { |
41 public: | 41 public: |
42 static bool paintMediaControlsPart(MediaControlElementType, LayoutObject*, c
onst PaintInfo&, const IntRect&); | 42 static bool paintMediaControlsPart(MediaControlElementType, LayoutObject*, c
onst PaintInfo&, const IntRect&); |
43 static void adjustMediaSliderThumbSize(LayoutStyle&); | 43 static void adjustMediaSliderThumbSize(ComputedStyle&); |
44 static String formatMediaControlsTime(float time); | 44 static String formatMediaControlsTime(float time); |
45 static String formatMediaControlsCurrentTime(float currentTime, float durati
on); | 45 static String formatMediaControlsCurrentTime(float currentTime, float durati
on); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // LayoutMediaControls_h | 50 #endif // LayoutMediaControls_h |
OLD | NEW |