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_PUBLIC_RENDERER_RENDER_FRAME_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ |
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "ipc/ipc_listener.h" | 10 #include "ipc/ipc_listener.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 virtual void SetSelectedText(const base::string16& selection_text, | 113 virtual void SetSelectedText(const base::string16& selection_text, |
114 size_t offset, | 114 size_t offset, |
115 const gfx::Range& range) = 0; | 115 const gfx::Range& range) = 0; |
116 | 116 |
117 // Ensures that builtin mojo bindings modules are available in |context|. | 117 // Ensures that builtin mojo bindings modules are available in |context|. |
118 virtual void EnsureMojoBuiltinsAreAvailable( | 118 virtual void EnsureMojoBuiltinsAreAvailable( |
119 v8::Isolate* isolate, | 119 v8::Isolate* isolate, |
120 v8::Handle<v8::Context> context) = 0; | 120 v8::Handle<v8::Context> context) = 0; |
121 | 121 |
122 protected: | 122 protected: |
123 virtual ~RenderFrame() {} | 123 ~RenderFrame() override {} |
124 | 124 |
125 private: | 125 private: |
126 // This interface should only be implemented inside content. | 126 // This interface should only be implemented inside content. |
127 friend class RenderFrameImpl; | 127 friend class RenderFrameImpl; |
128 RenderFrame() {} | 128 RenderFrame() {} |
129 }; | 129 }; |
130 | 130 |
131 } // namespace content | 131 } // namespace content |
132 | 132 |
133 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ | 133 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ |
OLD | NEW |