OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_GUEST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_GUEST_DELEGATE_H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_GUEST_DELEGATE_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_GUEST_DELEGATE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
8 #include "chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h" | 10 #include "chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h" |
9 #include "extensions/browser/guest_view/web_view/web_view_guest.h" | 11 #include "extensions/browser/guest_view/web_view/web_view_guest.h" |
10 #include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h" | 12 #include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h" |
11 | 13 |
12 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
13 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 15 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
14 #endif | 16 #endif |
15 | 17 |
16 class RenderViewContextMenuBase; | 18 class RenderViewContextMenuBase; |
17 | 19 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // This is used to ensure pending tasks will not fire after this object is | 79 // This is used to ensure pending tasks will not fire after this object is |
78 // destroyed. | 80 // destroyed. |
79 base::WeakPtrFactory<ChromeWebViewGuestDelegate> weak_ptr_factory_; | 81 base::WeakPtrFactory<ChromeWebViewGuestDelegate> weak_ptr_factory_; |
80 | 82 |
81 DISALLOW_COPY_AND_ASSIGN(ChromeWebViewGuestDelegate); | 83 DISALLOW_COPY_AND_ASSIGN(ChromeWebViewGuestDelegate); |
82 }; | 84 }; |
83 | 85 |
84 } // namespace extensions | 86 } // namespace extensions |
85 | 87 |
86 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_GUEST_DELEGATE_H_ | 88 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_GUEST_DELEGATE_H_ |
OLD | NEW |