| 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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 const ShowDesktopNotificationHostMsgParams& params); | 544 const ShowDesktopNotificationHostMsgParams& params); |
| 545 void OnCancelDesktopNotification(int notification_id); | 545 void OnCancelDesktopNotification(int notification_id); |
| 546 void OnRunFileChooser(const FileChooserParams& params); | 546 void OnRunFileChooser(const FileChooserParams& params); |
| 547 void OnDomOperationResponse(const std::string& json_string, | 547 void OnDomOperationResponse(const std::string& json_string, |
| 548 int automation_id); | 548 int automation_id); |
| 549 | 549 |
| 550 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 550 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 551 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 551 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
| 552 #endif | 552 #endif |
| 553 | 553 |
| 554 #if defined(OS_ANDROID) |
| 555 void OnStartContentIntent(const GURL& content_url); |
| 556 #endif |
| 557 |
| 554 private: | 558 private: |
| 555 friend class TestRenderViewHost; | 559 friend class TestRenderViewHost; |
| 556 | 560 |
| 557 // Sets whether this RenderViewHost is swapped out in favor of another, | 561 // Sets whether this RenderViewHost is swapped out in favor of another, |
| 558 // and clears any waiting state that is no longer relevant. | 562 // and clears any waiting state that is no longer relevant. |
| 559 void SetSwappedOut(bool is_swapped_out); | 563 void SetSwappedOut(bool is_swapped_out); |
| 560 | 564 |
| 561 void ClearPowerSaveBlockers(); | 565 void ClearPowerSaveBlockers(); |
| 562 | 566 |
| 563 // Our delegate, which wants to know about changes in the RenderView. | 567 // Our delegate, which wants to know about changes in the RenderView. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 661 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 658 }; | 662 }; |
| 659 | 663 |
| 660 #if defined(COMPILER_MSVC) | 664 #if defined(COMPILER_MSVC) |
| 661 #pragma warning(pop) | 665 #pragma warning(pop) |
| 662 #endif | 666 #endif |
| 663 | 667 |
| 664 } // namespace content | 668 } // namespace content |
| 665 | 669 |
| 666 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 670 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |