OLD | NEW |
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 virtual const std::string& GetContentsMimeType() const OVERRIDE; | 272 virtual const std::string& GetContentsMimeType() const OVERRIDE; |
273 virtual bool WillNotifyDisconnection() const OVERRIDE; | 273 virtual bool WillNotifyDisconnection() const OVERRIDE; |
274 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; | 274 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; |
275 virtual void ResetOverrideEncoding() OVERRIDE; | 275 virtual void ResetOverrideEncoding() OVERRIDE; |
276 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; | 276 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; |
277 virtual void Close() OVERRIDE; | 277 virtual void Close() OVERRIDE; |
278 virtual void SystemDragEnded() OVERRIDE; | 278 virtual void SystemDragEnded() OVERRIDE; |
279 virtual void UserGestureDone() OVERRIDE; | 279 virtual void UserGestureDone() OVERRIDE; |
280 virtual void SetClosedByUserGesture(bool value) OVERRIDE; | 280 virtual void SetClosedByUserGesture(bool value) OVERRIDE; |
281 virtual bool GetClosedByUserGesture() const OVERRIDE; | 281 virtual bool GetClosedByUserGesture() const OVERRIDE; |
282 virtual int GetZoomPercent(bool* enable_increment, | |
283 bool* enable_decrement) const OVERRIDE; | |
284 virtual void ViewSource() OVERRIDE; | 282 virtual void ViewSource() OVERRIDE; |
285 virtual void ViewFrameSource(const GURL& url, | 283 virtual void ViewFrameSource(const GURL& url, |
286 const PageState& page_state) OVERRIDE; | 284 const PageState& page_state) OVERRIDE; |
287 virtual int GetMinimumZoomPercent() const OVERRIDE; | 285 virtual int GetMinimumZoomPercent() const OVERRIDE; |
288 virtual int GetMaximumZoomPercent() const OVERRIDE; | 286 virtual int GetMaximumZoomPercent() const OVERRIDE; |
289 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 287 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
290 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 288 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
291 virtual bool HasOpener() const OVERRIDE; | 289 virtual bool HasOpener() const OVERRIDE; |
292 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; | 290 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; |
293 virtual void DidEndColorChooser() OVERRIDE; | 291 virtual void DidEndColorChooser() OVERRIDE; |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1144 | 1142 |
1145 scoped_ptr<ScreenOrientationDispatcherHost> | 1143 scoped_ptr<ScreenOrientationDispatcherHost> |
1146 screen_orientation_dispatcher_host_; | 1144 screen_orientation_dispatcher_host_; |
1147 | 1145 |
1148 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1146 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1149 }; | 1147 }; |
1150 | 1148 |
1151 } // namespace content | 1149 } // namespace content |
1152 | 1150 |
1153 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1151 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |