BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / ui / message_center / views / message_view_context_menu_controller.h
blobce30ebb5513570ee2214204c43877fe364a5e16e
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.
5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_CONTEXT_MENU_CONTROLLER_H_
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_CONTEXT_MENU_CONTROLLER_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/views/context_menu_controller.h"
12 namespace message_center {
13 class MessageCenterController;
15 class MessageViewContextMenuController : public views::ContextMenuController {
16 public:
17 explicit MessageViewContextMenuController(
18 MessageCenterController* controller);
19 ~MessageViewContextMenuController() override;
21 private:
22 // Overridden from views::ContextMenuController:
23 void ShowContextMenuForView(views::View* source,
24 const gfx::Point& point,
25 ui::MenuSourceType source_type) override;
27 MessageCenterController* controller_;
29 DISALLOW_COPY_AND_ASSIGN(MessageViewContextMenuController);
32 } // namespace message_center
34 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_CONTEXT_MENU_CONTROLLER_H_