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

Unified Diff: aura/focus_manager.cc

Issue 7886042: Move Aura to UI subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | « aura/focus_manager.h ('k') | aura/hit_test.h » ('j') | ui/aura/aura.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: aura/focus_manager.cc
===================================================================
--- aura/focus_manager.cc (revision 100961)
+++ aura/focus_manager.cc (working copy)
@@ -1,32 +0,0 @@
-// Copyright (c) 2011 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 "aura/focus_manager.h"
-
-#include "aura/window.h"
-#include "aura/window_delegate.h"
-
-namespace aura {
-namespace internal {
-
-FocusManager::FocusManager(Window* owner)
- : owner_(owner),
- focused_window_(NULL) {
-}
-
-FocusManager::~FocusManager() {
-}
-
-void FocusManager::SetFocusedWindow(Window* focused_window) {
- if (focused_window == focused_window_)
- return;
- if (focused_window_)
- focused_window_->delegate()->OnBlur();
- focused_window_ = focused_window;
- if (focused_window_)
- focused_window_->delegate()->OnFocus();
-}
-
-} // namespace internal
-} // namespace aura
« no previous file with comments | « aura/focus_manager.h ('k') | aura/hit_test.h » ('j') | ui/aura/aura.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698