| OLD | NEW |
| 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_PROTOCOL_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_PROTOCOL_DIALOG_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_PROTOCOL_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_PROTOCOL_DIALOG_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/time.h" | 11 #include "base/time.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "views/window/dialog_delegate.h" | 13 #include "ui/views/window/dialog_delegate.h" |
| 14 | 14 |
| 15 class TabContents; | 15 class TabContents; |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 class MessageBoxView; | 18 class MessageBoxView; |
| 19 } | 19 } |
| 20 | 20 |
| 21 class ExternalProtocolDialog : public views::DialogDelegate { | 21 class ExternalProtocolDialog : public views::DialogDelegate { |
| 22 public: | 22 public: |
| 23 // RunExternalProtocolDialog calls this private constructor. | 23 // RunExternalProtocolDialog calls this private constructor. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // URL of the external protocol request. | 55 // URL of the external protocol request. |
| 56 GURL url_; | 56 GURL url_; |
| 57 | 57 |
| 58 // The time at which this dialog was created. | 58 // The time at which this dialog was created. |
| 59 base::TimeTicks creation_time_; | 59 base::TimeTicks creation_time_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolDialog); | 61 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolDialog); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_PROTOCOL_DIALOG_H_ | 64 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_PROTOCOL_DIALOG_H_ |
| OLD | NEW |