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

Side by Side Diff: content/public/renderer/render_view_observer.h

Issue 1308113002: Make content text retrieval in ChromeRenderViewObserver never force layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated to match upstream changes. Created 5 years, 4 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
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void DidCreateDocumentElement(blink::WebLocalFrame* frame) {} 52 virtual void DidCreateDocumentElement(blink::WebLocalFrame* frame) {}
53 virtual void FrameCreated(blink::WebLocalFrame* parent, 53 virtual void FrameCreated(blink::WebLocalFrame* parent,
54 blink::WebFrame* frame) {} 54 blink::WebFrame* frame) {}
55 virtual void FrameDetached(blink::WebFrame* frame) {} 55 virtual void FrameDetached(blink::WebFrame* frame) {}
56 virtual void FrameWillClose(blink::WebFrame* frame) {} 56 virtual void FrameWillClose(blink::WebFrame* frame) {}
57 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {} 57 virtual void PrintPage(blink::WebLocalFrame* frame, bool user_initiated) {}
58 virtual void FocusedNodeChanged(const blink::WebNode& node) {} 58 virtual void FocusedNodeChanged(const blink::WebNode& node) {}
59 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {} 59 virtual void DraggableRegionsChanged(blink::WebFrame* frame) {}
60 virtual void DidCommitCompositorFrame() {} 60 virtual void DidCommitCompositorFrame() {}
61 virtual void DidUpdateLayout() {} 61 virtual void DidUpdateLayout() {}
62 virtual void DidFirstLayoutAfterFinishedParsing() {}
nasko 2015/08/24 22:59:05 We shouldn't be putting any new members on RenderV
62 63
63 // These match the RenderView methods. 64 // These match the RenderView methods.
64 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {} 65 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {}
65 66
66 virtual void OnMouseDown(const blink::WebNode& mouse_down_node) {} 67 virtual void OnMouseDown(const blink::WebNode& mouse_down_node) {}
67 68
68 // These match incoming IPCs. 69 // These match incoming IPCs.
69 virtual void Navigate(const GURL& url) {} 70 virtual void Navigate(const GURL& url) {}
70 virtual void ClosePage() {} 71 virtual void ClosePage() {}
71 72
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 RenderView* render_view_; 107 RenderView* render_view_;
107 // The routing ID of the associated RenderView. 108 // The routing ID of the associated RenderView.
108 int routing_id_; 109 int routing_id_;
109 110
110 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 111 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
111 }; 112 };
112 113
113 } // namespace content 114 } // namespace content
114 115
115 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 116 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698