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

Unified 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, 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
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/introducer_handler.h
===================================================================
--- chrome/browser/tab_contents/introducer_handler.h (revision 0)
+++ chrome/browser/tab_contents/introducer_handler.h (revision 0)
@@ -0,0 +1,39 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
+#define CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
+#pragma once
+
+#include <map>
+
+#include "base/basictypes.h"
+
+class ContextMenuParams;
+class PrefService;
+class Profile;
+class TabContents;
+class TabContentsObserver;
+namespace ui {
+class SimpleMenuModel;
+}
+
+class IntroducerService {
+ public:
+ static TabContentsObserver* Make(TabContents* tab);
+ static void RegisterUserPrefs(PrefService* user_prefs);
+ static bool InitMenu(
+ TabContents* tab, Profile* profile, const ContextMenuParams& params,
+ std::map< int, std::pair<std::string,std::string> >* commands,
+ ui::SimpleMenuModel* menu);
+ static bool Introduce(
+ TabContents* tab, Profile* profile, const ContextMenuParams& params,
+ const std::pair<std::string,std::string>& selection);
+ static void Dismiss(TabContents* tab, int request_id);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(IntroducerService);
+};
+
+#endif // CHROME_BROWSER_TAB_CONTENTS_INTRODUCER_HANDLER_H_
Property changes on: chrome/browser/tab_contents/introducer_handler.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« 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