| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 SkColor GetThemeColor() const override; | 239 SkColor GetThemeColor() const override; |
| 240 WebUI* CreateWebUI(const GURL& url) override; | 240 WebUI* CreateWebUI(const GURL& url) override; |
| 241 WebUI* GetWebUI() const override; | 241 WebUI* GetWebUI() const override; |
| 242 WebUI* GetCommittedWebUI() const override; | 242 WebUI* GetCommittedWebUI() const override; |
| 243 void SetUserAgentOverride(const std::string& override) override; | 243 void SetUserAgentOverride(const std::string& override) override; |
| 244 const std::string& GetUserAgentOverride() const override; | 244 const std::string& GetUserAgentOverride() const override; |
| 245 void EnableTreeOnlyAccessibilityMode() override; | 245 void EnableTreeOnlyAccessibilityMode() override; |
| 246 bool IsTreeOnlyAccessibilityModeForTesting() const override; | 246 bool IsTreeOnlyAccessibilityModeForTesting() const override; |
| 247 bool IsFullAccessibilityModeForTesting() const override; | 247 bool IsFullAccessibilityModeForTesting() const override; |
| 248 #if defined(OS_WIN) | 248 #if defined(OS_WIN) |
| 249 virtual void SetParentNativeViewAccessible( | 249 void SetParentNativeViewAccessible( |
| 250 gfx::NativeViewAccessible accessible_parent) override; | 250 gfx::NativeViewAccessible accessible_parent) override; |
| 251 #endif | 251 #endif |
| 252 const base::string16& GetTitle() const override; | 252 const base::string16& GetTitle() const override; |
| 253 int32 GetMaxPageID() override; | 253 int32 GetMaxPageID() override; |
| 254 int32 GetMaxPageIDForSiteInstance(SiteInstance* site_instance) override; | 254 int32 GetMaxPageIDForSiteInstance(SiteInstance* site_instance) override; |
| 255 SiteInstanceImpl* GetSiteInstance() const override; | 255 SiteInstanceImpl* GetSiteInstance() const override; |
| 256 SiteInstanceImpl* GetPendingSiteInstance() const override; | 256 SiteInstanceImpl* GetPendingSiteInstance() const override; |
| 257 bool IsLoading() const override; | 257 bool IsLoading() const override; |
| 258 bool IsLoadingToDifferentDocument() const override; | 258 bool IsLoadingToDifferentDocument() const override; |
| 259 bool IsWaitingForResponse() const override; | 259 bool IsWaitingForResponse() const override; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 #if defined(OS_WIN) | 424 #if defined(OS_WIN) |
| 425 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; | 425 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; |
| 426 #endif | 426 #endif |
| 427 | 427 |
| 428 // RenderViewHostDelegate ---------------------------------------------------- | 428 // RenderViewHostDelegate ---------------------------------------------------- |
| 429 RenderViewHostDelegateView* GetDelegateView() override; | 429 RenderViewHostDelegateView* GetDelegateView() override; |
| 430 bool OnMessageReceived(RenderViewHost* render_view_host, | 430 bool OnMessageReceived(RenderViewHost* render_view_host, |
| 431 const IPC::Message& message) override; | 431 const IPC::Message& message) override; |
| 432 // RenderFrameHostDelegate has the same method, so list it there because this | 432 // RenderFrameHostDelegate has the same method, so list it there because this |
| 433 // interface is going away. | 433 // interface is going away. |
| 434 // virtual WebContents* GetAsWebContents() override; | 434 // WebContents* GetAsWebContents() override; |
| 435 gfx::Rect GetRootWindowResizerRect() const override; | 435 gfx::Rect GetRootWindowResizerRect() const override; |
| 436 void RenderViewCreated(RenderViewHost* render_view_host) override; | 436 void RenderViewCreated(RenderViewHost* render_view_host) override; |
| 437 void RenderViewReady(RenderViewHost* render_view_host) override; | 437 void RenderViewReady(RenderViewHost* render_view_host) override; |
| 438 void RenderViewTerminated(RenderViewHost* render_view_host, | 438 void RenderViewTerminated(RenderViewHost* render_view_host, |
| 439 base::TerminationStatus status, | 439 base::TerminationStatus status, |
| 440 int error_code) override; | 440 int error_code) override; |
| 441 void RenderViewDeleted(RenderViewHost* render_view_host) override; | 441 void RenderViewDeleted(RenderViewHost* render_view_host) override; |
| 442 void UpdateState(RenderViewHost* render_view_host, | 442 void UpdateState(RenderViewHost* render_view_host, |
| 443 int32 page_id, | 443 int32 page_id, |
| 444 const PageState& page_state) override; | 444 const PageState& page_state) override; |
| (...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1282 // Adds/removes a callback called on creation of each new WebContents. | 1282 // Adds/removes a callback called on creation of each new WebContents. |
| 1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1285 | 1285 |
| 1286 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1286 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1287 }; | 1287 }; |
| 1288 | 1288 |
| 1289 } // namespace content | 1289 } // namespace content |
| 1290 | 1290 |
| 1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |