 Chromium Code Reviews
 Chromium Code Reviews Issue 297973002:
  Navigation transitions: Block first response until after transitions have run.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 297973002:
  Navigation transitions: Block first response until after transitions have run.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| OLD | NEW | 
|---|---|
| 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_BROWSER_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 
| 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 
| 7 | 7 | 
| 8 #include <set> | 8 #include <set> | 
| 9 | 9 | 
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" | 
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 340 // Stop any pending navigation. | 340 // Stop any pending navigation. | 
| 341 virtual void Stop() = 0; | 341 virtual void Stop() = 0; | 
| 342 | 342 | 
| 343 // Creates a new WebContents with the same state as this one. The returned | 343 // Creates a new WebContents with the same state as this one. The returned | 
| 344 // heap-allocated pointer is owned by the caller. | 344 // heap-allocated pointer is owned by the caller. | 
| 345 virtual WebContents* Clone() = 0; | 345 virtual WebContents* Clone() = 0; | 
| 346 | 346 | 
| 347 // Reloads the focused frame. | 347 // Reloads the focused frame. | 
| 348 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; | 348 virtual void ReloadFocusedFrame(bool ignore_cache) = 0; | 
| 349 | 349 | 
| 350 // Notifies the TransitionRequestManager that the main frame navigation is | |
| 351 // a transition navigation. | |
| 352 virtual void SetHasPendingTransitionRequest(bool has_pending_transition) = 0; | |
| 
jam
2014/06/10 05:54:56
is the only caller of this the test? if so, it sho
 
shatch
2014/06/10 20:20:24
The intention was for the java side to control the
 | |
| 353 | |
| 354 // Notifies the main frame that it can continue navigation (if it was deferred | |
| 355 // immediately at first response). | |
| 356 virtual void ResumeResponseDeferredAtStart() = 0; | |
| 357 | |
| 350 // Editing commands ---------------------------------------------------------- | 358 // Editing commands ---------------------------------------------------------- | 
| 351 | 359 | 
| 352 virtual void Undo() = 0; | 360 virtual void Undo() = 0; | 
| 353 virtual void Redo() = 0; | 361 virtual void Redo() = 0; | 
| 354 virtual void Cut() = 0; | 362 virtual void Cut() = 0; | 
| 355 virtual void Copy() = 0; | 363 virtual void Copy() = 0; | 
| 356 virtual void CopyToFindPboard() = 0; | 364 virtual void CopyToFindPboard() = 0; | 
| 357 virtual void Paste() = 0; | 365 virtual void Paste() = 0; | 
| 358 virtual void PasteAndMatchStyle() = 0; | 366 virtual void PasteAndMatchStyle() = 0; | 
| 359 virtual void Delete() = 0; | 367 virtual void Delete() = 0; | 
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 607 | 615 | 
| 608 private: | 616 private: | 
| 609 // This interface should only be implemented inside content. | 617 // This interface should only be implemented inside content. | 
| 610 friend class WebContentsImpl; | 618 friend class WebContentsImpl; | 
| 611 WebContents() {} | 619 WebContents() {} | 
| 612 }; | 620 }; | 
| 613 | 621 | 
| 614 } // namespace content | 622 } // namespace content | 
| 615 | 623 | 
| 616 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 624 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 
| OLD | NEW |