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

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

Issue 2828913003: Replace "nested message loop" with "nested run loop" in comments. (Closed)
Patch Set: rebase Created 3 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
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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 // Returns the contents MIME type after a navigation. 599 // Returns the contents MIME type after a navigation.
600 virtual const std::string& GetContentsMimeType() const = 0; 600 virtual const std::string& GetContentsMimeType() const = 0;
601 601
602 // Returns true if this WebContents will notify about disconnection. 602 // Returns true if this WebContents will notify about disconnection.
603 virtual bool WillNotifyDisconnection() const = 0; 603 virtual bool WillNotifyDisconnection() const = 0;
604 604
605 // Returns the settings which get passed to the renderer. 605 // Returns the settings which get passed to the renderer.
606 virtual content::RendererPreferences* GetMutableRendererPrefs() = 0; 606 virtual content::RendererPreferences* GetMutableRendererPrefs() = 0;
607 607
608 // Tells the tab to close now. The tab will take care not to close until it's 608 // Tells the tab to close now. The tab will take care not to close until it's
609 // out of nested message loops. 609 // out of nested run loops.
610 virtual void Close() = 0; 610 virtual void Close() = 0;
611 611
612 // A render view-originated drag has ended. Informs the render view host and 612 // A render view-originated drag has ended. Informs the render view host and
613 // WebContentsDelegate. 613 // WebContentsDelegate.
614 virtual void SystemDragEnded(RenderWidgetHost* source_rwh) = 0; 614 virtual void SystemDragEnded(RenderWidgetHost* source_rwh) = 0;
615 615
616 // Notification the user has made a gesture while focus was on the 616 // Notification the user has made a gesture while focus was on the
617 // page. This is used to avoid uninitiated user downloads (aka carpet 617 // page. This is used to avoid uninitiated user downloads (aka carpet
618 // bombing), see DownloadRequestLimiter for details. 618 // bombing), see DownloadRequestLimiter for details.
619 virtual void UserGestureDone() = 0; 619 virtual void UserGestureDone() = 0;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 807
808 private: 808 private:
809 // This interface should only be implemented inside content. 809 // This interface should only be implemented inside content.
810 friend class WebContentsImpl; 810 friend class WebContentsImpl;
811 WebContents() {} 811 WebContents() {}
812 }; 812 };
813 813
814 } // namespace content 814 } // namespace content
815 815
816 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 816 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698