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

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. 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 virtual const std::string& GetContentsMimeType() const OVERRIDE; 271 virtual const std::string& GetContentsMimeType() const OVERRIDE;
272 virtual bool WillNotifyDisconnection() const OVERRIDE; 272 virtual bool WillNotifyDisconnection() const OVERRIDE;
273 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; 273 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE;
274 virtual void ResetOverrideEncoding() OVERRIDE; 274 virtual void ResetOverrideEncoding() OVERRIDE;
275 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; 275 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE;
276 virtual void Close() OVERRIDE; 276 virtual void Close() OVERRIDE;
277 virtual void SystemDragEnded() OVERRIDE; 277 virtual void SystemDragEnded() OVERRIDE;
278 virtual void UserGestureDone() OVERRIDE; 278 virtual void UserGestureDone() OVERRIDE;
279 virtual void SetClosedByUserGesture(bool value) OVERRIDE; 279 virtual void SetClosedByUserGesture(bool value) OVERRIDE;
280 virtual bool GetClosedByUserGesture() const OVERRIDE; 280 virtual bool GetClosedByUserGesture() const OVERRIDE;
281 virtual int GetZoomPercent(bool* enable_increment,
282 bool* enable_decrement) const OVERRIDE;
283 virtual void ViewSource() OVERRIDE; 281 virtual void ViewSource() OVERRIDE;
284 virtual void ViewFrameSource(const GURL& url, 282 virtual void ViewFrameSource(const GURL& url,
285 const PageState& page_state) OVERRIDE; 283 const PageState& page_state) OVERRIDE;
286 virtual int GetMinimumZoomPercent() const OVERRIDE; 284 virtual int GetMinimumZoomPercent() const OVERRIDE;
287 virtual int GetMaximumZoomPercent() const OVERRIDE; 285 virtual int GetMaximumZoomPercent() const OVERRIDE;
288 virtual gfx::Size GetPreferredSize() const OVERRIDE; 286 virtual gfx::Size GetPreferredSize() const OVERRIDE;
289 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; 287 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE;
290 virtual bool HasOpener() const OVERRIDE; 288 virtual bool HasOpener() const OVERRIDE;
291 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; 289 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE;
292 virtual void DidEndColorChooser() OVERRIDE; 290 virtual void DidEndColorChooser() OVERRIDE;
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; 1131 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_;
1134 1132
1135 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; 1133 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_;
1136 1134
1137 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1135 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1138 }; 1136 };
1139 1137
1140 } // namespace content 1138 } // namespace content
1141 1139
1142 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1140 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698