OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_COOKIE_PROMPT_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_COOKIE_PROMPT_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_COOKIE_PROMPT_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_COOKIE_PROMPT_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/task.h" | 10 #include "base/task.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // True if cookie info view is currently shown and window expanded. | 102 // True if cookie info view is currently shown and window expanded. |
103 bool expanded_view_; | 103 bool expanded_view_; |
104 | 104 |
105 // True if the outcome of this dialog has been signaled to the delegate. | 105 // True if the outcome of this dialog has been signaled to the delegate. |
106 bool signaled_; | 106 bool signaled_; |
107 | 107 |
108 // Prompt window title. | 108 // Prompt window title. |
109 std::wstring title_; | 109 std::wstring title_; |
110 | 110 |
111 // A pointer to the AppModalDialog that created us. We own this. | 111 // A pointer to the AppModalDialog that created us. We own this. |
112 CookiePromptModalDialog* parent_; | 112 scoped_ptr<CookiePromptModalDialog> parent_; |
113 | 113 |
114 gfx::NativeWindow root_window_; | 114 gfx::NativeWindow root_window_; |
115 | 115 |
116 DISALLOW_COPY_AND_ASSIGN(CookiePromptView); | 116 DISALLOW_COPY_AND_ASSIGN(CookiePromptView); |
117 }; | 117 }; |
118 | 118 |
119 #endif // CHROME_BROWSER_VIEWS_COOKIE_PROMPT_VIEW_H_ | 119 #endif // CHROME_BROWSER_VIEWS_COOKIE_PROMPT_VIEW_H_ |
120 | 120 |
OLD | NEW |