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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.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_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // ButtonListener: 234 // ButtonListener:
235 virtual void ButtonPressed(views::Button* sender, 235 virtual void ButtonPressed(views::Button* sender,
236 const views::Event& event) OVERRIDE; 236 const views::Event& event) OVERRIDE;
237 237
238 // ContextMenuController 238 // ContextMenuController
239 virtual void ShowContextMenuForView(views::View* source, 239 virtual void ShowContextMenuForView(views::View* source,
240 const gfx::Point& p, 240 const gfx::Point& p,
241 bool is_mouse_gesture) OVERRIDE; 241 bool is_mouse_gesture) OVERRIDE;
242 242
243 // NotificationService: 243 // NotificationService:
244 virtual void Observe(NotificationType type, 244 virtual void Observe(int type,
245 const NotificationSource& source, 245 const NotificationSource& source,
246 const NotificationDetails& details) OVERRIDE; 246 const NotificationDetails& details) OVERRIDE;
247 247
248 // If true we're running tests. This short circuits a couple of animations. 248 // If true we're running tests. This short circuits a couple of animations.
249 static bool testing_; 249 static bool testing_;
250 250
251 private: 251 private:
252 class ButtonSeparatorView; 252 class ButtonSeparatorView;
253 struct DropInfo; 253 struct DropInfo;
254 struct DropLocation; 254 struct DropLocation;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 421
422 BookmarkBar::State bookmark_bar_state_; 422 BookmarkBar::State bookmark_bar_state_;
423 423
424 // Are we animating to or from the detached state? 424 // Are we animating to or from the detached state?
425 bool animating_detached_; 425 bool animating_detached_;
426 426
427 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 427 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
428 }; 428 };
429 429
430 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 430 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698