OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 555 |
556 private: | 556 private: |
557 friend class TestRenderViewHost; | 557 friend class TestRenderViewHost; |
558 | 558 |
559 // Sets whether this RenderViewHost is swapped out in favor of another, | 559 // Sets whether this RenderViewHost is swapped out in favor of another, |
560 // and clears any waiting state that is no longer relevant. | 560 // and clears any waiting state that is no longer relevant. |
561 void SetSwappedOut(bool is_swapped_out); | 561 void SetSwappedOut(bool is_swapped_out); |
562 | 562 |
563 void ClearPowerSaveBlockers(); | 563 void ClearPowerSaveBlockers(); |
564 | 564 |
| 565 bool CanAccessFilesOfSerializedState(const std::string& state) const; |
| 566 |
565 // Our delegate, which wants to know about changes in the RenderView. | 567 // Our delegate, which wants to know about changes in the RenderView. |
566 RenderViewHostDelegate* delegate_; | 568 RenderViewHostDelegate* delegate_; |
567 | 569 |
568 // The SiteInstance associated with this RenderViewHost. All pages drawn | 570 // The SiteInstance associated with this RenderViewHost. All pages drawn |
569 // in this RenderViewHost are part of this SiteInstance. Should not change | 571 // in this RenderViewHost are part of this SiteInstance. Should not change |
570 // over time. | 572 // over time. |
571 scoped_refptr<SiteInstanceImpl> instance_; | 573 scoped_refptr<SiteInstanceImpl> instance_; |
572 | 574 |
573 // true if we are currently waiting for a response for drag context | 575 // true if we are currently waiting for a response for drag context |
574 // information. | 576 // information. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 680 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
679 }; | 681 }; |
680 | 682 |
681 #if defined(COMPILER_MSVC) | 683 #if defined(COMPILER_MSVC) |
682 #pragma warning(pop) | 684 #pragma warning(pop) |
683 #endif | 685 #endif |
684 | 686 |
685 } // namespace content | 687 } // namespace content |
686 | 688 |
687 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 689 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |