| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 const IPC::Message& message) override; | 506 const IPC::Message& message) override; |
| 507 // RenderFrameHostDelegate has the same method, so list it there because this | 507 // RenderFrameHostDelegate has the same method, so list it there because this |
| 508 // interface is going away. | 508 // interface is going away. |
| 509 // WebContents* GetAsWebContents() override; | 509 // WebContents* GetAsWebContents() override; |
| 510 void RenderViewCreated(RenderViewHost* render_view_host) override; | 510 void RenderViewCreated(RenderViewHost* render_view_host) override; |
| 511 void RenderViewReady(RenderViewHost* render_view_host) override; | 511 void RenderViewReady(RenderViewHost* render_view_host) override; |
| 512 void RenderViewTerminated(RenderViewHost* render_view_host, | 512 void RenderViewTerminated(RenderViewHost* render_view_host, |
| 513 base::TerminationStatus status, | 513 base::TerminationStatus status, |
| 514 int error_code) override; | 514 int error_code) override; |
| 515 void RenderViewDeleted(RenderViewHost* render_view_host) override; | 515 void RenderViewDeleted(RenderViewHost* render_view_host) override; |
| 516 void UpdateState(RenderViewHost* render_view_host, | |
| 517 const PageState& page_state) override; | |
| 518 void UpdateTargetURL(RenderViewHost* render_view_host, | 516 void UpdateTargetURL(RenderViewHost* render_view_host, |
| 519 const GURL& url) override; | 517 const GURL& url) override; |
| 520 void Close(RenderViewHost* render_view_host) override; | 518 void Close(RenderViewHost* render_view_host) override; |
| 521 void RequestMove(const gfx::Rect& new_bounds) override; | 519 void RequestMove(const gfx::Rect& new_bounds) override; |
| 522 void DidCancelLoading() override; | 520 void DidCancelLoading() override; |
| 523 void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) override; | 521 void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) override; |
| 524 void RouteCloseEvent(RenderViewHost* rvh) override; | 522 void RouteCloseEvent(RenderViewHost* rvh) override; |
| 525 bool DidAddMessageToConsole(int32_t level, | 523 bool DidAddMessageToConsole(int32_t level, |
| 526 const base::string16& message, | 524 const base::string16& message, |
| 527 int32_t line_no, | 525 int32_t line_no, |
| (...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1514 // Adds/removes a callback called on creation of each new WebContents. | 1512 // Adds/removes a callback called on creation of each new WebContents. |
| 1515 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1513 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1516 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1514 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1517 | 1515 |
| 1518 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1516 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1519 }; | 1517 }; |
| 1520 | 1518 |
| 1521 } // namespace content | 1519 } // namespace content |
| 1522 | 1520 |
| 1523 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1521 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |