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_BROWSER_FRAME_HOST_POPUP_MENU_HELPER_MAC_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_POPUP_MENU_HELPER_MAC_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_POPUP_MENU_HELPER_MAC_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_POPUP_MENU_HELPER_MAC_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 | 15 |
16 #ifdef __OBJC__ | 16 #ifdef __OBJC__ |
17 @class WebMenuRunner; | 17 @class WebMenuRunner; |
18 #else | 18 #else |
19 class WebMenuRunner; | 19 class WebMenuRunner; |
20 #endif | 20 #endif |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 | 23 |
24 class RenderFrameHost; | 24 class RenderFrameHost; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 RenderFrameHostImpl* render_frame_host_; | 58 RenderFrameHostImpl* render_frame_host_; |
59 WebMenuRunner* menu_runner_; | 59 WebMenuRunner* menu_runner_; |
60 bool popup_was_hidden_; | 60 bool popup_was_hidden_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(PopupMenuHelper); | 62 DISALLOW_COPY_AND_ASSIGN(PopupMenuHelper); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace content | 65 } // namespace content |
66 | 66 |
67 #endif // CONTENT_BROWSER_FRAME_HOST_POPUP_MENU_HELPER_MAC_H_ | 67 #endif // CONTENT_BROWSER_FRAME_HOST_POPUP_MENU_HELPER_MAC_H_ |
OLD | NEW |