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

Side by Side Diff: Source/web/WebPluginScrollbarImpl.cpp

Issue 26306002: Move ScrollTypes.h from Source/core/platform to Source/platform/scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/web/WebFrameImpl.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 * 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 14 matching lines...) Expand all
25 #include "config.h" 25 #include "config.h"
26 #include "WebPluginScrollbarImpl.h" 26 #include "WebPluginScrollbarImpl.h"
27 27
28 #include "ScrollbarGroup.h" 28 #include "ScrollbarGroup.h"
29 #include "WebInputEvent.h" 29 #include "WebInputEvent.h"
30 #include "WebInputEventConversion.h" 30 #include "WebInputEventConversion.h"
31 #include "WebPluginContainerImpl.h" 31 #include "WebPluginContainerImpl.h"
32 #include "WebPluginScrollbarClient.h" 32 #include "WebPluginScrollbarClient.h"
33 #include "WebViewImpl.h" 33 #include "WebViewImpl.h"
34 #include "core/platform/ScrollAnimator.h" 34 #include "core/platform/ScrollAnimator.h"
35 #include "core/platform/ScrollTypes.h"
36 #include "core/platform/Scrollbar.h" 35 #include "core/platform/Scrollbar.h"
37 #include "core/platform/ScrollbarTheme.h" 36 #include "core/platform/ScrollbarTheme.h"
38 #include "core/platform/chromium/KeyboardCodes.h" 37 #include "core/platform/chromium/KeyboardCodes.h"
39 #include "core/platform/graphics/GraphicsContext.h" 38 #include "core/platform/graphics/GraphicsContext.h"
39 #include "platform/scroll/ScrollTypes.h"
40 #include "public/platform/WebCanvas.h" 40 #include "public/platform/WebCanvas.h"
41 #include "public/platform/WebRect.h" 41 #include "public/platform/WebRect.h"
42 #include "public/platform/WebVector.h" 42 #include "public/platform/WebVector.h"
43 43
44 using namespace std; 44 using namespace std;
45 using namespace WebCore; 45 using namespace WebCore;
46 46
47 namespace WebKit { 47 namespace WebKit {
48 48
49 WebPluginScrollbar* WebPluginScrollbar::createForPlugin(Orientation orientation, 49 WebPluginScrollbar* WebPluginScrollbar::createForPlugin(Orientation orientation,
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 WebCore::ScrollDirection scrollDirection; 365 WebCore::ScrollDirection scrollDirection;
366 WebCore::ScrollGranularity scrollGranularity; 366 WebCore::ScrollGranularity scrollGranularity;
367 if (WebViewImpl::mapKeyCodeForScroll(keyCode, &scrollDirection, &scrollGranu larity)) { 367 if (WebViewImpl::mapKeyCodeForScroll(keyCode, &scrollDirection, &scrollGranu larity)) {
368 // Will return false if scroll direction wasn't compatible with this scr ollbar. 368 // Will return false if scroll direction wasn't compatible with this scr ollbar.
369 return m_group->scroll(scrollDirection, scrollGranularity); 369 return m_group->scroll(scrollDirection, scrollGranularity);
370 } 370 }
371 return false; 371 return false;
372 } 372 }
373 373
374 } // namespace WebKit 374 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698