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

Unified Diff: chrome/browser/extensions/api/identity/web_auth_flow.h

Issue 11221002: Merge 162639 - Implement size and position support for launchWebAuthFlow. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 2 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/extensions/api/identity/web_auth_flow.h
===================================================================
--- chrome/browser/extensions/api/identity/web_auth_flow.h (revision 162714)
+++ chrome/browser/extensions/api/identity/web_auth_flow.h (working copy)
@@ -13,6 +13,7 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "googleurl/src/gurl.h"
+#include "ui/gfx/rect.h"
class Profile;
class TabContents;
@@ -63,7 +64,8 @@
Profile* profile,
const std::string& extension_id,
const GURL& provider_url,
- Mode mode);
+ Mode mode,
+ const gfx::Rect& initial_bounds);
virtual ~WebAuthFlow();
// Starts the flow.
@@ -96,6 +98,7 @@
Profile* profile_;
GURL provider_url_;
Mode mode_;
+ gfx::Rect initial_bounds_;
// List of valid redirect URL prefixes.
std::vector<std::string> valid_prefixes_;
« no previous file with comments | « chrome/browser/extensions/api/identity/identity_apitest.cc ('k') | chrome/browser/extensions/api/identity/web_auth_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698