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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2963913002: Factor DRP PreviewsState logic out of content (Closed)
Patch Set: Change WebDataSource to WebDocumentLoader Created 3 years, 4 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 void AttachGuest(int element_instance_id) override; 455 void AttachGuest(int element_instance_id) override;
456 void DetachGuest(int element_instance_id) override; 456 void DetachGuest(int element_instance_id) override;
457 void SetSelectedText(const base::string16& selection_text, 457 void SetSelectedText(const base::string16& selection_text,
458 size_t offset, 458 size_t offset,
459 const gfx::Range& range) override; 459 const gfx::Range& range) override;
460 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, 460 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate,
461 v8::Local<v8::Context> context) override; 461 v8::Local<v8::Context> context) override;
462 void AddMessageToConsole(ConsoleMessageLevel level, 462 void AddMessageToConsole(ConsoleMessageLevel level,
463 const std::string& message) override; 463 const std::string& message) override;
464 void DetachDevToolsForTest() override; 464 void DetachDevToolsForTest() override;
465 void SetPreviewsState(PreviewsState previews_state) override;
465 PreviewsState GetPreviewsState() const override; 466 PreviewsState GetPreviewsState() const override;
466 bool IsPasting() const override; 467 bool IsPasting() const override;
467 blink::WebPageVisibilityState GetVisibilityState() const override; 468 blink::WebPageVisibilityState GetVisibilityState() const override;
468 bool IsBrowserSideNavigationPending() override; 469 bool IsBrowserSideNavigationPending() override;
469 base::SingleThreadTaskRunner* GetTimerTaskRunner() override; 470 base::SingleThreadTaskRunner* GetTimerTaskRunner() override;
470 base::SingleThreadTaskRunner* GetLoadingTaskRunner() override; 471 base::SingleThreadTaskRunner* GetLoadingTaskRunner() override;
471 base::SingleThreadTaskRunner* GetUnthrottledTaskRunner() override; 472 base::SingleThreadTaskRunner* GetUnthrottledTaskRunner() override;
472 int GetEnabledBindings() const override; 473 int GetEnabledBindings() const override;
473 474
474 // blink::mojom::EngagementClient implementation: 475 // blink::mojom::EngagementClient implementation:
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1484 RenderThreadImpl::RendererMemoryMetrics peak_memory_metrics_; 1485 RenderThreadImpl::RendererMemoryMetrics peak_memory_metrics_;
1485 1486
1486 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1487 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1487 1488
1488 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1489 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1489 }; 1490 };
1490 1491
1491 } // namespace content 1492 } // namespace content
1492 1493
1493 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1494 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/previews_state_helper_unittest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698