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

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

Issue 1960293003: Remove OS_CHROMEOS from ui/ash code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROME_SCREENSHOT_GRABBER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_
7 7
8 #include "ash/screenshot_delegate.h" 8 #include "ash/screenshot_delegate.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 scoped_refptr<base::TaskRunner> blocking_task_runner, 43 scoped_refptr<base::TaskRunner> blocking_task_runner,
44 const FileCallback& callback_on_blocking_pool) override; 44 const FileCallback& callback_on_blocking_pool) override;
45 45
46 // ui::ScreenshotGrabberObserver: 46 // ui::ScreenshotGrabberObserver:
47 void OnScreenshotCompleted(ui::ScreenshotGrabberObserver::Result result, 47 void OnScreenshotCompleted(ui::ScreenshotGrabberObserver::Result result,
48 const base::FilePath& screenshot_path) override; 48 const base::FilePath& screenshot_path) override;
49 49
50 private: 50 private:
51 friend class ash::test::ChromeScreenshotGrabberTest; 51 friend class ash::test::ChromeScreenshotGrabberTest;
52 52
53 #if defined(OS_CHROMEOS)
54 Notification* CreateNotification( 53 Notification* CreateNotification(
55 ui::ScreenshotGrabberObserver::Result screenshot_result, 54 ui::ScreenshotGrabberObserver::Result screenshot_result,
56 const base::FilePath& screenshot_path); 55 const base::FilePath& screenshot_path);
57 #endif
58 56
59 void SetProfileForTest(Profile* profile); 57 void SetProfileForTest(Profile* profile);
60 Profile* GetProfile(); 58 Profile* GetProfile();
61 59
62 std::unique_ptr<ui::ScreenshotGrabber> screenshot_grabber_; 60 std::unique_ptr<ui::ScreenshotGrabber> screenshot_grabber_;
63 Profile* profile_for_test_; 61 Profile* profile_for_test_;
64 62
65 DISALLOW_COPY_AND_ASSIGN(ChromeScreenshotGrabber); 63 DISALLOW_COPY_AND_ASSIGN(ChromeScreenshotGrabber);
66 }; 64 };
67 65
68 #endif // CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_ 66 #endif // CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/chrome_screenshot_grabber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698