Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6486)

Unified Diff: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h

Issue 10201015: [cros] Add network tray item for mobile network setup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698