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

Unified Diff: chrome/browser/dom_ui/new_tab_ui.h

Issue 3477001: Add pyauto hook for getting and manipulating the data underneath the NTP.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/new_tab_ui.h
===================================================================
--- chrome/browser/dom_ui/new_tab_ui.h (revision 61074)
+++ chrome/browser/dom_ui/new_tab_ui.h (working copy)
@@ -11,6 +11,7 @@
#include "base/gtest_prod_util.h"
#include "chrome/browser/dom_ui/dom_ui.h"
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
+#include "chrome/browser/sessions/tab_restore_service.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
@@ -48,6 +49,12 @@
const string16& title,
const GURL& gurl);
+ // Converts a list of TabRestoreService entries to the JSON format required
+ // by the NTP and adds them to the given list value.
+ static void AddRecentlyClosedEntries(
+ const TabRestoreService::Entries& entries,
+ ListValue* entry_list_value);
+
// The current preference version.
static int current_pref_version() { return current_pref_version_; }
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698