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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 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/base/ui_test_utils.h ('k') | chrome/test/perf/rendering/latency_tests.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) 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 "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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 #if defined(USE_AURA) 69 #if defined(USE_AURA)
70 #include "ash/shell.h" 70 #include "ash/shell.h"
71 #include "ui/aura/root_window.h" 71 #include "ui/aura/root_window.h"
72 #endif 72 #endif
73 73
74 using content::DomOperationNotificationDetails; 74 using content::DomOperationNotificationDetails;
75 using content::NavigationController; 75 using content::NavigationController;
76 using content::NavigationEntry; 76 using content::NavigationEntry;
77 using content::OpenURLParams; 77 using content::OpenURLParams;
78 using content::RenderViewHost;
79 using content::RenderWidgetHost;
78 using content::Referrer; 80 using content::Referrer;
79 using content::WebContents; 81 using content::WebContents;
80 82
81 static const int kDefaultWsPort = 8880; 83 static const int kDefaultWsPort = 8880;
82 84
83 namespace ui_test_utils { 85 namespace ui_test_utils {
84 86
85 namespace { 87 namespace {
86 88
87 class DOMOperationObserver : public content::NotificationObserver, 89 class DOMOperationObserver : public content::NotificationObserver,
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap); 1140 return taker.TakeRenderWidgetSnapshot(rwh, page_size, page_size, bitmap);
1139 } 1141 }
1140 1142
1141 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) { 1143 bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) {
1142 DCHECK(bitmap); 1144 DCHECK(bitmap);
1143 SnapshotTaker taker; 1145 SnapshotTaker taker;
1144 return taker.TakeEntirePageSnapshot(rvh, bitmap); 1146 return taker.TakeEntirePageSnapshot(rvh, bitmap);
1145 } 1147 }
1146 1148
1147 } // namespace ui_test_utils 1149 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/ui_test_utils.h ('k') | chrome/test/perf/rendering/latency_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698