| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 virtual void DesktopNotificationPostDisplay(int callback_context) OVERRIDE; | 148 virtual void DesktopNotificationPostDisplay(int callback_context) OVERRIDE; |
| 149 virtual void DesktopNotificationPostError(int notification_id, | 149 virtual void DesktopNotificationPostError(int notification_id, |
| 150 const string16& message) OVERRIDE; | 150 const string16& message) OVERRIDE; |
| 151 virtual void DesktopNotificationPostClose(int notification_id, | 151 virtual void DesktopNotificationPostClose(int notification_id, |
| 152 bool by_user) OVERRIDE; | 152 bool by_user) OVERRIDE; |
| 153 virtual void DesktopNotificationPostClick(int notification_id) OVERRIDE; | 153 virtual void DesktopNotificationPostClick(int notification_id) OVERRIDE; |
| 154 virtual void DirectoryEnumerationFinished( | 154 virtual void DirectoryEnumerationFinished( |
| 155 int request_id, | 155 int request_id, |
| 156 const std::vector<FilePath>& files) OVERRIDE; | 156 const std::vector<FilePath>& files) OVERRIDE; |
| 157 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE; | 157 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE; |
| 158 virtual int DocumentHasImages() OVERRIDE; |
| 158 virtual void DragSourceEndedAt( | 159 virtual void DragSourceEndedAt( |
| 159 int client_x, int client_y, int screen_x, int screen_y, | 160 int client_x, int client_y, int screen_x, int screen_y, |
| 160 WebKit::WebDragOperation operation) OVERRIDE; | 161 WebKit::WebDragOperation operation) OVERRIDE; |
| 161 virtual void DragSourceMovedTo( | 162 virtual void DragSourceMovedTo( |
| 162 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; | 163 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; |
| 163 virtual void DragSourceSystemDragEnded() OVERRIDE; | 164 virtual void DragSourceSystemDragEnded() OVERRIDE; |
| 164 virtual void DragTargetDragEnter( | 165 virtual void DragTargetDragEnter( |
| 165 const WebDropData& drop_data, | 166 const WebDropData& drop_data, |
| 166 const gfx::Point& client_pt, | 167 const gfx::Point& client_pt, |
| 167 const gfx::Point& screen_pt, | 168 const gfx::Point& screen_pt, |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 bool has_audio, | 540 bool has_audio, |
| 540 bool is_playing); | 541 bool is_playing); |
| 541 void OnRequestDesktopNotificationPermission(const GURL& origin, | 542 void OnRequestDesktopNotificationPermission(const GURL& origin, |
| 542 int callback_id); | 543 int callback_id); |
| 543 void OnShowDesktopNotification( | 544 void OnShowDesktopNotification( |
| 544 const ShowDesktopNotificationHostMsgParams& params); | 545 const ShowDesktopNotificationHostMsgParams& params); |
| 545 void OnCancelDesktopNotification(int notification_id); | 546 void OnCancelDesktopNotification(int notification_id); |
| 546 void OnRunFileChooser(const FileChooserParams& params); | 547 void OnRunFileChooser(const FileChooserParams& params); |
| 547 void OnDomOperationResponse(const std::string& json_string, | 548 void OnDomOperationResponse(const std::string& json_string, |
| 548 int automation_id); | 549 int automation_id); |
| 550 void OnDocumentHasImagesResponse(int id, bool has_images); |
| 551 |
| 549 | 552 |
| 550 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 553 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 551 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 554 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
| 552 #endif | 555 #endif |
| 553 | 556 |
| 554 private: | 557 private: |
| 555 friend class TestRenderViewHost; | 558 friend class TestRenderViewHost; |
| 556 | 559 |
| 557 // Sets whether this RenderViewHost is swapped out in favor of another, | 560 // Sets whether this RenderViewHost is swapped out in favor of another, |
| 558 // and clears any waiting state that is no longer relevant. | 561 // and clears any waiting state that is no longer relevant. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 660 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 658 }; | 661 }; |
| 659 | 662 |
| 660 #if defined(COMPILER_MSVC) | 663 #if defined(COMPILER_MSVC) |
| 661 #pragma warning(pop) | 664 #pragma warning(pop) |
| 662 #endif | 665 #endif |
| 663 | 666 |
| 664 } // namespace content | 667 } // namespace content |
| 665 | 668 |
| 666 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 669 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |