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

Side by Side Diff: content/public/renderer/render_view.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
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PUBLIC_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // Returns |renderer_preferences_.accept_languages| value. 121 // Returns |renderer_preferences_.accept_languages| value.
122 virtual const std::string& GetAcceptLanguages() const = 0; 122 virtual const std::string& GetAcceptLanguages() const = 0;
123 123
124 #if defined(OS_ANDROID) 124 #if defined(OS_ANDROID)
125 virtual void UpdateTopControlsState(TopControlsState constraints, 125 virtual void UpdateTopControlsState(TopControlsState constraints,
126 TopControlsState current, 126 TopControlsState current,
127 bool animate) = 0; 127 bool animate) = 0;
128 #endif 128 #endif
129 129
130 protected: 130 protected:
131 virtual ~RenderView() {} 131 ~RenderView() override {}
132 132
133 private: 133 private:
134 // This interface should only be implemented inside content. 134 // This interface should only be implemented inside content.
135 friend class RenderViewImpl; 135 friend class RenderViewImpl;
136 RenderView() {} 136 RenderView() {}
137 }; 137 };
138 138
139 } // namespace content 139 } // namespace content
140 140
141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698