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

Side by Side Diff: ui/views/widget/widget.cc

Issue 10566009: app_list: Fix shadow bleeds over launcher button and steals mouse events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix aura_demo compilation Created 8 years, 6 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/views/widget/widget.h ('k') | ui/views/widget/widget_delegate.h » ('j') | 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/views/widget/widget.h" 5 #include "ui/views/widget/widget.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "ui/base/hit_test.h" 10 #include "ui/base/hit_test.h"
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 } 1123 }
1124 1124
1125 bool Widget::ExecuteCommand(int command_id) { 1125 bool Widget::ExecuteCommand(int command_id) {
1126 return widget_delegate_->ExecuteWindowsCommand(command_id); 1126 return widget_delegate_->ExecuteWindowsCommand(command_id);
1127 } 1127 }
1128 1128
1129 InputMethod* Widget::GetInputMethodDirect() { 1129 InputMethod* Widget::GetInputMethodDirect() {
1130 return input_method_.get(); 1130 return input_method_.get();
1131 } 1131 }
1132 1132
1133 bool Widget::HasHitTestMask() const {
1134 return widget_delegate_->HasHitTestMask();
1135 }
1136
1137 void Widget::GetHitTestMask(gfx::Path* mask) const {
1138 DCHECK(mask);
1139 widget_delegate_->GetHitTestMask(mask);
1140 }
1141
1133 Widget* Widget::AsWidget() { 1142 Widget* Widget::AsWidget() {
1134 return this; 1143 return this;
1135 } 1144 }
1136 1145
1137 const Widget* Widget::AsWidget() const { 1146 const Widget* Widget::AsWidget() const {
1138 return this; 1147 return this;
1139 } 1148 }
1140 1149
1141 //////////////////////////////////////////////////////////////////////////////// 1150 ////////////////////////////////////////////////////////////////////////////////
1142 // Widget, FocusTraversable implementation: 1151 // Widget, FocusTraversable implementation:
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 1290
1282 //////////////////////////////////////////////////////////////////////////////// 1291 ////////////////////////////////////////////////////////////////////////////////
1283 // internal::NativeWidgetPrivate, NativeWidget implementation: 1292 // internal::NativeWidgetPrivate, NativeWidget implementation:
1284 1293
1285 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { 1294 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() {
1286 return this; 1295 return this;
1287 } 1296 }
1288 1297
1289 } // namespace internal 1298 } // namespace internal
1290 } // namespace views 1299 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/widget.h ('k') | ui/views/widget/widget_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698