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

Side by Side Diff: chrome/browser/ui/views/browser_actions_container.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_BROWSER_ACTIONS_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_ACTIONS_CONTAINER_H_
6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_ACTIONS_CONTAINER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_ACTIONS_CONTAINER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Overridden from views::ButtonListener: 82 // Overridden from views::ButtonListener:
83 virtual void ButtonPressed(views::Button* sender, 83 virtual void ButtonPressed(views::Button* sender,
84 const views::Event& event) OVERRIDE; 84 const views::Event& event) OVERRIDE;
85 85
86 // Overridden from ImageLoadingTracker. 86 // Overridden from ImageLoadingTracker.
87 virtual void OnImageLoaded(SkBitmap* image, 87 virtual void OnImageLoaded(SkBitmap* image,
88 const ExtensionResource& resource, 88 const ExtensionResource& resource,
89 int index) OVERRIDE; 89 int index) OVERRIDE;
90 90
91 // Overridden from NotificationObserver: 91 // Overridden from NotificationObserver:
92 virtual void Observe(NotificationType type, 92 virtual void Observe(int type,
93 const NotificationSource& source, 93 const NotificationSource& source,
94 const NotificationDetails& details) OVERRIDE; 94 const NotificationDetails& details) OVERRIDE;
95 95
96 // MenuButton behavior overrides. These methods all default to TextButton 96 // MenuButton behavior overrides. These methods all default to TextButton
97 // behavior unless this button is a popup. In that case, it uses MenuButton 97 // behavior unless this button is a popup. In that case, it uses MenuButton
98 // behavior. MenuButton has the notion of a child popup being shown where the 98 // behavior. MenuButton has the notion of a child popup being shown where the
99 // button will stay in the pushed state until the "menu" (a popup in this 99 // button will stay in the pushed state until the "menu" (a popup in this
100 // case) is dismissed. 100 // case) is dismissed.
101 virtual bool Activate() OVERRIDE; 101 virtual bool Activate() OVERRIDE;
102 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 102 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 514
515 ScopedRunnableMethodFactory<BrowserActionsContainer> task_factory_; 515 ScopedRunnableMethodFactory<BrowserActionsContainer> task_factory_;
516 516
517 // Handles delayed showing of the overflow menu when hovering. 517 // Handles delayed showing of the overflow menu when hovering.
518 ScopedRunnableMethodFactory<BrowserActionsContainer> show_menu_task_factory_; 518 ScopedRunnableMethodFactory<BrowserActionsContainer> show_menu_task_factory_;
519 519
520 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); 520 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer);
521 }; 521 };
522 522
523 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_ACTIONS_CONTAINER_H_ 523 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_ACTIONS_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc ('k') | chrome/browser/ui/views/browser_actions_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698