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

Side by Side Diff: ui/oak/oak_aura_window_display.cc

Issue 10854060: ash: Use different hit-test outer-region for mouse and touch events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scale Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/oak/oak_aura_window_display.h" 5 #include "ui/oak/oak_aura_window_display.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 window_->transient_parent()); 138 window_->transient_parent());
139 case ROW_USERDATA: 139 case ROW_USERDATA:
140 return PropertyWithVoidStar("User Data: ", window_->user_data()); 140 return PropertyWithVoidStar("User Data: ", window_->user_data());
141 case ROW_IGNOREEVENTS: 141 case ROW_IGNOREEVENTS:
142 return PropertyWithBool("Can receive events: ", 142 return PropertyWithBool("Can receive events: ",
143 window_->CanReceiveEvents()); 143 window_->CanReceiveEvents());
144 case ROW_CANFOCUS: 144 case ROW_CANFOCUS:
145 return PropertyWithBool("Can Focus: ", window_->CanFocus()); 145 return PropertyWithBool("Can Focus: ", window_->CanFocus());
146 case ROW_HITTESTBOUNDSOVERRIDEOUTER: 146 case ROW_HITTESTBOUNDSOVERRIDEOUTER:
147 return PropertyWithInsets("Hit test bounds override outer: ", 147 return PropertyWithInsets("Hit test bounds override outer: ",
148 window_->hit_test_bounds_override_outer()); 148 window_->hit_test_bounds_override_outer_mouse());
149 case ROW_HITTESTBOUNDSOVERRIDEINNER: 149 case ROW_HITTESTBOUNDSOVERRIDEINNER:
150 return PropertyWithInsets("Hit test bounds override inner: ", 150 return PropertyWithInsets("Hit test bounds override inner: ",
151 window_->hit_test_bounds_override_inner()); 151 window_->hit_test_bounds_override_inner());
152 default: 152 default:
153 NOTREACHED(); 153 NOTREACHED();
154 break; 154 break;
155 } 155 }
156 return EmptyString16(); 156 return EmptyString16();
157 } 157 }
158 158
159 void OakAuraWindowDisplay::SetObserver(ui::TableModelObserver* observer) { 159 void OakAuraWindowDisplay::SetObserver(ui::TableModelObserver* observer) {
160 observer_ = observer; 160 observer_ = observer;
161 } 161 }
162 162
163 } // namespace internal 163 } // namespace internal
164 } // namespace oak 164 } // namespace oak
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698