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

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: Rebase. 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
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.cc ('k') | chrome/test/data/webui/async_gen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
(...skipping 25 matching lines...) Expand all
36 #include "chrome/browser/ui/browser_navigator.h" 36 #include "chrome/browser/ui/browser_navigator.h"
37 #include "chrome/browser/ui/browser_window.h" 37 #include "chrome/browser/ui/browser_window.h"
38 #include "chrome/browser/ui/find_bar/find_notification_details.h" 38 #include "chrome/browser/ui/find_bar/find_notification_details.h"
39 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 39 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
40 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 40 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
41 #include "chrome/common/chrome_notification_types.h" 41 #include "chrome/common/chrome_notification_types.h"
42 #include "chrome/common/chrome_paths.h" 42 #include "chrome/common/chrome_paths.h"
43 #include "chrome/common/extensions/extension_action.h" 43 #include "chrome/common/extensions/extension_action.h"
44 #include "chrome/test/automation/javascript_execution_controller.h" 44 #include "chrome/test/automation/javascript_execution_controller.h"
45 #include "chrome/test/base/bookmark_load_observer.h" 45 #include "chrome/test/base/bookmark_load_observer.h"
46 #include "chrome/test/test_navigation_observer.h" 46 #include "chrome/test/base/test_navigation_observer.h"
47 #include "content/browser/download/download_item.h" 47 #include "content/browser/download/download_item.h"
48 #include "content/browser/download/download_manager.h" 48 #include "content/browser/download/download_manager.h"
49 #include "content/browser/renderer_host/render_view_host.h" 49 #include "content/browser/renderer_host/render_view_host.h"
50 #include "content/browser/tab_contents/navigation_controller.h" 50 #include "content/browser/tab_contents/navigation_controller.h"
51 #include "content/browser/tab_contents/navigation_entry.h" 51 #include "content/browser/tab_contents/navigation_entry.h"
52 #include "content/browser/tab_contents/tab_contents.h" 52 #include "content/browser/tab_contents/tab_contents.h"
53 #include "content/public/browser/notification_service.h" 53 #include "content/public/browser/notification_service.h"
54 #include "content/public/browser/render_process_host.h" 54 #include "content/public/browser/render_process_host.h"
55 #include "googleurl/src/gurl.h" 55 #include "googleurl/src/gurl.h"
56 #include "net/base/net_util.h" 56 #include "net/base/net_util.h"
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap); 1065 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap);
1066 } 1066 }
1067 1067
1068 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) { 1068 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) {
1069 DCHECK(bitmap); 1069 DCHECK(bitmap);
1070 SnapshotTaker taker; 1070 SnapshotTaker taker;
1071 return taker.TakeEntirePageSnapshot(rvh, bitmap); 1071 return taker.TakeEntirePageSnapshot(rvh, bitmap);
1072 } 1072 }
1073 1073
1074 } // namespace ui_test_utils 1074 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.cc ('k') | chrome/test/data/webui/async_gen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698