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

Unified Diff: ui/views/widget/desktop_aura/desktop_focus_rules.cc

Issue 11969020: Revert 177209 - Enable the FocusController on DesktopAura too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
Index: ui/views/widget/desktop_aura/desktop_focus_rules.cc
===================================================================
--- ui/views/widget/desktop_aura/desktop_focus_rules.cc (revision 177225)
+++ ui/views/widget/desktop_aura/desktop_focus_rules.cc (working copy)
@@ -1,20 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "ui/views/widget/desktop_aura/desktop_focus_rules.h"
-
-#include "ui/aura/root_window.h"
-#include "ui/aura/window.h"
-
-namespace views {
-
-DesktopFocusRules::DesktopFocusRules() {}
-DesktopFocusRules::~DesktopFocusRules() {}
-
-bool DesktopFocusRules::SupportsChildActivation(aura::Window* window) const {
- // In Desktop-Aura, only children of the RootWindow are activatable.
- return window->GetRootWindow() == window;
-}
-
-} // namespace views
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_focus_rules.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698