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

Side by Side Diff: chrome/browser/ui/views/ash/screenshot_taker.cc

Issue 9570044: Rename chrome/browser/ui/views/{aura => ash}/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
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/browser/ui/views/aura/screenshot_taker.h" 5 #include "chrome/browser/ui/views/ash/screenshot_taker.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
14 #include "base/stringprintf.h" 14 #include "base/stringprintf.h"
15 #include "base/time.h" 15 #include "base/time.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 content::BrowserThread::FILE, FROM_HERE, 85 content::BrowserThread::FILE, FROM_HERE,
86 base::Bind(&SaveScreenshot, is_logged_in, png_data)); 86 base::Bind(&SaveScreenshot, is_logged_in, png_data));
87 } else { 87 } else {
88 LOG(ERROR) << "Failed to grab the window screenshot"; 88 LOG(ERROR) << "Failed to grab the window screenshot";
89 } 89 }
90 } 90 }
91 91
92 void ScreenshotTaker::HandleTakeScreenshot(aura::Window* window) { 92 void ScreenshotTaker::HandleTakeScreenshot(aura::Window* window) {
93 HandleTakePartialScreenshot(window, window->bounds()); 93 HandleTakePartialScreenshot(window, window->bounds());
94 } 94 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ash/screenshot_taker.h ('k') | chrome/browser/ui/views/ash/status_area_host_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698