OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/views/info_bubble.h" | 5 #include "chrome/browser/ui/views/info_bubble.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "app/keyboard_codes.h" | 9 #include "app/keyboard_codes.h" |
10 #include "chrome/browser/ui/window_sizer.h" | 10 #include "chrome/browser/ui/window_sizer.h" |
11 #include "chrome/common/notification_service.h" | 11 #include "chrome/common/notification_service.h" |
12 #include "gfx/canvas_skia.h" | 12 #include "gfx/canvas_skia.h" |
13 #include "gfx/color_utils.h" | 13 #include "gfx/color_utils.h" |
14 #include "gfx/path.h" | 14 #include "gfx/path.h" |
15 #include "third_party/skia/include/core/SkPaint.h" | 15 #include "third_party/skia/include/core/SkPaint.h" |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 animation_->Hide(); | 556 animation_->Hide(); |
557 } | 557 } |
558 | 558 |
559 bool InfoBubble::AcceleratorPressed(const views::Accelerator& accelerator) { | 559 bool InfoBubble::AcceleratorPressed(const views::Accelerator& accelerator) { |
560 if (!delegate_ || delegate_->CloseOnEscape()) { | 560 if (!delegate_ || delegate_->CloseOnEscape()) { |
561 DoClose(true); | 561 DoClose(true); |
562 return true; | 562 return true; |
563 } | 563 } |
564 return false; | 564 return false; |
565 } | 565 } |
OLD | NEW |