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

Unified Diff: chrome/browser/ui/window_snapshot/window_snapshot_win.cc

Issue 10826011: chrome: Put window_snapshot into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/window_snapshot/window_snapshot_win.cc
diff --git a/chrome/browser/ui/window_snapshot/window_snapshot_win.cc b/chrome/browser/ui/window_snapshot/window_snapshot_win.cc
index 3d8623e8a4ad963473e17c2ec0201f1f08fa5706..1f9cbe9f61088ef044c31a1b89a1cb1f02faa2a3 100644
--- a/chrome/browser/ui/window_snapshot/window_snapshot_win.cc
+++ b/chrome/browser/ui/window_snapshot/window_snapshot_win.cc
@@ -32,9 +32,9 @@ gfx::Rect GetWindowBounds(gfx::NativeWindow window_handle) {
content_rect.bottom - content_rect.top);
}
-} // namespace
+} // namespace
-namespace browser {
+namespace chrome {
bool GrabWindowSnapshot(gfx::NativeWindow window_handle,
std::vector<unsigned char>* png_representation,
@@ -97,4 +97,4 @@ bool GrabWindowSnapshot(gfx::NativeWindow window_handle,
return true;
}
-} // namespace browser
+} // namespace chrome
« no previous file with comments | « chrome/browser/ui/window_snapshot/window_snapshot_mac_unittest.mm ('k') | chrome/test/base/ui_test_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698