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

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

Issue 2885043004: ABANDONED CL: Make WebContents::Get(Original)Opener return RenderFrameHost* (not WebContents*). (Closed)
Patch Set: 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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 void SetClosedByUserGesture(bool value) override; 411 void SetClosedByUserGesture(bool value) override;
412 bool GetClosedByUserGesture() const override; 412 bool GetClosedByUserGesture() const override;
413 void ViewSource() override; 413 void ViewSource() override;
414 void ViewFrameSource(const GURL& url, const PageState& page_state) override; 414 void ViewFrameSource(const GURL& url, const PageState& page_state) override;
415 int GetMinimumZoomPercent() const override; 415 int GetMinimumZoomPercent() const override;
416 int GetMaximumZoomPercent() const override; 416 int GetMaximumZoomPercent() const override;
417 void SetPageScale(float page_scale_factor) override; 417 void SetPageScale(float page_scale_factor) override;
418 gfx::Size GetPreferredSize() const override; 418 gfx::Size GetPreferredSize() const override;
419 bool GotResponseToLockMouseRequest(bool allowed) override; 419 bool GotResponseToLockMouseRequest(bool allowed) override;
420 bool HasOpener() const override; 420 bool HasOpener() const override;
421 WebContentsImpl* GetOpener() const override; 421 RenderFrameHostImpl* GetOpener() const override;
422 bool HasOriginalOpener() const override; 422 bool HasOriginalOpener() const override;
423 WebContents* GetOriginalOpener() const override; 423 RenderFrameHostImpl* GetOriginalOpener() const override;
424 void DidChooseColorInColorChooser(SkColor color) override; 424 void DidChooseColorInColorChooser(SkColor color) override;
425 void DidEndColorChooser() override; 425 void DidEndColorChooser() override;
426 int DownloadImage(const GURL& url, 426 int DownloadImage(const GURL& url,
427 bool is_favicon, 427 bool is_favicon,
428 uint32_t max_bitmap_size, 428 uint32_t max_bitmap_size,
429 bool bypass_cache, 429 bool bypass_cache,
430 const ImageDownloadCallback& callback) override; 430 const ImageDownloadCallback& callback) override;
431 bool IsSubframe() const override; 431 bool IsSubframe() const override;
432 void Find(int request_id, 432 void Find(int request_id,
433 const base::string16& search_text, 433 const base::string16& search_text,
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 // Adds/removes a callback called on creation of each new WebContents. 1590 // Adds/removes a callback called on creation of each new WebContents.
1591 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1591 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1592 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1592 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1593 1593
1594 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); 1594 DISALLOW_COPY_AND_ASSIGN(FriendWrapper);
1595 }; 1595 };
1596 1596
1597 } // namespace content 1597 } // namespace content
1598 1598
1599 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1599 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/blocked_content/app_modal_dialog_helper.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