summaryrefslogtreecommitdiffstats
path: root/ui/views
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 14:56:26 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 14:56:26 +0000
commitc4c0ce8b7086e34ef9159439fd27c9b3db1354c4 (patch)
treec17fdb385ccc2f675dfd09a56edbeb9e3eecb74f /ui/views
parent2fc6672f21decd142da98665de2a0330b2e0ac57 (diff)
downloadchromium_src-c4c0ce8b7086e34ef9159439fd27c9b3db1354c4.zip
chromium_src-c4c0ce8b7086e34ef9159439fd27c9b3db1354c4.tar.gz
chromium_src-c4c0ce8b7086e34ef9159439fd27c9b3db1354c4.tar.bz2
Fix bustage... these files were ommited from the CL.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views')
-rw-r--r--ui/views/focus/focus_manager.cc4
-rw-r--r--ui/views/focus/focus_manager.h2
-rw-r--r--ui/views/widget/widget.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/ui/views/focus/focus_manager.cc b/ui/views/focus/focus_manager.cc
index c56565a..8961bca 100644
--- a/ui/views/focus/focus_manager.cc
+++ b/ui/views/focus/focus_manager.cc
@@ -128,7 +128,7 @@ FocusManager::WidgetFocusManager* FocusManager::GetWidgetFocusManager() {
bool FocusManager::OnKeyEvent(const KeyEvent& event) {
// If the focused view wants to process the key event as is, let it be.
// On Linux we always dispatch key events to the focused view first, so
- // we should not do this check here. See also WidgetGtk::OnKeyEvent().
+ // we should not do this check here. See also NativeWidgetGtk::OnKeyEvent().
if (focused_view_ && focused_view_->SkipDefaultKeyEventProcessing(event))
return true;
@@ -372,7 +372,7 @@ View* FocusManager::GetNextFocusableView(
if (!focus_traversable) {
if (IsTraverseForward(direction)) {
// If the starting view has a focus traversable, use it.
- // This is the case with WidgetWins for example.
+ // This is the case with NativeWidgetWins for example.
focus_traversable = original_starting_view->GetFocusTraversable();
// Otherwise default to the root view.
diff --git a/ui/views/focus/focus_manager.h b/ui/views/focus/focus_manager.h
index 58f553d..a132ccc 100644
--- a/ui/views/focus/focus_manager.h
+++ b/ui/views/focus/focus_manager.h
@@ -48,7 +48,7 @@
// method SetNextFocusableView().
//
// If you are embedding a native view containing a nested RootView (for example
-// by adding a NativeControl that contains a WidgetWin as its native
+// by adding a NativeControl that contains a NativeWidgetWin as its native
// component), then you need to:
// - override the View::GetFocusTraversable() method in your outer component.
// It should return the RootView of the inner component. This is used when
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index 9bb4513..73fea38 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -171,7 +171,7 @@ bool Widget::OnMouseEvent(const MouseEvent& event) {
return false;
case ui::Event::ET_MOUSE_RELEASED:
// TODO(beng): NativeWidgetGtk should not call this function if drag data
- // exists, see comment in this function in WidgetGtk.
+ // exists, see comment in this function in NativeWidgetGtk.
// Release the capture first, that way we don't get confused if
// OnMouseReleased blocks.
if (native_widget_->HasMouseCapture() &&