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

Side by Side Diff: ui/message_center/views/message_view_context_menu_controller.h

Issue 114323002: Fixes the context menu for a notification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix2 Created 7 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
(Empty)
1 // Copyright 2013 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 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_CONTEXT_MENU_CONTROLLER_H_
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_CONTEXT_MENU_CONTROLLER_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/views/context_menu_controller.h"
11
12 namespace message_center {
13 class MessageCenterController;
14
15 class MessageViewContextMenuController : public views::ContextMenuController {
16 public:
17 explicit MessageViewContextMenuController(
18 MessageCenterController* controller);
19 virtual ~MessageViewContextMenuController();
20
21 private:
22 // Overridden from views::ContextMenuController:
23 virtual void ShowContextMenuForView(views::View* source,
24 const gfx::Point& point,
25 ui::MenuSourceType source_type) OVERRIDE;
26
27 MessageCenterController* controller_;
28
29 DISALLOW_COPY_AND_ASSIGN(MessageViewContextMenuController);
30 };
31
32 } // namespace message_center
33
34 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_CONTEXT_MENU_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/message_view.cc ('k') | ui/message_center/views/message_view_context_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698