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

Side by Side Diff: Source/platform/scroll/ScrollbarThemeOverlay.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 20 matching lines...) Expand all
31 #include "platform/scroll/ScrollbarThemeClient.h" 31 #include "platform/scroll/ScrollbarThemeClient.h"
32 #include "platform/transforms/TransformationMatrix.h" 32 #include "platform/transforms/TransformationMatrix.h"
33 #include "public/platform/Platform.h" 33 #include "public/platform/Platform.h"
34 #include "public/platform/WebRect.h" 34 #include "public/platform/WebRect.h"
35 #include "public/platform/WebThemeEngine.h" 35 #include "public/platform/WebThemeEngine.h"
36 36
37 #include <algorithm> 37 #include <algorithm>
38 38
39 using namespace std; 39 using namespace std;
40 40
41 namespace WebCore { 41 namespace blink {
42 42
43 ScrollbarThemeOverlay::ScrollbarThemeOverlay(int thumbThickness, int scrollbarMa rgin, HitTestBehavior allowHitTest, Color color) 43 ScrollbarThemeOverlay::ScrollbarThemeOverlay(int thumbThickness, int scrollbarMa rgin, HitTestBehavior allowHitTest, Color color)
44 : ScrollbarTheme() 44 : ScrollbarTheme()
45 , m_thumbThickness(thumbThickness) 45 , m_thumbThickness(thumbThickness)
46 , m_scrollbarMargin(scrollbarMargin) 46 , m_scrollbarMargin(scrollbarMargin)
47 , m_allowHitTest(allowHitTest) 47 , m_allowHitTest(allowHitTest)
48 , m_color(color) 48 , m_color(color)
49 , m_useSolidColor(true) 49 , m_useSolidColor(true)
50 { 50 {
51 } 51 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 } 156 }
157 157
158 ScrollbarPart ScrollbarThemeOverlay::hitTest(ScrollbarThemeClient* scrollbar, co nst IntPoint& position) 158 ScrollbarPart ScrollbarThemeOverlay::hitTest(ScrollbarThemeClient* scrollbar, co nst IntPoint& position)
159 { 159 {
160 if (m_allowHitTest == DisallowHitTest) 160 if (m_allowHitTest == DisallowHitTest)
161 return NoPart; 161 return NoPart;
162 162
163 return ScrollbarTheme::hitTest(scrollbar, position); 163 return ScrollbarTheme::hitTest(scrollbar, position);
164 } 164 }
165 165
166 } // namespace WebCore 166 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeOverlay.h ('k') | Source/platform/scroll/ScrollbarThemeOverlayMock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698