| 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 <stdio.h> | 5 #include <stdio.h> |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 30 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
| 31 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 31 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 32 #include "chrome/common/chrome_notification_types.h" | 32 #include "chrome/common/chrome_notification_types.h" |
| 33 #include "chrome/common/chrome_paths.h" | 33 #include "chrome/common/chrome_paths.h" |
| 34 #include "chrome/common/url_constants.h" | 34 #include "chrome/common/url_constants.h" |
| 35 #include "chrome/test/base/in_process_browser_test.h" | 35 #include "chrome/test/base/in_process_browser_test.h" |
| 36 #include "chrome/test/base/interactive_test_utils.h" | 36 #include "chrome/test/base/interactive_test_utils.h" |
| 37 #include "chrome/test/base/ui_test_utils.h" | 37 #include "chrome/test/base/ui_test_utils.h" |
| 38 #include "content/public/browser/notification_service.h" | 38 #include "content/public/browser/notification_service.h" |
| 39 #include "content/public/browser/web_contents.h" | 39 #include "content/public/browser/web_contents.h" |
| 40 #include "net/base/mock_host_resolver.h" | 40 #include "net/dns/mock_host_resolver.h" |
| 41 #include "ui/base/clipboard/clipboard.h" | 41 #include "ui/base/clipboard/clipboard.h" |
| 42 #include "ui/base/events/event_constants.h" | 42 #include "ui/base/events/event_constants.h" |
| 43 #include "ui/base/keycodes/keyboard_codes.h" | 43 #include "ui/base/keycodes/keyboard_codes.h" |
| 44 #include "ui/gfx/point.h" | 44 #include "ui/gfx/point.h" |
| 45 | 45 |
| 46 #if defined(TOOLKIT_GTK) | 46 #if defined(TOOLKIT_GTK) |
| 47 #include <gdk/gdk.h> | 47 #include <gdk/gdk.h> |
| 48 #include <gtk/gtk.h> | 48 #include <gtk/gtk.h> |
| 49 #endif | 49 #endif |
| 50 | 50 |
| (...skipping 1874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1925 // BrowserWindowController depends on the auto release pool being recycled | 1925 // BrowserWindowController depends on the auto release pool being recycled |
| 1926 // in the message loop to delete itself, which frees the Browser object | 1926 // in the message loop to delete itself, which frees the Browser object |
| 1927 // which fires this event. | 1927 // which fires this event. |
| 1928 AutoreleasePool()->Recycle(); | 1928 AutoreleasePool()->Recycle(); |
| 1929 #endif | 1929 #endif |
| 1930 | 1930 |
| 1931 signal.Wait(); | 1931 signal.Wait(); |
| 1932 EXPECT_FALSE(clipboard->IsFormatAvailable( | 1932 EXPECT_FALSE(clipboard->IsFormatAvailable( |
| 1933 ui::Clipboard::GetPlainTextFormatType(), ui::Clipboard::BUFFER_STANDARD)); | 1933 ui::Clipboard::GetPlainTextFormatType(), ui::Clipboard::BUFFER_STANDARD)); |
| 1934 } | 1934 } |
| OLD | NEW |