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

Side by Side Diff: chrome/browser/extensions/api/identity_private/identity_private_api.cc

Issue 14081014: Identity API: Change WebAuthFlow to use <webview> instead of a normal browser pop-up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chrome.identity side-by-side with chrome.experimental.identity Created 7 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/api/identity_private/identity_private_api.h"
6
7 #include <string>
8
9 #include "base/values.h"
10 #include "grit/ui_resources.h"
11 #include "ui/webui/web_ui_util.h"
12
13 namespace extensions {
14
15 IdentityPrivateGetResourcesFunction::IdentityPrivateGetResourcesFunction() {}
16
17 IdentityPrivateGetResourcesFunction::~IdentityPrivateGetResourcesFunction() {}
18
19 bool IdentityPrivateGetResourcesFunction::RunImpl() {
20 DictionaryValue* result = new DictionaryValue;
21
22 result->SetString("IDR_CLOSE_DIALOG",
23 webui::GetBitmapDataUrlFromResource(IDR_CLOSE_DIALOG));
24 result->SetString("IDR_CLOSE_DIALOG_H",
25 webui::GetBitmapDataUrlFromResource(IDR_CLOSE_DIALOG_H));
26 result->SetString("IDR_CLOSE_DIALOG_P",
27 webui::GetBitmapDataUrlFromResource(IDR_CLOSE_DIALOG_P));
28
29 SetResult(result);
30 return true;
31 }
32
33 } // extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/identity_private/identity_private_api.h ('k') | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698