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

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

Issue 161113002: Fix pushState causing stop/reload button and favicon to flicker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // This is called right after creation with the WebFrame for this RenderFrame. 90 // This is called right after creation with the WebFrame for this RenderFrame.
91 void SetWebFrame(blink::WebFrame* web_frame); 91 void SetWebFrame(blink::WebFrame* web_frame);
92 92
93 // Notification from RenderView. 93 // Notification from RenderView.
94 virtual void OnStop(); 94 virtual void OnStop();
95 95
96 // Start/Stop loading notifications. 96 // Start/Stop loading notifications.
97 // TODO(nasko): Those are page-level methods at this time and come from 97 // TODO(nasko): Those are page-level methods at this time and come from
98 // WebViewClient. We should move them to be WebFrameClient calls and put 98 // WebViewClient. We should move them to be WebFrameClient calls and put
99 // logic in the browser side to balance starts/stops. 99 // logic in the browser side to balance starts/stops.
100 void didStartLoading(); 100 void didStartLoading(bool to_different_document);
101 void didStopLoading(); 101 void didStopLoading();
102 102
103 #if defined(ENABLE_PLUGINS) 103 #if defined(ENABLE_PLUGINS)
104 // Notification that a PPAPI plugin has been created. 104 // Notification that a PPAPI plugin has been created.
105 void PepperPluginCreated(RendererPpapiHost* host); 105 void PepperPluginCreated(RendererPpapiHost* host);
106 106
107 // Notifies that |instance| has changed the cursor. 107 // Notifies that |instance| has changed the cursor.
108 // This will update the cursor appearance if it is currently over the plugin 108 // This will update the cursor appearance if it is currently over the plugin
109 // instance. 109 // instance.
110 void PepperDidChangeCursor(PepperPluginInstanceImpl* instance, 110 void PepperDidChangeCursor(PepperPluginInstanceImpl* instance,
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // always respond properly to the request, so we don't have to worry so 398 // always respond properly to the request, so we don't have to worry so
399 // much about leaks. 399 // much about leaks.
400 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; 400 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_;
401 401
402 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 402 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
403 }; 403 };
404 404
405 } // namespace content 405 } // namespace content
406 406
407 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 407 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698