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

Unified Diff: chrome/browser/extensions/extension_tabs_module.h

Issue 173556: Implement script API:executeScript (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_tabs_module.h
===================================================================
--- chrome/browser/extensions/extension_tabs_module.h (revision 26435)
+++ chrome/browser/extensions/extension_tabs_module.h (working copy)
@@ -39,6 +39,8 @@
static DictionaryValue* CreateWindowValue(const Browser* browser,
bool populate_tabs);
+ static bool GetDefaultTab(Browser* browser, TabContents** contents,
+ int* tab_id);
// Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may
// be NULL and will not be set within the function.
static bool GetTabById(int tab_id, Profile* profile, Browser** browser,
@@ -94,9 +96,9 @@
};
class DetectTabLanguageFunction : public AsyncExtensionFunction,
public NotificationObserver {
+ private:
virtual bool RunImpl();
- private:
virtual void Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details);
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_tabs_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698