Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: content/renderer/internal_document_state_data.h

Issue 240163005: Deliver IPC messages together with SwapCompositorFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use IPC? Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_INTERNAL_DOCUMENT_STATE_DATA_H_ 5 #ifndef CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_
6 #define CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_ 6 #define CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 30
31 // Set to true once RenderViewImpl::didFirstVisuallyNonEmptyLayout() is 31 // Set to true once RenderViewImpl::didFirstVisuallyNonEmptyLayout() is
32 // invoked. 32 // invoked.
33 bool did_first_visually_non_empty_layout() const { 33 bool did_first_visually_non_empty_layout() const {
34 return did_first_visually_non_empty_layout_; 34 return did_first_visually_non_empty_layout_;
35 } 35 }
36 void set_did_first_visually_non_empty_layout(bool value) { 36 void set_did_first_visually_non_empty_layout(bool value) {
37 did_first_visually_non_empty_layout_ = value; 37 did_first_visually_non_empty_layout_ = value;
38 } 38 }
39 39
40 // Set to true once RenderViewImpl::DidFlushPaint() is inovked after
41 // RenderViewImpl::didFirstVisuallyNonEmptyLayout(). In other words after the
42 // page has painted something.
43 bool did_first_visually_non_empty_paint() const {
44 return did_first_visually_non_empty_paint_;
45 }
46 void set_did_first_visually_non_empty_paint(bool value) {
47 did_first_visually_non_empty_paint_ = value;
48 }
49
50 int http_status_code() const { return http_status_code_; } 40 int http_status_code() const { return http_status_code_; }
51 void set_http_status_code(int http_status_code) { 41 void set_http_status_code(int http_status_code) {
52 http_status_code_ = http_status_code; 42 http_status_code_ = http_status_code;
53 } 43 }
54 44
55 const GURL& searchable_form_url() const { return searchable_form_url_; } 45 const GURL& searchable_form_url() const { return searchable_form_url_; }
56 void set_searchable_form_url(const GURL& url) { searchable_form_url_ = url; } 46 void set_searchable_form_url(const GURL& url) { searchable_form_url_ = url; }
57 const std::string& searchable_form_encoding() const { 47 const std::string& searchable_form_encoding() const {
58 return searchable_form_encoding_; 48 return searchable_form_encoding_;
59 } 49 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 bool must_reset_scroll_and_scale_state_; 106 bool must_reset_scroll_and_scale_state_;
117 bool cache_policy_override_set_; 107 bool cache_policy_override_set_;
118 blink::WebURLRequest::CachePolicy cache_policy_override_; 108 blink::WebURLRequest::CachePolicy cache_policy_override_;
119 109
120 DISALLOW_COPY_AND_ASSIGN(InternalDocumentStateData); 110 DISALLOW_COPY_AND_ASSIGN(InternalDocumentStateData);
121 }; 111 };
122 112
123 } // namespace content 113 } // namespace content
124 114
125 #endif // CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_ 115 #endif // CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698