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

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: Addressed James' comments. Created 9 years 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_view_host.h" 44 #include "content/browser/renderer_host/render_view_host.h"
45 #include "content/browser/tab_contents/navigation_controller.h" 45 #include "content/browser/tab_contents/navigation_controller.h"
46 #include "content/browser/tab_contents/navigation_entry.h" 46 #include "content/browser/tab_contents/navigation_entry.h"
47 #include "content/browser/tab_contents/tab_contents.h" 47 #include "content/browser/tab_contents/tab_contents.h"
48 #include "content/public/browser/notification_service.h" 48 #include "content/public/browser/notification_service.h"
49 #include "content/public/browser/render_process_host.h" 49 #include "content/public/browser/render_process_host.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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap); 1025 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap);
1026 } 1026 }
1027 1027
1028 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) { 1028 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) {
1029 DCHECK(bitmap); 1029 DCHECK(bitmap);
1030 SnapshotTaker taker; 1030 SnapshotTaker taker;
1031 return taker.TakeEntirePageSnapshot(rvh, bitmap); 1031 return taker.TakeEntirePageSnapshot(rvh, bitmap);
1032 } 1032 }
1033 1033
1034 } // namespace ui_test_utils 1034 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.cc ('k') | chrome/test/data/webui/certificate_viewer_dialog_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698