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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 232463007: Don't leave aborted URLs in the omnibox unless we're on a new tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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) 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 virtual void NotifyChangedNavigationState( 483 virtual void NotifyChangedNavigationState(
484 InvalidateTypes changed_flags) OVERRIDE; 484 InvalidateTypes changed_flags) OVERRIDE;
485 virtual void AboutToNavigateRenderFrame( 485 virtual void AboutToNavigateRenderFrame(
486 RenderFrameHostImpl* render_frame_host) OVERRIDE; 486 RenderFrameHostImpl* render_frame_host) OVERRIDE;
487 virtual void DidStartNavigationToPendingEntry( 487 virtual void DidStartNavigationToPendingEntry(
488 RenderFrameHostImpl* render_frame_host, 488 RenderFrameHostImpl* render_frame_host,
489 const GURL& url, 489 const GURL& url,
490 NavigationController::ReloadType reload_type) OVERRIDE; 490 NavigationController::ReloadType reload_type) OVERRIDE;
491 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 491 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
492 const OpenURLParams& params) OVERRIDE; 492 const OpenURLParams& params) OVERRIDE;
493 virtual bool ShouldPreserveAbortedURLs() OVERRIDE;
493 494
494 // RenderWidgetHostDelegate -------------------------------------------------- 495 // RenderWidgetHostDelegate --------------------------------------------------
495 496
496 virtual void RenderWidgetDeleted( 497 virtual void RenderWidgetDeleted(
497 RenderWidgetHostImpl* render_widget_host) OVERRIDE; 498 RenderWidgetHostImpl* render_widget_host) OVERRIDE;
498 virtual bool PreHandleKeyboardEvent( 499 virtual bool PreHandleKeyboardEvent(
499 const NativeWebKeyboardEvent& event, 500 const NativeWebKeyboardEvent& event,
500 bool* is_keyboard_shortcut) OVERRIDE; 501 bool* is_keyboard_shortcut) OVERRIDE;
501 virtual void HandleKeyboardEvent( 502 virtual void HandleKeyboardEvent(
502 const NativeWebKeyboardEvent& event) OVERRIDE; 503 const NativeWebKeyboardEvent& event) OVERRIDE;
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 1093
1093 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1094 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1094 bool last_dialog_suppressed_; 1095 bool last_dialog_suppressed_;
1095 1096
1096 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1097 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1097 }; 1098 };
1098 1099
1099 } // namespace content 1100 } // namespace content
1100 1101
1101 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1102 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager_browsertest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698