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

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

Issue 302603012: Zoom Extension API (content changes) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove exceptions from IPC. Created 6 years, 6 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 | Annotate | Revision Log
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
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 virtual bool UsesTemporaryZoomLevel() const = 0;
Fady Samuel 2014/06/10 20:05:14 Is there a need to expose this to the content API?
wjmaclean 2014/06/10 20:18:55 See comment in render_view_impl.h
131
130 protected: 132 protected:
131 virtual ~RenderView() {} 133 virtual ~RenderView() {}
132 134
133 private: 135 private:
134 // This interface should only be implemented inside content. 136 // This interface should only be implemented inside content.
135 friend class RenderViewImpl; 137 friend class RenderViewImpl;
136 RenderView() {} 138 RenderView() {}
137 }; 139 };
138 140
139 } // namespace content 141 } // namespace content
140 142
141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 143 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698