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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 100033: Synchronously update the loading state when a load starts so that the UI will... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 void OnMsgUpdateEncoding(const std::wstring& encoding); 443 void OnMsgUpdateEncoding(const std::wstring& encoding);
444 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); 444 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
445 void OnMsgThumbnail(const GURL& url, 445 void OnMsgThumbnail(const GURL& url,
446 const ThumbnailScore& score, 446 const ThumbnailScore& score,
447 const SkBitmap& bitmap); 447 const SkBitmap& bitmap);
448 void OnMsgClose(); 448 void OnMsgClose();
449 void OnMsgRequestMove(const gfx::Rect& pos); 449 void OnMsgRequestMove(const gfx::Rect& pos);
450 void OnMsgDidRedirectProvisionalLoad(int32 page_id, 450 void OnMsgDidRedirectProvisionalLoad(int32 page_id,
451 const GURL& source_url, 451 const GURL& source_url,
452 const GURL& target_url); 452 const GURL& target_url);
453 void OnMsgDidStartLoading(int32 page_id); 453 void OnMsgDidStartLoading();
454 void OnMsgDidStopLoading(int32 page_id); 454 void OnMsgDidStopLoading();
455 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, 455 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url,
456 const std::string& frame_origin, 456 const std::string& frame_origin,
457 const std::string& main_frame_origin, 457 const std::string& main_frame_origin,
458 const std::string& security_info); 458 const std::string& security_info);
459 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame, 459 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame,
460 const GURL& url); 460 const GURL& url);
461 void OnMsgDidFailProvisionalLoadWithError(bool main_frame, 461 void OnMsgDidFailProvisionalLoadWithError(bool main_frame,
462 int error_code, 462 int error_code,
463 const GURL& url, 463 const GURL& url,
464 bool showing_repost_interstitial); 464 bool showing_repost_interstitial);
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 // Handles processing IPC messages request extension functions be executed. 614 // Handles processing IPC messages request extension functions be executed.
615 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 615 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
616 616
617 // True if the render view can be shut down suddenly. 617 // True if the render view can be shut down suddenly.
618 bool sudden_termination_allowed_; 618 bool sudden_termination_allowed_;
619 619
620 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 620 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
621 }; 621 };
622 622
623 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 623 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698