Chromium Code Reviews| 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 | 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 62 WebScrollbarOverlayColorTheme scrollbarOverlayColorTheme() const override; | 62 WebScrollbarOverlayColorTheme scrollbarOverlayColorTheme() const override; |
| 63 bool isCustomScrollbar() const override; | 63 bool isCustomScrollbar() const override; |
| 64 Orientation orientation() const override; | 64 Orientation orientation() const override; |
| 65 bool isLeftSideVerticalScrollbar() const override; | 65 bool isLeftSideVerticalScrollbar() const override; |
| 66 float elasticOverscroll() const override; | 66 float elasticOverscroll() const override; |
| 67 void setElasticOverscroll(float) override; | 67 void setElasticOverscroll(float) override; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 explicit WebScrollbarImpl(Scrollbar*); | 70 explicit WebScrollbarImpl(Scrollbar*); |
| 71 | 71 |
| 72 Persistent<Scrollbar> m_scrollbar; | 72 // Accessed by main and compositor threads. |
| 73 CrossThreadPersistent<Scrollbar> m_scrollbar; | |
|
haraken
2017/02/20 23:57:18
Ditto.
| |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 } // namespace blink | 76 } // namespace blink |
| 76 | 77 |
| 77 #endif | 78 #endif |
| OLD | NEW |