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

Side by Side Diff: ui/views/widget/widget_delegate.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_delegate.h ('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/views/widget/widget_delegate.h" 5 #include "ui/views/widget/widget_delegate.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "ui/views/bubble/bubble_delegate.h" 9 #include "ui/views/bubble/bubble_delegate.h"
10 #include "ui/views/view.h" 10 #include "ui/views/view.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 136
137 NonClientFrameView* WidgetDelegate::CreateNonClientFrameView(Widget* widget) { 137 NonClientFrameView* WidgetDelegate::CreateNonClientFrameView(Widget* widget) {
138 return NULL; 138 return NULL;
139 } 139 }
140 140
141 bool WidgetDelegate::WillProcessWorkAreaChange() const { 141 bool WidgetDelegate::WillProcessWorkAreaChange() const {
142 return false; 142 return false;
143 } 143 }
144 144
145 bool WidgetDelegate::HasHitTestMask() const {
146 return false;
147 }
148
149 void WidgetDelegate::GetHitTestMask(gfx::Path* mask) const {
150 DCHECK(mask);
151 }
152
145 //////////////////////////////////////////////////////////////////////////////// 153 ////////////////////////////////////////////////////////////////////////////////
146 // WidgetDelegateView: 154 // WidgetDelegateView:
147 155
148 WidgetDelegateView::WidgetDelegateView() { 156 WidgetDelegateView::WidgetDelegateView() {
149 } 157 }
150 158
151 WidgetDelegateView::~WidgetDelegateView() { 159 WidgetDelegateView::~WidgetDelegateView() {
152 } 160 }
153 161
154 Widget* WidgetDelegateView::GetWidget() { 162 Widget* WidgetDelegateView::GetWidget() {
155 return View::GetWidget(); 163 return View::GetWidget();
156 } 164 }
157 165
158 const Widget* WidgetDelegateView::GetWidget() const { 166 const Widget* WidgetDelegateView::GetWidget() const {
159 return View::GetWidget(); 167 return View::GetWidget();
160 } 168 }
161 169
162 } // namespace views 170 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/widget_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698