Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: chrome/test/base/ui_test_utils.cc

Issue 8586009: Allow WebUI Tests to use preLoad in HtmlDialogUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert to patch set 4. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/test/base/ui_test_utils.h" 5 #include "chrome/test/base/ui_test_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/ui/browser_navigator.h" 31 #include "chrome/browser/ui/browser_navigator.h"
32 #include "chrome/browser/ui/browser_window.h" 32 #include "chrome/browser/ui/browser_window.h"
33 #include "chrome/browser/ui/find_bar/find_notification_details.h" 33 #include "chrome/browser/ui/find_bar/find_notification_details.h"
34 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 34 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
35 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 35 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
36 #include "chrome/common/chrome_notification_types.h" 36 #include "chrome/common/chrome_notification_types.h"
37 #include "chrome/common/chrome_paths.h" 37 #include "chrome/common/chrome_paths.h"
38 #include "chrome/common/extensions/extension_action.h" 38 #include "chrome/common/extensions/extension_action.h"
39 #include "chrome/test/automation/javascript_execution_controller.h" 39 #include "chrome/test/automation/javascript_execution_controller.h"
40 #include "chrome/test/base/bookmark_load_observer.h" 40 #include "chrome/test/base/bookmark_load_observer.h"
41 #include "chrome/test/test_navigation_observer.h" 41 #include "chrome/test/base/test_navigation_observer.h"
42 #include "content/browser/download/download_item.h" 42 #include "content/browser/download/download_item.h"
43 #include "content/browser/download/download_manager.h" 43 #include "content/browser/download/download_manager.h"
44 #include "content/browser/renderer_host/render_process_host.h" 44 #include "content/browser/renderer_host/render_process_host.h"
45 #include "content/browser/renderer_host/render_view_host.h" 45 #include "content/browser/renderer_host/render_view_host.h"
46 #include "content/browser/tab_contents/navigation_controller.h" 46 #include "content/browser/tab_contents/navigation_controller.h"
47 #include "content/browser/tab_contents/navigation_entry.h" 47 #include "content/browser/tab_contents/navigation_entry.h"
48 #include "content/browser/tab_contents/tab_contents.h" 48 #include "content/browser/tab_contents/tab_contents.h"
49 #include "content/public/browser/notification_service.h" 49 #include "content/public/browser/notification_service.h"
50 #include "googleurl/src/gurl.h" 50 #include "googleurl/src/gurl.h"
51 #include "net/base/net_util.h" 51 #include "net/base/net_util.h"
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap); 995 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap);
996 } 996 }
997 997
998 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) { 998 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) {
999 DCHECK(bitmap); 999 DCHECK(bitmap);
1000 SnapshotTaker taker; 1000 SnapshotTaker taker;
1001 return taker.TakeEntirePageSnapshot(rvh, bitmap); 1001 return taker.TakeEntirePageSnapshot(rvh, bitmap);
1002 } 1002 }
1003 1003
1004 } // namespace ui_test_utils 1004 } // namespace ui_test_utils
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698