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

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

Issue 27048004: Move PlatformScreen, PlatformScreenChromium, and Widget to Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Rebase to apply to trunk 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/PopupContainer.cpp ('k') | public/platform/WebRect.h » ('j') | 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) 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "PopupListBox.h" 32 #include "PopupListBox.h"
33 33
34 #include "CSSValueKeywords.h" 34 #include "CSSValueKeywords.h"
35 #include "PopupContainer.h" 35 #include "PopupContainer.h"
36 #include "PopupMenuChromium.h" 36 #include "PopupMenuChromium.h"
37 #include "RuntimeEnabledFeatures.h" 37 #include "RuntimeEnabledFeatures.h"
38 #include "core/platform/PlatformScreen.h"
39 #include "core/platform/PopupMenuClient.h" 38 #include "core/platform/PopupMenuClient.h"
40 #include "core/platform/ScrollbarTheme.h" 39 #include "core/platform/ScrollbarTheme.h"
41 #include "core/platform/chromium/FramelessScrollViewClient.h" 40 #include "core/platform/chromium/FramelessScrollViewClient.h"
42 #include "core/platform/graphics/Font.h" 41 #include "core/platform/graphics/Font.h"
43 #include "core/platform/graphics/FontCache.h" 42 #include "core/platform/graphics/FontCache.h"
44 #include "core/platform/graphics/FontSelector.h" 43 #include "core/platform/graphics/FontSelector.h"
45 #include "core/platform/graphics/GraphicsContext.h" 44 #include "core/platform/graphics/GraphicsContext.h"
46 #include "core/platform/graphics/StringTruncator.h" 45 #include "core/platform/graphics/StringTruncator.h"
47 #include "core/rendering/RenderTheme.h" 46 #include "core/rendering/RenderTheme.h"
48 #include "platform/KeyboardCodes.h" 47 #include "platform/KeyboardCodes.h"
49 #include "platform/PlatformGestureEvent.h" 48 #include "platform/PlatformGestureEvent.h"
50 #include "platform/PlatformKeyboardEvent.h" 49 #include "platform/PlatformKeyboardEvent.h"
51 #include "platform/PlatformMouseEvent.h" 50 #include "platform/PlatformMouseEvent.h"
51 #include "platform/PlatformScreen.h"
52 #include "platform/PlatformTouchEvent.h" 52 #include "platform/PlatformTouchEvent.h"
53 #include "platform/PlatformWheelEvent.h" 53 #include "platform/PlatformWheelEvent.h"
54 #include "platform/geometry/IntRect.h" 54 #include "platform/geometry/IntRect.h"
55 #include "platform/graphics/TextRun.h" 55 #include "platform/graphics/TextRun.h"
56 #include "wtf/ASCIICType.h" 56 #include "wtf/ASCIICType.h"
57 #include "wtf/CurrentTime.h" 57 #include "wtf/CurrentTime.h"
58 #include <limits> 58 #include <limits>
59 59
60 namespace WebCore { 60 namespace WebCore {
61 61
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 { 929 {
930 return numItems() && IntRect(0, 0, width(), height()).contains(point); 930 return numItems() && IntRect(0, 0, width(), height()).contains(point);
931 } 931 }
932 932
933 int PopupListBox::popupContentHeight() const 933 int PopupListBox::popupContentHeight() const
934 { 934 {
935 return height(); 935 return height();
936 } 936 }
937 937
938 } // namespace WebCore 938 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/web/PopupContainer.cpp ('k') | public/platform/WebRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698