summaryrefslogtreecommitdiffstats
path: root/views/focus
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-02 13:54:29 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-02 13:54:29 +0000
commite6269fd0e957510a2536a77e5a2fcabf799ccd20 (patch)
treee2185f9d89325d873fe3bd99ed27baf6224ed578 /views/focus
parent1505fa2d80afe698db06150512b26c2d08d0e088 (diff)
downloadchromium_src-e6269fd0e957510a2536a77e5a2fcabf799ccd20.zip
chromium_src-e6269fd0e957510a2536a77e5a2fcabf799ccd20.tar.gz
chromium_src-e6269fd0e957510a2536a77e5a2fcabf799ccd20.tar.bz2
views: implement a TODO to move WidgetGtk::GetWindowForNative to WindowGtk.
BUG=NONE TEST=compiles. Review URL: http://codereview.chromium.org/1640003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48717 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/focus')
-rw-r--r--views/focus/accelerator_handler_gtk.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/focus/accelerator_handler_gtk.cc b/views/focus/accelerator_handler_gtk.cc
index f7fff91..1218340 100644
--- a/views/focus/accelerator_handler_gtk.cc
+++ b/views/focus/accelerator_handler_gtk.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -9,7 +9,6 @@
#include "views/accelerator.h"
#include "views/focus/accelerator_handler.h"
#include "views/focus/focus_manager.h"
-#include "views/widget/widget_gtk.h"
#include "views/window/window_gtk.h"
namespace views {
@@ -46,7 +45,7 @@ bool AcceleratorHandler::Dispatch(GdkEvent* event) {
DCHECK(ptr); // The top-level window is expected to always be associated
// with the top-level gtk widget.
WindowGtk* widget =
- WidgetGtk::GetWindowForNative(reinterpret_cast<GtkWidget*>(ptr));
+ WindowGtk::GetWindowForNative(reinterpret_cast<GtkWidget*>(ptr));
if (!widget) {
// During dnd we get events for windows we don't control (such as the
// window being dragged).