OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DICTIONARY_HEL
PER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DICTIONARY_HEL
PER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DICTIONARY_HEL
PER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DICTIONARY_HEL
PER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "ui/gfx/vector2d.h" | 9 #include "ui/gfx/geometry/vector2d.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 class RenderWidgetHostView; | 13 class RenderWidgetHostView; |
14 class RenderWidgetHostViewMac; | 14 class RenderWidgetHostViewMac; |
15 | 15 |
16 // A helper class to bring up definition of word for a RWHV. | 16 // A helper class to bring up definition of word for a RWHV. |
17 // | 17 // |
18 // This is triggered by "Lookup in Dictionary" context menu item. | 18 // This is triggered by "Lookup in Dictionary" context menu item. |
19 // Either uses Dictionary.app or a light-weight dictionary panel, based on | 19 // Either uses Dictionary.app or a light-weight dictionary panel, based on |
(...skipping 21 matching lines...) Expand all Loading... |
41 RenderWidgetHostViewMac* target_view_; | 41 RenderWidgetHostViewMac* target_view_; |
42 // The extra offset to use while positioning the dicitonary panel. | 42 // The extra offset to use while positioning the dicitonary panel. |
43 gfx::Vector2d offset_; | 43 gfx::Vector2d offset_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMacDictionaryHelper); | 45 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMacDictionaryHelper); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace content | 48 } // namespace content |
49 | 49 |
50 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DICTIONARY_
HELPER_H_ | 50 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DICTIONARY_
HELPER_H_ |
OLD | NEW |