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

Side by Side Diff: ash/launcher/launcher_model.cc

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/launcher/launcher_model.h" 5 #include "ash/launcher/launcher_model.h"
6 6
7 #include "ui/aura/window.h" 7 #include "ui/aura/window.h"
8 #include "ash/launcher/launcher_model_observer.h" 8 #include "ash/launcher/launcher_model_observer.h"
9 9
10 namespace aura_shell { 10 namespace ash {
11 11
12 LauncherModel::LauncherModel() { 12 LauncherModel::LauncherModel() {
13 } 13 }
14 14
15 LauncherModel::~LauncherModel() { 15 LauncherModel::~LauncherModel() {
16 } 16 }
17 17
18 void LauncherModel::Add(int index, const LauncherItem& item) { 18 void LauncherModel::Add(int index, const LauncherItem& item) {
19 DCHECK(index >= 0 && index <= item_count()); 19 DCHECK(index >= 0 && index <= item_count());
20 items_.insert(items_.begin() + index, item); 20 items_.insert(items_.begin() + index, item);
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 78
79 void LauncherModel::AddObserver(LauncherModelObserver* observer) { 79 void LauncherModel::AddObserver(LauncherModelObserver* observer) {
80 observers_.AddObserver(observer); 80 observers_.AddObserver(observer);
81 } 81 }
82 82
83 void LauncherModel::RemoveObserver(LauncherModelObserver* observer) { 83 void LauncherModel::RemoveObserver(LauncherModelObserver* observer) {
84 observers_.RemoveObserver(observer); 84 observers_.RemoveObserver(observer);
85 } 85 }
86 86
87 } // namespace aura_shell 87 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698