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_utils.h" | 9 #include "chrome/browser/favicon/favicon_utils.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" | 11 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" |
12 #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" |
13 #include "chrome/common/chrome_version_info.h" | |
14 #include "components/browsing_data/storage_partition_http_cache_data_remover.h" | 13 #include "components/browsing_data/storage_partition_http_cache_data_remover.h" |
15 #include "components/guest_view/browser/guest_view_event.h" | 14 #include "components/guest_view/browser/guest_view_event.h" |
16 #include "components/renderer_context_menu/context_menu_delegate.h" | 15 #include "components/renderer_context_menu/context_menu_delegate.h" |
17 #include "content/public/browser/render_process_host.h" | 16 #include "content/public/browser/render_process_host.h" |
18 #include "extensions/browser/api/web_request/web_request_api.h" | 17 #include "extensions/browser/api/web_request/web_request_api.h" |
19 #include "extensions/browser/guest_view/web_view/web_view_constants.h" | 18 #include "extensions/browser/guest_view/web_view/web_view_constants.h" |
20 | 19 |
21 using guest_view::GuestViewEvent; | 20 using guest_view::GuestViewEvent; |
22 | 21 |
23 namespace extensions { | 22 namespace extensions { |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 chromeos::ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK) { | 125 chromeos::ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK) { |
127 if (details.enabled) | 126 if (details.enabled) |
128 InjectChromeVoxIfNeeded(guest_web_contents()->GetRenderViewHost()); | 127 InjectChromeVoxIfNeeded(guest_web_contents()->GetRenderViewHost()); |
129 else | 128 else |
130 chromevox_injected_ = false; | 129 chromevox_injected_ = false; |
131 } | 130 } |
132 } | 131 } |
133 #endif | 132 #endif |
134 | 133 |
135 } // namespace extensions | 134 } // namespace extensions |
OLD | NEW |