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

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

Issue 132203004: Remove window_snapshot.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing include Created 6 years, 11 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/ash/screenshot_taker.h" 5 #include "chrome/browser/ui/ash/screenshot_taker.h"
6 6
7 #include <climits> 7 #include <climits>
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/system/system_notifier.h" 11 #include "ash/system/system_notifier.h"
12 #include "base/base64.h" 12 #include "base/base64.h"
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/i18n/time_formatting.h" 15 #include "base/i18n/time_formatting.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/memory/ref_counted_memory.h" 17 #include "base/memory/ref_counted_memory.h"
18 #include "base/prefs/pref_service.h" 18 #include "base/prefs/pref_service.h"
19 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "base/threading/sequenced_worker_pool.h" 21 #include "base/threading/sequenced_worker_pool.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "chrome/browser/browser_process.h" 23 #include "chrome/browser/browser_process.h"
24 #include "chrome/browser/download/download_prefs.h" 24 #include "chrome/browser/download/download_prefs.h"
25 #include "chrome/browser/notifications/notification_ui_manager.h" 25 #include "chrome/browser/notifications/notification_ui_manager.h"
26 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/browser/profiles/profile_manager.h" 27 #include "chrome/browser/profiles/profile_manager.h"
28 #include "chrome/browser/ui/window_snapshot/window_snapshot.h"
29 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
30 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/user_metrics.h" 30 #include "content/public/browser/user_metrics.h"
32 #include "grit/ash_strings.h" 31 #include "grit/ash_strings.h"
33 #include "grit/theme_resources.h" 32 #include "grit/theme_resources.h"
34 #include "grit/ui_strings.h" 33 #include "grit/ui_strings.h"
35 #include "ui/aura/root_window.h" 34 #include "ui/aura/root_window.h"
36 #include "ui/aura/window.h" 35 #include "ui/aura/window.h"
37 #include "ui/base/clipboard/clipboard.h" 36 #include "ui/base/clipboard/clipboard.h"
38 #include "ui/base/clipboard/scoped_clipboard_writer.h" 37 #include "ui/base/clipboard/scoped_clipboard_writer.h"
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 } 625 }
627 626
628 void ScreenshotTaker::SetScreenshotBasenameForTest( 627 void ScreenshotTaker::SetScreenshotBasenameForTest(
629 const std::string& basename) { 628 const std::string& basename) {
630 screenshot_basename_for_test_ = basename; 629 screenshot_basename_for_test_ = basename;
631 } 630 }
632 631
633 void ScreenshotTaker::SetScreenshotProfileForTest(Profile* profile) { 632 void ScreenshotTaker::SetScreenshotProfileForTest(Profile* profile) {
634 profile_for_test_ = profile; 633 profile_for_test_ = profile;
635 } 634 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698