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

Side by Side Diff: chrome/browser/intents/register_intent_handler_infobar_delegate.h

Issue 7980063: Moved web_intent_service_data into webkit/glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review nit Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "chrome/browser/intents/web_intent_service_data.h"
12 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" 11 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
12 #include "webkit/glue/web_intent_service_data.h"
13 13
14 class Profile; 14 class Profile;
15 class TabContents; 15 class TabContents;
16 16
17 // The InfoBar used to request permission for a site to be registered as an 17 // The InfoBar used to request permission for a site to be registered as an
18 // Intent handler. 18 // Intent handler.
19 class RegisterIntentHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { 19 class RegisterIntentHandlerInfoBarDelegate : public ConfirmInfoBarDelegate {
20 public: 20 public:
21 RegisterIntentHandlerInfoBarDelegate(TabContents* tab_contents, 21 RegisterIntentHandlerInfoBarDelegate(TabContents* tab_contents,
22 const WebIntentServiceData& service); 22 const WebIntentServiceData& service);
(...skipping 13 matching lines...) Expand all
36 // The profile associated with |tab_contents_|. Weak pointer. 36 // The profile associated with |tab_contents_|. Weak pointer.
37 Profile* profile_; 37 Profile* profile_;
38 38
39 // The cached intent data bundle passed up from the renderer. 39 // The cached intent data bundle passed up from the renderer.
40 WebIntentServiceData service_; 40 WebIntentServiceData service_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(RegisterIntentHandlerInfoBarDelegate); 42 DISALLOW_COPY_AND_ASSIGN(RegisterIntentHandlerInfoBarDelegate);
43 }; 43 };
44 44
45 #endif // CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ 45 #endif // CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698