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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 118420: Adds kind-of-live thumbnail generation for a potential tab switcher. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/browser.vcproj ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.h
===================================================================
--- chrome/browser/browser_process_impl.h (revision 17971)
+++ chrome/browser/browser_process_impl.h (working copy)
@@ -18,6 +18,7 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/automation/automation_provider_list.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/tab_contents/thumbnail_generator.h"
#if defined(OS_WIN)
#include "sandbox/src/sandbox.h"
@@ -270,6 +271,16 @@
bool checked_for_new_frames_;
bool using_new_frames_;
+#if defined(LINUX2)
+ // TODO(brettw) enable this for all builds when we have a need for it. This
+ // component has some overhead, so we don't want to have it running without
+ // any consumers. Since it integrates by listening to notifications, it's
+ // sufficient to just not instatiate it to make it disabled.
+
+ // This service just sits around and makes thumanails for tabs.
+ ThumbnailGenerator thumbnail_generator_;
+#endif
+
// An event that notifies when we are shutting-down.
scoped_ptr<base::WaitableEvent> shutdown_event_;
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698