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

Unified Diff: ash/wm/tablet_mode/tablet_mode_backdrop_delegate_impl.h

Issue 2906803002: Rename MaximizeMode to TabletMode (Closed)
Patch Set: updated filter Created 3 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 side-by-side diff with in-line comments
Download patch
Index: ash/wm/tablet_mode/tablet_mode_backdrop_delegate_impl.h
diff --git a/ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h b/ash/wm/tablet_mode/tablet_mode_backdrop_delegate_impl.h
similarity index 56%
rename from ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h
rename to ash/wm/tablet_mode/tablet_mode_backdrop_delegate_impl.h
index 010b9ecff6a30b0f3fdab925b90946f662aff350..1e70719ceba36d0e849e5862982d650fe6cec003 100644
--- a/ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h
+++ b/ash/wm/tablet_mode/tablet_mode_backdrop_delegate_impl.h
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef ASH_WM_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_
+#define ASH_WM_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_
+
#include "ash/wm/workspace/backdrop_delegate.h"
#include "ash/ash_export.h"
@@ -12,16 +15,18 @@ namespace ash {
// A backdrop delegate for MaximizedMode, which always creates a backdrop.
// This is also used in the WorkspaceLayoutManagerBackdropTest, hence
// is public.
-class ASH_EXPORT MaximizeModeBackdropDelegateImpl : public BackdropDelegate {
+class ASH_EXPORT TabletModeBackdropDelegateImpl : public BackdropDelegate {
public:
- MaximizeModeBackdropDelegateImpl();
- ~MaximizeModeBackdropDelegateImpl() override;
+ TabletModeBackdropDelegateImpl();
+ ~TabletModeBackdropDelegateImpl() override;
protected:
bool HasBackdrop(aura::Window* window) override;
private:
- DISALLOW_COPY_AND_ASSIGN(MaximizeModeBackdropDelegateImpl);
+ DISALLOW_COPY_AND_ASSIGN(TabletModeBackdropDelegateImpl);
};
} // namespace ash
+
+#endif // ASH_WM_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698