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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 301733006: Zoom Extension API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments: move ZoomObserver registration to TabsEventRouter. 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 virtual const std::string& GetContentsMimeType() const OVERRIDE; 276 virtual const std::string& GetContentsMimeType() const OVERRIDE;
277 virtual bool WillNotifyDisconnection() const OVERRIDE; 277 virtual bool WillNotifyDisconnection() const OVERRIDE;
278 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; 278 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE;
279 virtual void ResetOverrideEncoding() OVERRIDE; 279 virtual void ResetOverrideEncoding() OVERRIDE;
280 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; 280 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE;
281 virtual void Close() OVERRIDE; 281 virtual void Close() OVERRIDE;
282 virtual void SystemDragEnded() OVERRIDE; 282 virtual void SystemDragEnded() OVERRIDE;
283 virtual void UserGestureDone() OVERRIDE; 283 virtual void UserGestureDone() OVERRIDE;
284 virtual void SetClosedByUserGesture(bool value) OVERRIDE; 284 virtual void SetClosedByUserGesture(bool value) OVERRIDE;
285 virtual bool GetClosedByUserGesture() const OVERRIDE; 285 virtual bool GetClosedByUserGesture() const OVERRIDE;
286 virtual int GetZoomPercent(bool* enable_increment,
287 bool* enable_decrement) const OVERRIDE;
288 virtual void ViewSource() OVERRIDE; 286 virtual void ViewSource() OVERRIDE;
289 virtual void ViewFrameSource(const GURL& url, 287 virtual void ViewFrameSource(const GURL& url,
290 const PageState& page_state) OVERRIDE; 288 const PageState& page_state) OVERRIDE;
291 virtual int GetMinimumZoomPercent() const OVERRIDE; 289 virtual int GetMinimumZoomPercent() const OVERRIDE;
292 virtual int GetMaximumZoomPercent() const OVERRIDE; 290 virtual int GetMaximumZoomPercent() const OVERRIDE;
293 virtual gfx::Size GetPreferredSize() const OVERRIDE; 291 virtual gfx::Size GetPreferredSize() const OVERRIDE;
294 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; 292 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE;
295 virtual bool HasOpener() const OVERRIDE; 293 virtual bool HasOpener() const OVERRIDE;
296 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; 294 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE;
297 virtual void DidEndColorChooser() OVERRIDE; 295 virtual void DidEndColorChooser() OVERRIDE;
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 1152
1155 scoped_ptr<ScreenOrientationDispatcherHost> 1153 scoped_ptr<ScreenOrientationDispatcherHost>
1156 screen_orientation_dispatcher_host_; 1154 screen_orientation_dispatcher_host_;
1157 1155
1158 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1156 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1159 }; 1157 };
1160 1158
1161 } // namespace content 1159 } // namespace content
1162 1160
1163 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1161 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698