| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/shell/browser/layout_test/blink_test_controller.h" | 5 #include "content/shell/browser/layout_test/blink_test_controller.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <iostream> | 9 #include <iostream> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "content/public/browser/storage_partition.h" | 37 #include "content/public/browser/storage_partition.h" |
| 38 #include "content/public/browser/web_contents.h" | 38 #include "content/public/browser/web_contents.h" |
| 39 #include "content/public/common/content_switches.h" | 39 #include "content/public/common/content_switches.h" |
| 40 #include "content/public/common/url_constants.h" | 40 #include "content/public/common/url_constants.h" |
| 41 #include "content/shell/browser/layout_test/layout_test_bluetooth_chooser_factor
y.h" | 41 #include "content/shell/browser/layout_test/layout_test_bluetooth_chooser_factor
y.h" |
| 42 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" | 42 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" |
| 43 #include "content/shell/browser/shell.h" | 43 #include "content/shell/browser/shell.h" |
| 44 #include "content/shell/browser/shell_browser_context.h" | 44 #include "content/shell/browser/shell_browser_context.h" |
| 45 #include "content/shell/browser/shell_content_browser_client.h" | 45 #include "content/shell/browser/shell_content_browser_client.h" |
| 46 #include "content/shell/browser/shell_devtools_frontend.h" | 46 #include "content/shell/browser/shell_devtools_frontend.h" |
| 47 #include "content/shell/common/layout_test/layout_test_switches.h" |
| 47 #include "content/shell/common/shell_messages.h" | 48 #include "content/shell/common/shell_messages.h" |
| 48 #include "content/shell/common/shell_switches.h" | |
| 49 #include "content/shell/renderer/layout_test/blink_test_helpers.h" | 49 #include "content/shell/renderer/layout_test/blink_test_helpers.h" |
| 50 #include "ui/gfx/codec/png_codec.h" | 50 #include "ui/gfx/codec/png_codec.h" |
| 51 | 51 |
| 52 namespace content { | 52 namespace content { |
| 53 | 53 |
| 54 namespace { | 54 namespace { |
| 55 | 55 |
| 56 const int kTestSVGWindowWidthDip = 480; | 56 const int kTestSVGWindowWidthDip = 480; |
| 57 const int kTestSVGWindowHeightDip = 360; | 57 const int kTestSVGWindowHeightDip = 360; |
| 58 | 58 |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 } else { | 889 } else { |
| 890 printer_->AddErrorMessage(base::StringPrintf( | 890 printer_->AddErrorMessage(base::StringPrintf( |
| 891 "FAIL: Unexpected sendBluetoothManualChooserEvent() event name '%s'.", | 891 "FAIL: Unexpected sendBluetoothManualChooserEvent() event name '%s'.", |
| 892 event_name.c_str())); | 892 event_name.c_str())); |
| 893 return; | 893 return; |
| 894 } | 894 } |
| 895 bluetooth_chooser_factory_->SendEvent(event, argument); | 895 bluetooth_chooser_factory_->SendEvent(event, argument); |
| 896 } | 896 } |
| 897 | 897 |
| 898 } // namespace content | 898 } // namespace content |
| OLD | NEW |