| 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 | 5 |
| 6 #include "chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h" | 6 #include "chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h" |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" | 8 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" |
| 9 #include "chrome/browser/favicon/favicon_tab_helper.h" | 9 #include "chrome/browser/favicon/favicon_tab_helper.h" |
| 10 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" | 11 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" |
| 11 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h" | 12 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h" |
| 12 #include "chrome/common/chrome_version_info.h" | 13 #include "chrome/common/chrome_version_info.h" |
| 13 #include "components/pdf/browser/pdf_web_contents_helper.h" | 14 #include "components/pdf/browser/pdf_web_contents_helper.h" |
| 14 #include "components/renderer_context_menu/context_menu_delegate.h" | 15 #include "components/renderer_context_menu/context_menu_delegate.h" |
| 15 #include "extensions/browser/api/web_request/web_request_api.h" | 16 #include "extensions/browser/api/web_request/web_request_api.h" |
| 16 #include "extensions/browser/guest_view/web_view/web_view_constants.h" | 17 #include "extensions/browser/guest_view/web_view/web_view_constants.h" |
| 17 | 18 |
| 18 #if defined(ENABLE_PRINTING) | 19 #if defined(ENABLE_PRINTING) |
| 19 #if defined(ENABLE_PRINT_PREVIEW) | 20 #if defined(ENABLE_PRINT_PREVIEW) |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 chromeos::ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK) { | 167 chromeos::ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK) { |
| 167 if (details.enabled) | 168 if (details.enabled) |
| 168 InjectChromeVoxIfNeeded(guest_web_contents()->GetRenderViewHost()); | 169 InjectChromeVoxIfNeeded(guest_web_contents()->GetRenderViewHost()); |
| 169 else | 170 else |
| 170 chromevox_injected_ = false; | 171 chromevox_injected_ = false; |
| 171 } | 172 } |
| 172 } | 173 } |
| 173 #endif | 174 #endif |
| 174 | 175 |
| 175 } // namespace extensions | 176 } // namespace extensions |
| OLD | NEW |