Index: chrome/browser/chromeos/display/overscan_calibrator.h |
diff --git a/chrome/browser/chromeos/display/overscan_calibrator.h b/chrome/browser/chromeos/display/overscan_calibrator.h |
index cc03b78e8739806a0322f3a8df7e9b5464a804dc..f879098818d6ada4c2d922203e4c5321606d7288 100644 |
--- a/chrome/browser/chromeos/display/overscan_calibrator.h |
+++ b/chrome/browser/chromeos/display/overscan_calibrator.h |
@@ -29,6 +29,11 @@ class OverscanCalibrator : public ui::LayerDelegate { |
// Commits the current insets data to the system. |
void Commit(); |
+ // Reset the overscan insets to default value. If the display has |
+ // overscan, the default value is the display's default overscan |
+ // value. Otherwise, the default value is the old |initial_insets|. |
+ void Reset(); |
+ |
// Updates the insets and redraw the visual feedback. |
void UpdateInsets(const gfx::Insets& insets); |
@@ -49,6 +54,9 @@ class OverscanCalibrator : public ui::LayerDelegate { |
// The insets initially given. Stored so we can undo the insets later. |
gfx::Insets initial_insets_; |
+ // The insets claimed by the display. |
+ gfx::Insets native_insets_; |
+ |
// Whether the current insets are committed to the system or not. |
bool committed_; |