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

Side by Side Diff: chrome/browser/ui/toolbar/wrench_menu_model.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
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 #ifndef CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ 6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 TabContentsWrapper* new_contents, 113 TabContentsWrapper* new_contents,
114 int index, 114 int index,
115 bool user_gesture) OVERRIDE; 115 bool user_gesture) OVERRIDE;
116 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 116 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
117 TabContentsWrapper* old_contents, 117 TabContentsWrapper* old_contents,
118 TabContentsWrapper* new_contents, 118 TabContentsWrapper* new_contents,
119 int index) OVERRIDE; 119 int index) OVERRIDE;
120 virtual void TabStripModelDeleted() OVERRIDE; 120 virtual void TabStripModelDeleted() OVERRIDE;
121 121
122 // Overridden from NotificationObserver: 122 // Overridden from NotificationObserver:
123 virtual void Observe(NotificationType type, 123 virtual void Observe(int type,
124 const NotificationSource& source, 124 const NotificationSource& source,
125 const NotificationDetails& details) OVERRIDE; 125 const NotificationDetails& details) OVERRIDE;
126 126
127 // Getters. 127 // Getters.
128 Browser* browser() const { return browser_; } 128 Browser* browser() const { return browser_; }
129 129
130 // Calculates |zoom_label_| in response to a zoom change. 130 // Calculates |zoom_label_| in response to a zoom change.
131 void UpdateZoomControls(); 131 void UpdateZoomControls();
132 132
133 private: 133 private:
(...skipping 27 matching lines...) Expand all
161 161
162 Browser* browser_; // weak 162 Browser* browser_; // weak
163 TabStripModel* tabstrip_model_; // weak 163 TabStripModel* tabstrip_model_; // weak
164 164
165 NotificationRegistrar registrar_; 165 NotificationRegistrar registrar_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); 167 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel);
168 }; 168 };
169 169
170 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ 170 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents_wrapper.cc ('k') | chrome/browser/ui/toolbar/wrench_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698