| 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 341 |
| 342 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move | 342 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move |
| 343 // this back to private member. | 343 // this back to private member. |
| 344 void OnNavigate(const FrameMsg_Navigate_Params& params); | 344 void OnNavigate(const FrameMsg_Navigate_Params& params); |
| 345 | 345 |
| 346 protected: | 346 protected: |
| 347 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); | 347 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); |
| 348 | 348 |
| 349 private: | 349 private: |
| 350 friend class RenderFrameObserver; | 350 friend class RenderFrameObserver; |
| 351 FRIEND_TEST_ALL_PREFIXES(RenderFrameImplTest, | 351 FRIEND_TEST_ALL_PREFIXES(RendererAccessibilityTest, |
| 352 AccessibilityMessagesQueueWhileSwappedOut); |
| 353 FRIEND_TEST_ALL_PREFIXES(RenderFrameImplTest, |
| 352 ShouldUpdateSelectionTextFromContextMenuParams); | 354 ShouldUpdateSelectionTextFromContextMenuParams); |
| 353 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 355 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
| 354 OnExtendSelectionAndDelete); | 356 OnExtendSelectionAndDelete); |
| 357 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ReloadWhileSwappedOut); |
| 358 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SendSwapOutACK); |
| 355 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 359 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
| 356 SetEditableSelectionAndComposition); | 360 SetEditableSelectionAndComposition); |
| 357 | 361 |
| 358 typedef std::map<GURL, double> HostZoomLevels; | 362 typedef std::map<GURL, double> HostZoomLevels; |
| 359 | 363 |
| 360 // Functions to add and remove observers for this object. | 364 // Functions to add and remove observers for this object. |
| 361 void AddObserver(RenderFrameObserver* observer); | 365 void AddObserver(RenderFrameObserver* observer); |
| 362 void RemoveObserver(RenderFrameObserver* observer); | 366 void RemoveObserver(RenderFrameObserver* observer); |
| 363 | 367 |
| 364 void UpdateURL(blink::WebFrame* frame); | 368 void UpdateURL(blink::WebFrame* frame); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 // Used to inform didChangeSelection() when it is called in the context | 483 // Used to inform didChangeSelection() when it is called in the context |
| 480 // of handling a InputMsg_SelectRange IPC. | 484 // of handling a InputMsg_SelectRange IPC. |
| 481 bool handling_select_range_; | 485 bool handling_select_range_; |
| 482 | 486 |
| 483 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 487 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 484 }; | 488 }; |
| 485 | 489 |
| 486 } // namespace content | 490 } // namespace content |
| 487 | 491 |
| 488 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 492 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |