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

Side by Side Diff: chrome/browser/ui/gtk/dock_service.cc

Issue 6903017: GTK: Add download notifications to the unity dock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/launcher/dock/; 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 unified diff | Download patch | Annotate | Revision Log
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 #include "chrome/browser/ui/gtk/dock_service.h"
6
7 #include "base/scoped_ptr.h"
8 #include "chrome/browser/ui/gtk/unity_dock_service.h"
9
10 namespace {
11
12 bool tried_ = false;
13
14 } // namespace
15
16 // static
17 DockService* DockService::GetService() {
18 static scoped_ptr<DockService> dock;
19 if (!tried_) {
20 // For now, we only try to build the unity dock service.
21 dock.reset(UnityDockService::Build());
Evan Martin 2011/04/26 00:33:52 Are there other dock services that you intend to s
Elliot Glaysher 2011/04/26 01:02:39 I would like (if I can figure out DBUS) to support
22
23 tried_ = true;
24 }
25
26 return dock.get();
27 }
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698