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

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

Issue 398673003: Rename WebCore namespace to blink in bindings and web (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
« no previous file with comments | « Source/web/PopupListBox.h ('k') | Source/web/PopupMenuChromium.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "platform/scroll/FramelessScrollViewClient.h" 50 #include "platform/scroll/FramelessScrollViewClient.h"
51 #include "platform/scroll/ScrollbarTheme.h" 51 #include "platform/scroll/ScrollbarTheme.h"
52 #include "platform/text/StringTruncator.h" 52 #include "platform/text/StringTruncator.h"
53 #include "platform/text/TextRun.h" 53 #include "platform/text/TextRun.h"
54 #include "web/PopupContainer.h" 54 #include "web/PopupContainer.h"
55 #include "web/PopupMenuChromium.h" 55 #include "web/PopupMenuChromium.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 using namespace WebCore; 60 using namespace blink;
61 61
62 namespace blink { 62 namespace blink {
63 63
64 using namespace WTF::Unicode; 64 using namespace WTF::Unicode;
65 65
66 const int PopupListBox::defaultMaxHeight = 500; 66 const int PopupListBox::defaultMaxHeight = 500;
67 static const int maxVisibleRows = 20; 67 static const int maxVisibleRows = 20;
68 static const int minEndOfLinePadding = 2; 68 static const int minEndOfLinePadding = 2;
69 static const TimeStamp typeAheadTimeoutMs = 1000; 69 static const TimeStamp typeAheadTimeoutMs = 1000;
70 70
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 { 825 {
826 return numItems() && IntRect(0, 0, width(), height()).contains(point); 826 return numItems() && IntRect(0, 0, width(), height()).contains(point);
827 } 827 }
828 828
829 int PopupListBox::popupContentHeight() const 829 int PopupListBox::popupContentHeight() const
830 { 830 {
831 return height(); 831 return height();
832 } 832 }
833 833
834 } // namespace blink 834 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/PopupListBox.h ('k') | Source/web/PopupMenuChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698