OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // Underline information of the |markedText_|. | 114 // Underline information of the |markedText_|. |
115 std::vector<WebKit::WebCompositionUnderline> underlines_; | 115 std::vector<WebKit::WebCompositionUnderline> underlines_; |
116 | 116 |
117 // Indicates if doCommandBySelector method receives any edit command when | 117 // Indicates if doCommandBySelector method receives any edit command when |
118 // handling a key down event. | 118 // handling a key down event. |
119 BOOL hasEditCommands_; | 119 BOOL hasEditCommands_; |
120 | 120 |
121 // Contains edit commands received by the -doCommandBySelector: method when | 121 // Contains edit commands received by the -doCommandBySelector: method when |
122 // handling a key down event, not including inserting commands, eg. insertTab, | 122 // handling a key down event, not including inserting commands, eg. insertTab, |
123 // etc. | 123 // etc. |
124 EditCommands editCommands_; | 124 content::EditCommands editCommands_; |
125 | 125 |
126 // The plugin that currently has focus (-1 if no plugin has focus). | 126 // The plugin that currently has focus (-1 if no plugin has focus). |
127 int focusedPluginIdentifier_; | 127 int focusedPluginIdentifier_; |
128 | 128 |
129 // Whether or not plugin IME is currently enabled active. | 129 // Whether or not plugin IME is currently enabled active. |
130 BOOL pluginImeActive_; | 130 BOOL pluginImeActive_; |
131 | 131 |
132 // Whether the previous mouse event was ignored due to hitTest check. | 132 // Whether the previous mouse event was ignored due to hitTest check. |
133 BOOL mouseEventWasIgnored_; | 133 BOOL mouseEventWasIgnored_; |
134 | 134 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 | 474 |
475 // The current caret bounds. | 475 // The current caret bounds. |
476 gfx::Rect caret_rect_; | 476 gfx::Rect caret_rect_; |
477 | 477 |
478 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 478 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
479 }; | 479 }; |
480 | 480 |
481 } // namespace content | 481 } // namespace content |
482 | 482 |
483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |