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 #pragma once | |
8 | 7 |
9 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
13 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
14 #include "content/browser/renderer_host/render_widget_host_view_mac.h" | 13 #include "content/browser/renderer_host/render_widget_host_view_mac.h" |
15 | 14 |
16 // This class mimics the behavior of WebKit's WebView class in a way that makes | 15 // This class mimics the behavior of WebKit's WebView class in a way that makes |
17 // sense for Chrome. | 16 // sense for Chrome. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // the aforementioned class. | 60 // the aforementioned class. |
62 // returns an array of NSStrings WITHOUT the trailing ':'s. | 61 // returns an array of NSStrings WITHOUT the trailing ':'s. |
63 NSArray* GetEditSelectorNames(); | 62 NSArray* GetEditSelectorNames(); |
64 | 63 |
65 private: | 64 private: |
66 base::hash_set<std::string> edit_command_set_; | 65 base::hash_set<std::string> edit_command_set_; |
67 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMacEditCommandHelper); | 66 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMacEditCommandHelper); |
68 }; | 67 }; |
69 | 68 |
70 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_EDITCOMMAND
_HELPER_H_ | 69 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_EDITCOMMAND
_HELPER_H_ |
OLD | NEW |