Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: content/public/renderer/render_frame.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/public/renderer/media_stream_video_sink.h ('k') | content/public/renderer/render_frame_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698