Index: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h |
diff --git a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h |
index 4cdcca525129c795a81c7f9070ca1cc10c0cb30b..d829d89eadb6723d21128a961e192891dfb416f2 100644 |
--- a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h |
+++ b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h |
@@ -14,7 +14,9 @@ |
#include "content/public/browser/notification_registrar.h" |
#include "ui/gfx/native_widget_types.h" |
+class Browser; |
class SkBitmap; |
+ |
namespace views { |
class WidgetDelegate; |
} |
@@ -59,6 +61,10 @@ class InternetOptionsHandler |
void CreateModalPopup(views::WidgetDelegate* view); |
gfx::NativeWindow GetNativeWindow() const; |
+ // Returns the last active browser. If there is no such browser, creates a new |
+ // browser window with an empty tab and returns it. |
+ Browser* GetAppropriateBrowser(); |
+ |
// Passes data needed to show details overlay for network. |
// |args| will be [ network_type, service_path, command ] |
// And command is one of 'options', 'connect', disconnect', 'activate' or |