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

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

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 9 months 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/ui_test_utils.h ('k') | chrome/tools/profiles/generate_profile.cc » ('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/ui_test_utils.h" 5 #include "chrome/test/ui_test_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/browser/download/download_item.h" 24 #include "chrome/browser/download/download_item.h"
25 #include "chrome/browser/download/download_manager.h" 25 #include "chrome/browser/download/download_manager.h"
26 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/browser/tab_contents/thumbnail_generator.h" 27 #include "chrome/browser/tab_contents/thumbnail_generator.h"
28 #include "chrome/browser/ui/browser.h" 28 #include "chrome/browser/ui/browser.h"
29 #include "chrome/browser/ui/find_bar/find_notification_details.h" 29 #include "chrome/browser/ui/find_bar/find_notification_details.h"
30 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 30 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
31 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 31 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
32 #include "chrome/common/chrome_paths.h" 32 #include "chrome/common/chrome_paths.h"
33 #include "chrome/common/extensions/extension_action.h" 33 #include "chrome/common/extensions/extension_action.h"
34 #include "chrome/common/notification_type.h"
35 #include "chrome/test/automation/javascript_execution_controller.h" 34 #include "chrome/test/automation/javascript_execution_controller.h"
36 #include "chrome/test/bookmark_load_observer.h" 35 #include "chrome/test/bookmark_load_observer.h"
37 #include "content/browser/renderer_host/render_process_host.h" 36 #include "content/browser/renderer_host/render_process_host.h"
38 #include "content/browser/renderer_host/render_view_host.h" 37 #include "content/browser/renderer_host/render_view_host.h"
39 #include "content/browser/tab_contents/navigation_controller.h" 38 #include "content/browser/tab_contents/navigation_controller.h"
40 #include "content/browser/tab_contents/navigation_entry.h" 39 #include "content/browser/tab_contents/navigation_entry.h"
41 #include "content/browser/tab_contents/tab_contents.h" 40 #include "content/browser/tab_contents/tab_contents.h"
41 #include "content/common/notification_type.h"
42 #include "googleurl/src/gurl.h" 42 #include "googleurl/src/gurl.h"
43 #include "net/base/net_util.h" 43 #include "net/base/net_util.h"
44 #include "testing/gtest/include/gtest/gtest.h" 44 #include "testing/gtest/include/gtest/gtest.h"
45 #include "third_party/skia/include/core/SkBitmap.h" 45 #include "third_party/skia/include/core/SkBitmap.h"
46 #include "third_party/skia/include/core/SkColor.h" 46 #include "third_party/skia/include/core/SkColor.h"
47 #include "ui/gfx/size.h" 47 #include "ui/gfx/size.h"
48 48
49 #if defined(TOOLKIT_VIEWS) 49 #if defined(TOOLKIT_VIEWS)
50 #include "views/focus/accelerator_handler.h" 50 #include "views/focus/accelerator_handler.h"
51 #endif 51 #endif
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap); 1045 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap);
1046 } 1046 }
1047 1047
1048 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) { 1048 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) {
1049 DCHECK(bitmap); 1049 DCHECK(bitmap);
1050 SnapshotTaker taker; 1050 SnapshotTaker taker;
1051 return taker.TakeEntirePageSnapshot(rvh, bitmap); 1051 return taker.TakeEntirePageSnapshot(rvh, bitmap);
1052 } 1052 }
1053 1053
1054 } // namespace ui_test_utils 1054 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/ui_test_utils.h ('k') | chrome/tools/profiles/generate_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698