| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 #include <vector> | |
| 11 | |
| 12 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 13 #include "chrome/browser/gtk/menu_gtk.h" | 10 #include "chrome/browser/gtk/menu_gtk.h" |
| 14 #include "chrome/browser/tab_contents/render_view_context_menu.h" | 11 #include "chrome/browser/tab_contents/render_view_context_menu.h" |
| 15 #include "gfx/point.h" | 12 #include "gfx/point.h" |
| 16 | 13 |
| 17 struct ContextMenuParams; | 14 struct ContextMenuParams; |
| 18 | 15 |
| 19 class RenderViewContextMenuGtk : public RenderViewContextMenu, | 16 class RenderViewContextMenuGtk : public RenderViewContextMenu, |
| 20 public MenuGtk::Delegate { | 17 public MenuGtk::Delegate { |
| 21 public: | 18 public: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 40 menus::Accelerator* accelerator) { | 37 menus::Accelerator* accelerator) { |
| 41 return false; | 38 return false; |
| 42 } | 39 } |
| 43 | 40 |
| 44 private: | 41 private: |
| 45 scoped_ptr<MenuGtk> menu_gtk_; | 42 scoped_ptr<MenuGtk> menu_gtk_; |
| 46 uint32_t triggering_event_time_; | 43 uint32_t triggering_event_time_; |
| 47 }; | 44 }; |
| 48 | 45 |
| 49 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ | 46 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ |
| OLD | NEW |