Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: public/platform/WebScrollbarThemePainter.h

Issue 951453003: Rename rendering/RenderScrollbar* to layout/LayoutScrollbar* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderView.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 private: 66 private:
67 // The theme is not owned by this class. It is assumed that the theme is a 67 // The theme is not owned by this class. It is assumed that the theme is a
68 // static pointer and its lifetime is essentially infinite. The functions 68 // static pointer and its lifetime is essentially infinite. The functions
69 // called from the painter may not be thread-safe, so all calls must be made 69 // called from the painter may not be thread-safe, so all calls must be made
70 // from the same thread that it is created on. 70 // from the same thread that it is created on.
71 ScrollbarTheme* m_theme; 71 ScrollbarTheme* m_theme;
72 72
73 // It is assumed that the constructor of this paint object is responsible 73 // It is assumed that the constructor of this paint object is responsible
74 // for the lifetime of this scrollbar. The painter has to use the real 74 // for the lifetime of this scrollbar. The painter has to use the real
75 // scrollbar (and not a WebScrollbar wrapper) due to static_casts for 75 // scrollbar (and not a WebScrollbar wrapper) due to static_casts for
76 // RenderScrollbar and pointer-based HashMap lookups for Lion scrollbars. 76 // LayoutScrollbar and pointer-based HashMap lookups for Lion scrollbars.
77 Scrollbar* m_scrollbar; 77 Scrollbar* m_scrollbar;
78 }; 78 };
79 79
80 } // namespace blink 80 } // namespace blink
81 81
82 #endif 82 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698