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_EDITCOMMAND_HE
LPER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_EDITCOMMAND_HE
LPER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_EDITCOMMAND_HE
LPER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_EDITCOMMAND_HE
LPER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "content/browser/renderer_host/render_widget_host_view_mac.h" | 13 #include "content/browser/renderer_host/render_widget_host_view_mac.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 // This class mimics the behavior of WebKit's WebView class in a way that makes | 17 // This class mimics the behavior of WebKit's WebView class in a way that makes |
18 // sense for Chrome. | 18 // sense for Chrome. |
19 // | 19 // |
20 // WebCore has the concept of "core commands", basically named actions such as | 20 // WebCore has the concept of "core commands", basically named actions such as |
21 // "Select All" and "Move Cursor Left". The commands are executed using their | 21 // "Select All" and "Move Cursor Left". The commands are executed using their |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 NSArray* GetEditSelectorNames(); | 64 NSArray* GetEditSelectorNames(); |
65 | 65 |
66 private: | 66 private: |
67 base::hash_set<std::string> edit_command_set_; | 67 base::hash_set<std::string> edit_command_set_; |
68 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMacEditCommandHelper); | 68 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMacEditCommandHelper); |
69 }; | 69 }; |
70 | 70 |
71 } // namespace content | 71 } // namespace content |
72 | 72 |
73 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_EDITCOMMAND
_HELPER_H_ | 73 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_EDITCOMMAND
_HELPER_H_ |
OLD | NEW |