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

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

Issue 256893002: Cleanup: Remove unused resources in ui_strings.grd or mark them as platform-specific. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | « no previous file | chrome/browser/ui/ash/screenshot_taker.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 #ifndef CHROME_BROWSER_UI_ASH_SCREENSHOT_TAKER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SCREENSHOT_TAKER_H_
6 #define CHROME_BROWSER_UI_ASH_SCREENSHOT_TAKER_H_ 6 #define CHROME_BROWSER_UI_ASH_SCREENSHOT_TAKER_H_
7 7
8 #include "ash/screenshot_delegate.h" 8 #include "ash/screenshot_delegate.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const gfx::Rect& snapshot_bounds, 85 const gfx::Rect& snapshot_bounds,
86 Profile* profile, 86 Profile* profile,
87 base::FilePath screenshot_path, 87 base::FilePath screenshot_path,
88 int window_idx); 88 int window_idx);
89 89
90 Profile* GetProfile(); 90 Profile* GetProfile();
91 void SetScreenshotDirectoryForTest(const base::FilePath& directory); 91 void SetScreenshotDirectoryForTest(const base::FilePath& directory);
92 void SetScreenshotBasenameForTest(const std::string& basename); 92 void SetScreenshotBasenameForTest(const std::string& basename);
93 void SetScreenshotProfileForTest(Profile* profile); 93 void SetScreenshotProfileForTest(Profile* profile);
94 94
95 #if defined(OS_CHROMEOS)
95 Notification* CreateNotification( 96 Notification* CreateNotification(
96 ScreenshotTakerObserver::Result screenshot_result, 97 ScreenshotTakerObserver::Result screenshot_result,
97 const base::FilePath& screenshot_path); 98 const base::FilePath& screenshot_path);
99 #endif
98 100
99 base::WeakPtrFactory<ScreenshotTaker> factory_; 101 base::WeakPtrFactory<ScreenshotTaker> factory_;
100 102
101 // The timestamp when the screenshot task was issued last time. 103 // The timestamp when the screenshot task was issued last time.
102 base::Time last_screenshot_timestamp_; 104 base::Time last_screenshot_timestamp_;
103 105
104 ObserverList<ScreenshotTakerObserver> observers_; 106 ObserverList<ScreenshotTakerObserver> observers_;
105 107
106 base::FilePath screenshot_directory_for_test_; 108 base::FilePath screenshot_directory_for_test_;
107 std::string screenshot_basename_for_test_; 109 std::string screenshot_basename_for_test_;
108 Profile* profile_for_test_; 110 Profile* profile_for_test_;
109 111
110 DISALLOW_COPY_AND_ASSIGN(ScreenshotTaker); 112 DISALLOW_COPY_AND_ASSIGN(ScreenshotTaker);
111 }; 113 };
112 114
113 #endif // CHROME_BROWSER_UI_ASH_SCREENSHOT_TAKER_H_ 115 #endif // CHROME_BROWSER_UI_ASH_SCREENSHOT_TAKER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/ash/screenshot_taker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698