OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 int32 line_no, | 437 int32 line_no, |
438 const std::wstring& source_id); | 438 const std::wstring& source_id); |
439 void OnUpdateInspectorSetting(const std::string& key, | 439 void OnUpdateInspectorSetting(const std::string& key, |
440 const std::string& value); | 440 const std::string& value); |
441 void OnMsgShouldCloseACK(bool proceed); | 441 void OnMsgShouldCloseACK(bool proceed); |
442 void OnMsgClosePageACK(); | 442 void OnMsgClosePageACK(); |
443 | 443 |
444 void OnAccessibilityNotifications( | 444 void OnAccessibilityNotifications( |
445 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 445 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
446 void OnScriptEvalResponse(int id, const ListValue& result); | 446 void OnScriptEvalResponse(int id, const ListValue& result); |
| 447 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); |
447 | 448 |
448 #if defined(OS_MACOSX) | 449 #if defined(OS_MACOSX) |
449 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 450 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
450 #endif | 451 #endif |
451 | 452 |
452 private: | 453 private: |
453 friend class TestRenderViewHost; | 454 friend class TestRenderViewHost; |
454 | 455 |
455 // The SiteInstance associated with this RenderViewHost. All pages drawn | 456 // The SiteInstance associated with this RenderViewHost. All pages drawn |
456 // in this RenderViewHost are part of this SiteInstance. Should not change | 457 // in this RenderViewHost are part of this SiteInstance. Should not change |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 // The termination status of the last render view that terminated. | 530 // The termination status of the last render view that terminated. |
530 base::TerminationStatus render_view_termination_status_; | 531 base::TerminationStatus render_view_termination_status_; |
531 | 532 |
532 // A list of observers that filter messages. Weak references. | 533 // A list of observers that filter messages. Weak references. |
533 ObserverList<RenderViewHostObserver> observers_; | 534 ObserverList<RenderViewHostObserver> observers_; |
534 | 535 |
535 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 536 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
536 }; | 537 }; |
537 | 538 |
538 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 539 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |