OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ | 5 #ifndef CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ |
6 #define CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ | 6 #define CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "build/build_config.h" |
11 #include "third_party/WebKit/public/web/WebExternalPopupMenu.h" | 12 #include "third_party/WebKit/public/web/WebExternalPopupMenu.h" |
12 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" | 13 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" |
13 #include "ui/gfx/geometry/point_f.h" | 14 #include "ui/gfx/geometry/point_f.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 class WebExternalPopupMenuClient; | 17 class WebExternalPopupMenuClient; |
17 } | 18 } |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 class RenderFrameImpl; | 21 class RenderFrameImpl; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // These scale and offset are used to properly adjust popup position. | 55 // These scale and offset are used to properly adjust popup position. |
55 float origin_scale_for_emulation_; | 56 float origin_scale_for_emulation_; |
56 gfx::PointF origin_offset_for_emulation_; | 57 gfx::PointF origin_offset_for_emulation_; |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(ExternalPopupMenu); | 59 DISALLOW_COPY_AND_ASSIGN(ExternalPopupMenu); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace content | 62 } // namespace content |
62 | 63 |
63 #endif // CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ | 64 #endif // CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ |
OLD | NEW |