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

Unified Diff: ui/views/bubble/bubble_window_targeter.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/bubble/bubble_window_targeter.h ('k') | ui/views/bubble/bubble_window_targeter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_window_targeter.cc
diff --git a/ui/views/bubble/bubble_window_targeter.cc b/ui/views/bubble/bubble_window_targeter.cc
deleted file mode 100644
index 19e0c85f91ab682072a21b100ca8d25edb0f1860..0000000000000000000000000000000000000000
--- a/ui/views/bubble/bubble_window_targeter.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/views/bubble/bubble_window_targeter.h"
-
-#include "ui/aura/window.h"
-#include "ui/gfx/path.h"
-#include "ui/gfx/skia_util.h"
-#include "ui/views/bubble/bubble_delegate.h"
-#include "ui/views/bubble/bubble_frame_view.h"
-
-namespace views {
-
-BubbleWindowTargeter::BubbleWindowTargeter(BubbleDelegateView* bubble)
- : wm::MaskedWindowTargeter(bubble->GetWidget()->GetNativeView()),
- bubble_(bubble) {
-}
-
-BubbleWindowTargeter::~BubbleWindowTargeter() {
-}
-
-bool BubbleWindowTargeter::GetHitTestMask(aura::Window* window,
- gfx::Path* mask) const {
- mask->addRect(
- gfx::RectToSkRect(bubble_->GetBubbleFrameView()->GetContentsBounds()));
- return true;
-}
-
-} // namespace views
« no previous file with comments | « ui/views/bubble/bubble_window_targeter.h ('k') | ui/views/bubble/bubble_window_targeter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698