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

Side by Side Diff: content/browser/frame_host/interstitial_page_impl.h

Issue 1133003003: Fix copying from interstitial pages on OSX by going through the RenderWidgetHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement other OS operations. Created 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 }; 50 };
51 51
52 InterstitialPageImpl(WebContents* web_contents, 52 InterstitialPageImpl(WebContents* web_contents,
53 RenderWidgetHostDelegate* render_widget_host_delegate, 53 RenderWidgetHostDelegate* render_widget_host_delegate,
54 bool new_navigation, 54 bool new_navigation,
55 const GURL& url, 55 const GURL& url,
56 InterstitialPageDelegate* delegate); 56 InterstitialPageDelegate* delegate);
57 ~InterstitialPageImpl() override; 57 ~InterstitialPageImpl() override;
58 58
59 // InterstitialPage implementation: 59 // InterstitialPage implementation:
60 void Undo() override;
nasko 2015/05/13 17:24:08 Those methods aren't part of the InterstitialPage
lgarron 2015/05/13 21:58:40 Done.
61 void Redo() override;
62 void Cut() override;
63 void Copy() override;
64 void CopyToFindPboard() override;
65 void Paste() override;
66 void PasteAndMatchStyle() override;
67 void SelectAll() override;
68
60 void Show() override; 69 void Show() override;
61 void Hide() override; 70 void Hide() override;
62 void DontProceed() override; 71 void DontProceed() override;
63 void Proceed() override; 72 void Proceed() override;
64 RenderFrameHost* GetMainFrame() const override; 73 RenderFrameHost* GetMainFrame() const override;
65 InterstitialPageDelegate* GetDelegateForTesting() override; 74 InterstitialPageDelegate* GetDelegateForTesting() override;
66 void DontCreateViewForTesting() override; 75 void DontCreateViewForTesting() override;
67 void SetSize(const gfx::Size& size) override; 76 void SetSize(const gfx::Size& size) override;
68 void Focus() override; 77 void Focus() override;
69 78
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 296 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
288 297
289 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 298 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
290 299
291 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 300 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
292 }; 301 };
293 302
294 } // namespace content 303 } // namespace content
295 304
296 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 305 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698