| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 class DictionaryValue; | 21 class DictionaryValue; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace ui { | 24 namespace ui { |
| 25 class ThrobAnimation; | 25 class ThrobAnimation; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace views { | 28 namespace views { |
| 29 class Checkbox; | 29 class Checkbox; |
| 30 class Label; | 30 class Label; |
| 31 class LabelButton; |
| 31 class RadioButton; | 32 class RadioButton; |
| 32 class TextButton; | |
| 33 } | 33 } |
| 34 | 34 |
| 35 // ChromeToMobileBubbleView is a bubble view for the Chrome To Mobile service. | 35 // ChromeToMobileBubbleView is a bubble view for the Chrome To Mobile service. |
| 36 class ChromeToMobileBubbleView : public views::BubbleDelegateView, | 36 class ChromeToMobileBubbleView : public views::BubbleDelegateView, |
| 37 public views::ButtonListener, | 37 public views::ButtonListener, |
| 38 public views::LinkListener, | 38 public views::LinkListener, |
| 39 public ChromeToMobileService::Observer { | 39 public ChromeToMobileService::Observer { |
| 40 public: | 40 public: |
| 41 virtual ~ChromeToMobileBubbleView(); | 41 virtual ~ChromeToMobileBubbleView(); |
| 42 | 42 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // The Chrome To Mobile service associated with this bubble. | 86 // The Chrome To Mobile service associated with this bubble. |
| 87 ChromeToMobileService* service_; | 87 ChromeToMobileService* service_; |
| 88 | 88 |
| 89 // The list of radio buttons corresponding to the list of mobile devices. | 89 // The list of radio buttons corresponding to the list of mobile devices. |
| 90 std::vector<views::RadioButton*> radio_buttons_; | 90 std::vector<views::RadioButton*> radio_buttons_; |
| 91 | 91 |
| 92 // The file path for the MHTML page snapshot. | 92 // The file path for the MHTML page snapshot. |
| 93 base::FilePath snapshot_path_; | 93 base::FilePath snapshot_path_; |
| 94 | 94 |
| 95 views::Checkbox* send_copy_; | 95 views::Checkbox* send_copy_; |
| 96 views::TextButton* send_; | 96 views::LabelButton* send_; |
| 97 views::TextButton* cancel_; | 97 views::LabelButton* cancel_; |
| 98 | 98 |
| 99 // An animation used to cycle through the "Sending..." status messages. | 99 // An animation used to cycle through the "Sending..." status messages. |
| 100 scoped_ptr<ui::ThrobAnimation> progress_animation_; | 100 scoped_ptr<ui::ThrobAnimation> progress_animation_; |
| 101 | 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(ChromeToMobileBubbleView); | 102 DISALLOW_COPY_AND_ASSIGN(ChromeToMobileBubbleView); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ | 105 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ |
| OLD | NEW |