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 #include <stddef.h> |
| 6 |
5 #include <vector> | 7 #include <vector> |
6 | 8 |
7 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
8 #include "base/files/file_enumerator.h" | 10 #include "base/files/file_enumerator.h" |
9 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
10 #include "base/hash.h" | 12 #include "base/hash.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
13 #include "base/path_service.h" | 16 #include "base/path_service.h" |
14 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
| 18 #include "build/build_config.h" |
15 #include "chrome/browser/chrome_notification_types.h" | 19 #include "chrome/browser/chrome_notification_types.h" |
16 #include "chrome/browser/extensions/component_loader.h" | 20 #include "chrome/browser/extensions/component_loader.h" |
17 #include "chrome/browser/extensions/extension_apitest.h" | 21 #include "chrome/browser/extensions/extension_apitest.h" |
18 #include "chrome/browser/extensions/extension_service.h" | 22 #include "chrome/browser/extensions/extension_service.h" |
19 #include "chrome/browser/pdf/pdf_extension_test_util.h" | 23 #include "chrome/browser/pdf/pdf_extension_test_util.h" |
20 #include "chrome/browser/pdf/pdf_extension_util.h" | 24 #include "chrome/browser/pdf/pdf_extension_util.h" |
21 #include "chrome/browser/plugins/plugin_prefs.h" | 25 #include "chrome/browser/plugins/plugin_prefs.h" |
22 #include "chrome/browser/profiles/profile.h" | 26 #include "chrome/browser/profiles/profile.h" |
23 #include "chrome/browser/ui/browser.h" | 27 #include "chrome/browser/ui/browser.h" |
24 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 28 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 #endif | 505 #endif |
502 ASSERT_TRUE( | 506 ASSERT_TRUE( |
503 content::ExecuteScript(guest_contents, "viewer.viewport.zoomIn();")); | 507 content::ExecuteScript(guest_contents, "viewer.viewport.zoomIn();")); |
504 | 508 |
505 watcher.Wait(); | 509 watcher.Wait(); |
506 #if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX) | 510 #if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX) |
507 EXPECT_EQ(nullptr, ZoomBubbleView::GetZoomBubble()); | 511 EXPECT_EQ(nullptr, ZoomBubbleView::GetZoomBubble()); |
508 #endif | 512 #endif |
509 } | 513 } |
510 | 514 |
OLD | NEW |