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

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

Issue 2590273002: Move WebMouseEvent into its own header file. (Closed)
Patch Set: Fix android build Created 3 years, 11 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 26 matching lines...) Expand all
37 #include "core/frame/FrameView.h" 37 #include "core/frame/FrameView.h"
38 #include "core/frame/LocalFrame.h" 38 #include "core/frame/LocalFrame.h"
39 #include "core/html/HTMLOptionElement.h" 39 #include "core/html/HTMLOptionElement.h"
40 #include "core/html/HTMLSelectElement.h" 40 #include "core/html/HTMLSelectElement.h"
41 #include "core/layout/LayoutBox.h" 41 #include "core/layout/LayoutBox.h"
42 #include "core/page/Page.h" 42 #include "core/page/Page.h"
43 #include "core/style/ComputedStyle.h" 43 #include "core/style/ComputedStyle.h"
44 #include "platform/geometry/FloatQuad.h" 44 #include "platform/geometry/FloatQuad.h"
45 #include "platform/geometry/IntPoint.h" 45 #include "platform/geometry/IntPoint.h"
46 #include "platform/text/TextDirection.h" 46 #include "platform/text/TextDirection.h"
47 #include "public/platform/WebMouseEvent.h"
47 #include "public/platform/WebVector.h" 48 #include "public/platform/WebVector.h"
48 #include "public/web/WebExternalPopupMenu.h" 49 #include "public/web/WebExternalPopupMenu.h"
49 #include "public/web/WebFrameClient.h" 50 #include "public/web/WebFrameClient.h"
50 #include "public/web/WebMenuItemInfo.h" 51 #include "public/web/WebMenuItemInfo.h"
51 #include "public/web/WebPopupMenuInfo.h" 52 #include "public/web/WebPopupMenuInfo.h"
52 #include "web/WebLocalFrameImpl.h" 53 #include "web/WebLocalFrameImpl.h"
53 #include "web/WebViewImpl.h" 54 #include "web/WebViewImpl.h"
54 #include "wtf/PtrUtil.h" 55 #include "wtf/PtrUtil.h"
55 56
56 namespace blink { 57 namespace blink {
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 if (ownerElement.itemIsDisplayNone(*items[i])) 302 if (ownerElement.itemIsDisplayNone(*items[i]))
302 continue; 303 continue;
303 if (popupMenuItemIndex == i) 304 if (popupMenuItemIndex == i)
304 return indexTracker; 305 return indexTracker;
305 ++indexTracker; 306 ++indexTracker;
306 } 307 }
307 return -1; 308 return -1;
308 } 309 }
309 310
310 } // namespace blink 311 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/WebMouseEvent.cpp ('k') | third_party/WebKit/Source/web/tests/FrameTestHelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698