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

Unified Diff: ash/wm/partial_screenshot_view.h

Issue 13006010: Add support for taking partial screenshot using touch (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/wm/partial_screenshot_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/partial_screenshot_view.h
diff --git a/ash/wm/partial_screenshot_view.h b/ash/wm/partial_screenshot_view.h
index 19d21d35c0d4ec33af58aa3773d5c334baa4b412..aac411ea13f90b2a92c4462793ec3cdd3efb4eb4 100644
--- a/ash/wm/partial_screenshot_view.h
+++ b/ash/wm/partial_screenshot_view.h
@@ -5,8 +5,11 @@
#ifndef ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_
#define ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_
+#include <vector>
+
#include "ash/ash_export.h"
#include "base/compiler_specific.h"
+#include "base/gtest_prod_util.h"
#include "ui/gfx/point.h"
#include "ui/views/widget/widget_delegate.h"
@@ -23,9 +26,13 @@ class ScreenshotDelegate;
class ASH_EXPORT PartialScreenshotView : public views::WidgetDelegateView {
public:
// Starts the UI for taking partial screenshot; dragging to select a region.
- static void StartPartialScreenshot(ScreenshotDelegate* screenshot_delegate);
+ static std::vector<PartialScreenshotView*>
+ StartPartialScreenshot(ScreenshotDelegate* screenshot_delegate);
private:
+ FRIEND_TEST_ALL_PREFIXES(PartialScreenshotViewTest, BasicMouse);
+ FRIEND_TEST_ALL_PREFIXES(PartialScreenshotViewTest, BasicTouch);
+
class OverlayDelegate;
PartialScreenshotView(OverlayDelegate* overlay_delegate,
« no previous file with comments | « ash/ash.gyp ('k') | ash/wm/partial_screenshot_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698