| 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 551 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
| 552 OnSetAccessibilityMode); | 552 OnSetAccessibilityMode); |
| 553 | 553 |
| 554 typedef std::map<GURL, double> HostZoomLevels; | 554 typedef std::map<GURL, double> HostZoomLevels; |
| 555 | 555 |
| 556 // Functions to add and remove observers for this object. | 556 // Functions to add and remove observers for this object. |
| 557 void AddObserver(RenderFrameObserver* observer); | 557 void AddObserver(RenderFrameObserver* observer); |
| 558 void RemoveObserver(RenderFrameObserver* observer); | 558 void RemoveObserver(RenderFrameObserver* observer); |
| 559 | 559 |
| 560 // Builds and sends DidCommitProvisionalLoad to the host. | 560 // Builds and sends DidCommitProvisionalLoad to the host. |
| 561 void SendDidCommitProvisionalLoad(blink::WebFrame* frame, | 561 void SendDidCommitProvisionalLoad(blink::WebFrame* frame); |
| 562 blink::WebHistoryCommitType commit_type); | |
| 563 | 562 |
| 564 // Gets the focused element. If no such element exists then the element will | 563 // Gets the focused element. If no such element exists then the element will |
| 565 // be NULL. | 564 // be NULL. |
| 566 blink::WebElement GetFocusedElement(); | 565 blink::WebElement GetFocusedElement(); |
| 567 | 566 |
| 568 // IPC message handlers ------------------------------------------------------ | 567 // IPC message handlers ------------------------------------------------------ |
| 569 // | 568 // |
| 570 // The documentation for these functions should be in | 569 // The documentation for these functions should be in |
| 571 // content/common/*_messages.h for the message that the function is handling. | 570 // content/common/*_messages.h for the message that the function is handling. |
| 572 void OnBeforeUnload(); | 571 void OnBeforeUnload(); |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 #endif | 850 #endif |
| 852 | 851 |
| 853 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 852 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 854 | 853 |
| 855 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 854 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 856 }; | 855 }; |
| 857 | 856 |
| 858 } // namespace content | 857 } // namespace content |
| 859 | 858 |
| 860 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 859 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |