OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 "chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.
h" | 5 #include "chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.
h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "ui/aura/client/screen_position_client.h" | 8 #include "ui/aura/client/screen_position_client.h" |
8 #include "ui/events/event.h" | 9 #include "ui/events/event.h" |
9 #include "ui/events/event_processor.h" | 10 #include "ui/events/event_processor.h" |
10 #include "ui/events/event_utils.h" | 11 #include "ui/events/event_utils.h" |
11 #include "ui/events/gesture_event_details.h" | 12 #include "ui/events/gesture_event_details.h" |
12 #include "ui/gfx/display.h" | 13 #include "ui/gfx/display.h" |
13 #include "ui/gfx/image/image.h" | 14 #include "ui/gfx/image/image.h" |
14 #include "ui/gfx/image/image_skia.h" | 15 #include "ui/gfx/image/image_skia.h" |
15 #include "ui/gfx/screen.h" | 16 #include "ui/gfx/screen.h" |
16 #include "ui/views/bubble/bubble_delegate.h" | 17 #include "ui/views/bubble/bubble_delegate.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 void LinkDisambiguationPopup::Close() { | 194 void LinkDisambiguationPopup::Close() { |
194 if (view_) { | 195 if (view_) { |
195 view_->Close(); | 196 view_->Close(); |
196 view_ = NULL; | 197 view_ = NULL; |
197 } | 198 } |
198 } | 199 } |
199 | 200 |
200 void LinkDisambiguationPopup::InvalidateBubbleView() { | 201 void LinkDisambiguationPopup::InvalidateBubbleView() { |
201 view_ = NULL; | 202 view_ = NULL; |
202 } | 203 } |
OLD | NEW |