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

Unified Diff: ui/views/widget/native_widget_aura.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/native_widget_aura.h ('k') | ui/views/widget/native_widget_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_aura.cc
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index 8728811c3a48638a03cb04acc1eda17a1473ebec..774585a3201748c27f4ed8a251f80f8214612bfd 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -91,9 +91,9 @@ void AdjustScreenBounds(aura::Window* window, gfx::Rect* bounds) {
// Used when SetInactiveRenderingDisabled() is invoked to track when active
// status changes in such a way that we should enable inactive rendering.
-class NativeWidgetAura::ActiveWindowObserver :
- public aura::WindowObserver,
- public aura::client::ActivationChangeObserver {
+class NativeWidgetAura::ActiveWindowObserver
+ : public aura::WindowObserver,
+ public aura::client::ActivationChangeObserver {
public:
explicit ActiveWindowObserver(NativeWidgetAura* host) : host_(host) {
host_->GetNativeView()->GetRootWindow()->AddObserver(this);
@@ -318,7 +318,7 @@ TooltipManager* NativeWidgetAura::GetTooltipManager() const {
bool NativeWidgetAura::IsScreenReaderActive() const {
// http://crbug.com/102570
- //NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return false;
}
@@ -326,7 +326,7 @@ void NativeWidgetAura::SendNativeAccessibilityEvent(
View* view,
ui::AccessibilityTypes::Event event_type) {
// http://crbug.com/102570
- //NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetAura::SetCapture() {
@@ -403,17 +403,17 @@ void NativeWidgetAura::SetWindowIcons(const gfx::ImageSkia& window_icon,
void NativeWidgetAura::SetAccessibleName(const string16& name) {
// http://crbug.com/102570
- //NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetAura::SetAccessibleRole(ui::AccessibilityTypes::Role role) {
// http://crbug.com/102570
- //NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetAura::SetAccessibleState(ui::AccessibilityTypes::State state) {
// http://crbug.com/102570
- //NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetAura::InitModalType(ui::ModalType modal_type) {
@@ -610,7 +610,7 @@ void NativeWidgetAura::FlashFrame(bool flash) {
bool NativeWidgetAura::IsAccessibleWidget() const {
// http://crbug.com/102570
- //NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return false;
}
@@ -809,6 +809,15 @@ void NativeWidgetAura::OnWindowVisibilityChanged(bool visible) {
delegate_->OnNativeWidgetVisibilityChanged(visible);
}
+bool NativeWidgetAura::HasHitTestMask() const {
+ return delegate_->HasHitTestMask();
+}
+
+void NativeWidgetAura::GetHitTestMask(gfx::Path* mask) const {
+ DCHECK(mask);
+ delegate_->GetHitTestMask(mask);
+}
+
////////////////////////////////////////////////////////////////////////////////
// NativeWidgetAura, aura::ActivationDelegate implementation:
« no previous file with comments | « ui/views/widget/native_widget_aura.h ('k') | ui/views/widget/native_widget_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698