| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 SetEditableSelectionAndComposition); | 449 SetEditableSelectionAndComposition); |
| 450 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 450 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
| 451 OnSetAccessibilityMode); | 451 OnSetAccessibilityMode); |
| 452 | 452 |
| 453 typedef std::map<GURL, double> HostZoomLevels; | 453 typedef std::map<GURL, double> HostZoomLevels; |
| 454 | 454 |
| 455 // Functions to add and remove observers for this object. | 455 // Functions to add and remove observers for this object. |
| 456 void AddObserver(RenderFrameObserver* observer); | 456 void AddObserver(RenderFrameObserver* observer); |
| 457 void RemoveObserver(RenderFrameObserver* observer); | 457 void RemoveObserver(RenderFrameObserver* observer); |
| 458 | 458 |
| 459 void UpdateURL(blink::WebFrame* frame); | 459 // Builds and sends DidCommitProvisionalLoad to the host. |
| 460 void SendDidCommitProvisionalLoad(blink::WebFrame* frame); |
| 460 | 461 |
| 461 // Gets the focused element. If no such element exists then the element will | 462 // Gets the focused element. If no such element exists then the element will |
| 462 // be NULL. | 463 // be NULL. |
| 463 blink::WebElement GetFocusedElement(); | 464 blink::WebElement GetFocusedElement(); |
| 464 | 465 |
| 465 // IPC message handlers ------------------------------------------------------ | 466 // IPC message handlers ------------------------------------------------------ |
| 466 // | 467 // |
| 467 // The documentation for these functions should be in | 468 // The documentation for these functions should be in |
| 468 // content/common/*_messages.h for the message that the function is handling. | 469 // content/common/*_messages.h for the message that the function is handling. |
| 469 void OnBeforeUnload(); | 470 void OnBeforeUnload(); |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 RendererAccessibility* renderer_accessibility_; | 693 RendererAccessibility* renderer_accessibility_; |
| 693 | 694 |
| 694 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 695 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 695 | 696 |
| 696 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 697 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 697 }; | 698 }; |
| 698 | 699 |
| 699 } // namespace content | 700 } // namespace content |
| 700 | 701 |
| 701 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 702 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |