Chromium Code Reviews| Index: chrome/browser/ui/webui/chromeos/login/base_screen_handler.h |
| diff --git a/chrome/browser/ui/webui/chromeos/login/base_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/base_screen_handler.h |
| index 9bc14cb867189d428288f00197b617cef09a784a..de2171c70d2f13ea7df4cfea950ff93137f4ff7e 100644 |
| --- a/chrome/browser/ui/webui/chromeos/login/base_screen_handler.h |
| +++ b/chrome/browser/ui/webui/chromeos/login/base_screen_handler.h |
| @@ -7,6 +7,7 @@ |
| #pragma once |
| #include "content/browser/webui/web_ui.h" |
| +#include "ui/gfx/native_widget_types.h" |
| namespace base { |
| class DictionaryValue; |
| @@ -28,6 +29,7 @@ class BaseScreenHandler : public WebUIMessageHandler { |
| // via virtual Initialize() method (see below). |
| void InitializeBase(); |
|
Nikita (slow)
2011/10/31 11:14:18
nit: nuke extra line.
altimofeev
2011/10/31 16:55:52
Done.
|
| + |
| protected: |
| // Called when the page is ready and handler can do initialization. |
| virtual void Initialize() = 0; |
| @@ -39,6 +41,9 @@ class BaseScreenHandler : public WebUIMessageHandler { |
| // Whether page is ready. |
| bool page_is_ready() const { return page_is_ready_; } |
| + // Returns the window which shows us. |
| + gfx::NativeWindow GetNativeWindow(); |
| + |
| private: |
| // Keeps whether page is ready. |
| bool page_is_ready_; |