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

Unified Diff: content/browser/screen_orientation/screen_orientation_provider.h

Issue 2702033002: [ScreenOrientation] Fire pending lock request when we found it has failed.
Patch Set: Created 3 years, 10 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 | « no previous file | content/browser/screen_orientation/screen_orientation_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/screen_orientation/screen_orientation_provider.h
diff --git a/content/browser/screen_orientation/screen_orientation_provider.h b/content/browser/screen_orientation/screen_orientation_provider.h
index 0898070e3bb9471d3fee37c606deb4faf5e85720..fb50889cf4c8370bcf623c8c8196c7b6238ed8d9 100644
--- a/content/browser/screen_orientation/screen_orientation_provider.h
+++ b/content/browser/screen_orientation/screen_orientation_provider.h
@@ -36,9 +36,11 @@ class CONTENT_EXPORT ScreenOrientationProvider
const LockOrientationCallback& callback) override;
void UnlockOrientation() override;
+#if defined(OS_ANDROID)
// Inform about a screen orientation update. It is called to let the provider
// know if a lock has been resolved.
void OnOrientationChange();
+#endif
// Provide a delegate which creates delegates for platform implementations.
// The delegate is not owned by ScreenOrientationProvider.
« no previous file with comments | « no previous file | content/browser/screen_orientation/screen_orientation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698