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

Side by Side Diff: Source/core/platform/chromium/support/WebScrollbarThemeGeometryNative.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
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 16 matching lines...) Expand all
27 #define WebScrollbarThemeGeometryNative_h 27 #define WebScrollbarThemeGeometryNative_h
28 28
29 #include "public/platform/WebRect.h" 29 #include "public/platform/WebRect.h"
30 #include "public/platform/WebScrollbarThemeGeometry.h" 30 #include "public/platform/WebScrollbarThemeGeometry.h"
31 #include "wtf/PassOwnPtr.h" 31 #include "wtf/PassOwnPtr.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 class ScrollbarTheme; 34 class ScrollbarTheme;
35 } 35 }
36 36
37 namespace WebKit { 37 namespace blink {
38 38
39 class WebScrollbar; 39 class WebScrollbar;
40 40
41 class WebScrollbarThemeGeometryNative : public WebScrollbarThemeGeometry { 41 class WebScrollbarThemeGeometryNative : public WebScrollbarThemeGeometry {
42 public: 42 public:
43 static PassOwnPtr<WebScrollbarThemeGeometryNative> create(WebCore::Scrollbar Theme*); 43 static PassOwnPtr<WebScrollbarThemeGeometryNative> create(WebCore::Scrollbar Theme*);
44 44
45 // WebScrollbarThemeGeometry overrides 45 // WebScrollbarThemeGeometry overrides
46 virtual WebScrollbarThemeGeometryNative* clone() const OVERRIDE; 46 virtual WebScrollbarThemeGeometryNative* clone() const OVERRIDE;
47 virtual int thumbPosition(WebScrollbar*) OVERRIDE; 47 virtual int thumbPosition(WebScrollbar*) OVERRIDE;
(...skipping 15 matching lines...) Expand all
63 63
64 private: 64 private:
65 explicit WebScrollbarThemeGeometryNative(WebCore::ScrollbarTheme*); 65 explicit WebScrollbarThemeGeometryNative(WebCore::ScrollbarTheme*);
66 66
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. Only thread-safe 68 // static pointer and its lifetime is essentially infinite. Only thread-safe
69 // functions on the theme can be called by this theme. 69 // functions on the theme can be called by this theme.
70 WebCore::ScrollbarTheme* m_theme; 70 WebCore::ScrollbarTheme* m_theme;
71 }; 71 };
72 72
73 } // namespace WebKit 73 } // namespace blink
74 74
75 #endif 75 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698