| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/panels/base_panel_browser_test.h" | 5 #include "chrome/browser/ui/panels/base_panel_browser_test.h" |
| 6 | 6 |
| 7 #include "chrome/browser/ui/browser_list.h" | 7 #include "chrome/browser/ui/browser_list.h" |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "chrome/browser/ui/panels/panel_mouse_watcher.h" | 21 #include "chrome/browser/ui/panels/panel_mouse_watcher.h" |
| 22 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 22 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 23 #include "chrome/common/chrome_notification_types.h" | 23 #include "chrome/common/chrome_notification_types.h" |
| 24 #include "chrome/common/chrome_paths.h" | 24 #include "chrome/common/chrome_paths.h" |
| 25 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
| 26 #include "chrome/common/extensions/extension_manifest_constants.h" | 26 #include "chrome/common/extensions/extension_manifest_constants.h" |
| 27 #include "chrome/common/string_ordinal.h" | 27 #include "chrome/common/string_ordinal.h" |
| 28 #include "chrome/test/base/ui_test_utils.h" | 28 #include "chrome/test/base/ui_test_utils.h" |
| 29 #include "content/public/browser/notification_service.h" | 29 #include "content/public/browser/notification_service.h" |
| 30 #include "content/public/common/url_constants.h" | 30 #include "content/public/common/url_constants.h" |
| 31 #include "content/test/web_contents_tester.h" | 31 #include "content/public/test/web_contents_tester.h" |
| 32 | 32 |
| 33 #if defined(OS_LINUX) | 33 #if defined(OS_LINUX) |
| 34 #include "ui/base/x/x11_util.h" | 34 #include "ui/base/x/x11_util.h" |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 #if defined(OS_MACOSX) | 37 #if defined(OS_MACOSX) |
| 38 #include "base/mac/scoped_nsautorelease_pool.h" | 38 #include "base/mac/scoped_nsautorelease_pool.h" |
| 39 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" | 39 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" |
| 40 #include "chrome/browser/ui/cocoa/run_loop_testing.h" | 40 #include "chrome/browser/ui/cocoa/run_loop_testing.h" |
| 41 #endif | 41 #endif |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 } | 483 } |
| 484 | 484 |
| 485 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) { | 485 void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) { |
| 486 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position); | 486 PanelManager::GetInstance()->mouse_watcher()->NotifyMouseMovement(position); |
| 487 } | 487 } |
| 488 | 488 |
| 489 std::string BasePanelBrowserTest::MakePanelName(int index) { | 489 std::string BasePanelBrowserTest::MakePanelName(int index) { |
| 490 std::string panel_name("Panel"); | 490 std::string panel_name("Panel"); |
| 491 return panel_name + base::IntToString(index); | 491 return panel_name + base::IntToString(index); |
| 492 } | 492 } |
| OLD | NEW |