| 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 562 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
| 563 OnSetAccessibilityMode); | 563 OnSetAccessibilityMode); |
| 564 | 564 |
| 565 typedef std::map<GURL, double> HostZoomLevels; | 565 typedef std::map<GURL, double> HostZoomLevels; |
| 566 | 566 |
| 567 // Functions to add and remove observers for this object. | 567 // Functions to add and remove observers for this object. |
| 568 void AddObserver(RenderFrameObserver* observer); | 568 void AddObserver(RenderFrameObserver* observer); |
| 569 void RemoveObserver(RenderFrameObserver* observer); | 569 void RemoveObserver(RenderFrameObserver* observer); |
| 570 | 570 |
| 571 // Builds and sends DidCommitProvisionalLoad to the host. | 571 // Builds and sends DidCommitProvisionalLoad to the host. |
| 572 void SendDidCommitProvisionalLoad(blink::WebFrame* frame, | 572 void SendDidCommitProvisionalLoad(blink::WebFrame* frame); |
| 573 blink::WebHistoryCommitType commit_type); | |
| 574 | 573 |
| 575 // Gets the focused element. If no such element exists then the element will | 574 // Gets the focused element. If no such element exists then the element will |
| 576 // be NULL. | 575 // be NULL. |
| 577 blink::WebElement GetFocusedElement(); | 576 blink::WebElement GetFocusedElement(); |
| 578 | 577 |
| 579 // IPC message handlers ------------------------------------------------------ | 578 // IPC message handlers ------------------------------------------------------ |
| 580 // | 579 // |
| 581 // The documentation for these functions should be in | 580 // The documentation for these functions should be in |
| 582 // content/common/*_messages.h for the message that the function is handling. | 581 // content/common/*_messages.h for the message that the function is handling. |
| 583 void OnBeforeUnload(); | 582 void OnBeforeUnload(); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 #endif | 868 #endif |
| 870 | 869 |
| 871 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 870 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 872 | 871 |
| 873 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 872 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 874 }; | 873 }; |
| 875 | 874 |
| 876 } // namespace content | 875 } // namespace content |
| 877 | 876 |
| 878 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 877 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |