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