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

Side by Side Diff: chrome/browser/tab_contents/introducer_handler.h

Issue 6880275: Web Introducer overview Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
7 #pragma once
8
9 #include <map>
10
11 #include "base/basictypes.h"
12
13 class ContextMenuParams;
14 class PrefService;
15 class Profile;
16 class TabContents;
17 class TabContentsObserver;
18 namespace ui {
19 class SimpleMenuModel;
20 }
21
22 class IntroducerService {
23 public:
24 static TabContentsObserver* Make(TabContents* tab);
25 static void RegisterUserPrefs(PrefService* user_prefs);
26 static bool InitMenu(
27 TabContents* tab, Profile* profile, const ContextMenuParams& params,
28 std::map< int, std::pair<std::string,std::string> >* commands,
29 ui::SimpleMenuModel* menu);
30 static bool Introduce(
31 TabContents* tab, Profile* profile, const ContextMenuParams& params,
32 const std::pair<std::string,std::string>& selection);
33 static void Dismiss(TabContents* tab, int request_id);
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(IntroducerService);
37 };
38
39 #endif // CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/tab_contents/introducer_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698