| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_UI_VIEWS_VALIDATION_MESSAGE_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_VALIDATION_MESSAGE_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_VALIDATION_MESSAGE_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_VALIDATION_MESSAGE_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/browser/ui/validation_message_bubble.h" | 9 #include "chrome/browser/ui/validation_message_bubble.h" |
| 9 #include "chrome/browser/ui/views/validation_message_bubble_delegate.h" | 10 #include "chrome/browser/ui/views/validation_message_bubble_delegate.h" |
| 10 | 11 |
| 11 namespace content { | 12 namespace content { |
| 12 class WebContents; | 13 class WebContents; |
| 13 } | 14 } |
| 14 | 15 |
| 15 // A ValidationMessageBubble implementation for Views. | 16 // A ValidationMessageBubble implementation for Views. |
| 16 class ValidationMessageBubbleView | 17 class ValidationMessageBubbleView |
| 17 : public ValidationMessageBubble, | 18 : public ValidationMessageBubble, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 31 // ValidationMessageBubbleDelegate::Observer overrides: | 32 // ValidationMessageBubbleDelegate::Observer overrides: |
| 32 void WindowClosing() override; | 33 void WindowClosing() override; |
| 33 | 34 |
| 34 private: | 35 private: |
| 35 ValidationMessageBubbleDelegate* delegate_; | 36 ValidationMessageBubbleDelegate* delegate_; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(ValidationMessageBubbleView); | 38 DISALLOW_COPY_AND_ASSIGN(ValidationMessageBubbleView); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 #endif // CHROME_BROWSER_UI_VIEWS_VALIDATION_MESSAGE_BUBBLE_VIEW_H_ | 41 #endif // CHROME_BROWSER_UI_VIEWS_VALIDATION_MESSAGE_BUBBLE_VIEW_H_ |
| OLD | NEW |