| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // more pixel baselines. | 28 // more pixel baselines. |
| 29 | 29 |
| 30 #ifndef WebTestThemeEngineMac_h | 30 #ifndef WebTestThemeEngineMac_h |
| 31 #define WebTestThemeEngineMac_h | 31 #define WebTestThemeEngineMac_h |
| 32 | 32 |
| 33 #include "public/platform/WebNonCopyable.h" | 33 #include "public/platform/WebNonCopyable.h" |
| 34 #include "public/platform/mac/WebThemeEngine.h" | 34 #include "public/platform/mac/WebThemeEngine.h" |
| 35 | 35 |
| 36 namespace WebTestRunner { | 36 namespace WebTestRunner { |
| 37 | 37 |
| 38 class WebTestThemeEngineMac : public WebKit::WebThemeEngine, public WebKit::WebN
onCopyable { | 38 class WebTestThemeEngineMac : public blink::WebThemeEngine, public blink::WebNon
Copyable { |
| 39 public: | 39 public: |
| 40 virtual void paintScrollbarThumb( | 40 virtual void paintScrollbarThumb( |
| 41 WebKit::WebCanvas*, | 41 blink::WebCanvas*, |
| 42 WebKit::WebThemeEngine::State, | 42 blink::WebThemeEngine::State, |
| 43 WebKit::WebThemeEngine::Size, | 43 blink::WebThemeEngine::Size, |
| 44 const WebKit::WebRect&, | 44 const blink::WebRect&, |
| 45 const WebKit::WebThemeEngine::ScrollbarInfo&); | 45 const blink::WebThemeEngine::ScrollbarInfo&); |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 virtual void paintHIThemeScrollbarThumb( | 48 virtual void paintHIThemeScrollbarThumb( |
| 49 WebKit::WebCanvas*, | 49 blink::WebCanvas*, |
| 50 WebKit::WebThemeEngine::State, | 50 blink::WebThemeEngine::State, |
| 51 WebKit::WebThemeEngine::Size, | 51 blink::WebThemeEngine::Size, |
| 52 const WebKit::WebRect&, | 52 const blink::WebRect&, |
| 53 const WebKit::WebThemeEngine::ScrollbarInfo&); | 53 const blink::WebThemeEngine::ScrollbarInfo&); |
| 54 virtual void paintNSScrollerScrollbarThumb( | 54 virtual void paintNSScrollerScrollbarThumb( |
| 55 WebKit::WebCanvas*, | 55 blink::WebCanvas*, |
| 56 WebKit::WebThemeEngine::State, | 56 blink::WebThemeEngine::State, |
| 57 WebKit::WebThemeEngine::Size, | 57 blink::WebThemeEngine::Size, |
| 58 const WebKit::WebRect&, | 58 const blink::WebRect&, |
| 59 const WebKit::WebThemeEngine::ScrollbarInfo&); | 59 const blink::WebThemeEngine::ScrollbarInfo&); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } | 62 } |
| 63 | 63 |
| 64 #endif // WebTestThemeEngineMac_h | 64 #endif // WebTestThemeEngineMac_h |
| OLD | NEW |