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

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

Issue 1758823004: Screen.orientation lock API implementation for Windows8 and later. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: content/browser/screen_orientation/screen_orientation_delegate_win.h
diff --git a/ash/content/screen_orientation_delegate_chromeos.h b/content/browser/screen_orientation/screen_orientation_delegate_win.h
similarity index 53%
copy from ash/content/screen_orientation_delegate_chromeos.h
copy to content/browser/screen_orientation/screen_orientation_delegate_win.h
index d5fe51c0cd67f6a4625723e3604b35c6dc82a720..0e11210e551085db2a416c0427a0f1456acc71bc 100644
--- a/ash/content/screen_orientation_delegate_chromeos.h
+++ b/content/browser/screen_orientation/screen_orientation_delegate_win.h
@@ -1,21 +1,19 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
-#define ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
-
#include "content/public/browser/screen_orientation_delegate.h"
-#include "base/macros.h"
+#ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_
+#define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_
Avi (use Gerrit) 2016/03/02 19:25:12 Include guards have to be the first thing in the f
aleksandar.stojiljkovic 2016/03/02 19:47:20 Done.
-namespace ash {
+namespace content {
-class ScreenOrientationDelegateChromeos
+class ScreenOrientationDelegateWin
: public content::ScreenOrientationDelegate {
public:
- ScreenOrientationDelegateChromeos();
- ~ScreenOrientationDelegateChromeos() override;
+ ScreenOrientationDelegateWin();
+ ~ScreenOrientationDelegateWin() override;
private:
// content::ScreenOrientationDelegate:
@@ -25,9 +23,9 @@ class ScreenOrientationDelegateChromeos
bool ScreenOrientationProviderSupported() override;
void Unlock(content::WebContents* web_contents) override;
- DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateChromeos);
+ DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateWin);
};
-} // namespace ash
+} // namespace content
-#endif // ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
+#endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698