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

Unified Diff: content/shell/browser/shell_views.cc

Issue 1636533003: Remove dead code: ShellViewsDelegateAura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index 2e1e4ff8e2949e10f841ade4d4a652762d465e08..a16fdc006feb50c7ac0d2e93a1b63b3d65ddd19d 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -54,23 +54,6 @@
namespace content {
namespace {
-// ViewDelegate implementation for aura content shell
-class ShellViewsDelegateAura : public views::DesktopTestViewsDelegate {
- public:
- ShellViewsDelegateAura() : use_transparent_windows_(false) {
- }
-
- ~ShellViewsDelegateAura() override {}
-
- void SetUseTransparentWindows(bool transparent) {
- use_transparent_windows_ = transparent;
- }
-
- private:
- bool use_transparent_windows_;
-
- DISALLOW_COPY_AND_ASSIGN(ShellViewsDelegateAura);
-};
// Model for the "Debug" menu
class ContextMenuModel : public ui::SimpleMenuModel,
@@ -421,7 +404,7 @@ void Shell::PlatformInitialize(const gfx::Size& default_window_size) {
gfx::Screen::SetScreenInstance(
gfx::SCREEN_TYPE_NATIVE, views::CreateDesktopScreen());
#endif
- views_delegate_ = new ShellViewsDelegateAura();
+ views_delegate_ = new views::DesktopTestViewsDelegate();
}
void Shell::PlatformExit() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698