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

Side by Side Diff: third_party/WebKit/Source/web/ExternalPopupMenu.cpp

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 24 matching lines...) Expand all
35 #include "core/frame/FrameView.h" 35 #include "core/frame/FrameView.h"
36 #include "core/frame/LocalFrame.h" 36 #include "core/frame/LocalFrame.h"
37 #include "core/html/HTMLOptionElement.h" 37 #include "core/html/HTMLOptionElement.h"
38 #include "core/html/HTMLSelectElement.h" 38 #include "core/html/HTMLSelectElement.h"
39 #include "core/layout/LayoutBox.h" 39 #include "core/layout/LayoutBox.h"
40 #include "core/page/Page.h" 40 #include "core/page/Page.h"
41 #include "core/style/ComputedStyle.h" 41 #include "core/style/ComputedStyle.h"
42 #include "platform/geometry/FloatQuad.h" 42 #include "platform/geometry/FloatQuad.h"
43 #include "platform/geometry/IntPoint.h" 43 #include "platform/geometry/IntPoint.h"
44 #include "platform/text/TextDirection.h" 44 #include "platform/text/TextDirection.h"
45 #include "platform/wtf/PtrUtil.h"
45 #include "public/platform/WebMouseEvent.h" 46 #include "public/platform/WebMouseEvent.h"
46 #include "public/platform/WebVector.h" 47 #include "public/platform/WebVector.h"
47 #include "public/web/WebExternalPopupMenu.h" 48 #include "public/web/WebExternalPopupMenu.h"
48 #include "public/web/WebFrameClient.h" 49 #include "public/web/WebFrameClient.h"
49 #include "public/web/WebMenuItemInfo.h" 50 #include "public/web/WebMenuItemInfo.h"
50 #include "public/web/WebPopupMenuInfo.h" 51 #include "public/web/WebPopupMenuInfo.h"
51 #include "web/WebLocalFrameImpl.h" 52 #include "web/WebLocalFrameImpl.h"
52 #include "web/WebViewImpl.h" 53 #include "web/WebViewImpl.h"
53 #include "wtf/PtrUtil.h"
54 54
55 namespace blink { 55 namespace blink {
56 56
57 ExternalPopupMenu::ExternalPopupMenu(LocalFrame& frame, 57 ExternalPopupMenu::ExternalPopupMenu(LocalFrame& frame,
58 HTMLSelectElement& ownerElement, 58 HTMLSelectElement& ownerElement,
59 WebViewImpl& webView) 59 WebViewImpl& webView)
60 : m_ownerElement(ownerElement), 60 : m_ownerElement(ownerElement),
61 m_localFrame(frame), 61 m_localFrame(frame),
62 m_webView(webView), 62 m_webView(webView),
63 m_dispatchEventTimer( 63 m_dispatchEventTimer(
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 if (ownerElement.itemIsDisplayNone(*items[i])) 303 if (ownerElement.itemIsDisplayNone(*items[i]))
304 continue; 304 continue;
305 if (popupMenuItemIndex == i) 305 if (popupMenuItemIndex == i)
306 return indexTracker; 306 return indexTracker;
307 ++indexTracker; 307 ++indexTracker;
308 } 308 }
309 return -1; 309 return -1;
310 } 310 }
311 311
312 } // namespace blink 312 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ExternalPopupMenu.h ('k') | third_party/WebKit/Source/web/InspectorOverlay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698