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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameHost.h

Issue 2720213002: Removed FrameHost::deprecation() (Closed)
Patch Set: Created 3 years, 9 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 #include "wtf/Allocator.h" 36 #include "wtf/Allocator.h"
37 #include "wtf/Noncopyable.h" 37 #include "wtf/Noncopyable.h"
38 #include "wtf/text/AtomicString.h" 38 #include "wtf/text/AtomicString.h"
39 #include <memory> 39 #include <memory>
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class BrowserControls; 43 class BrowserControls;
44 class ChromeClient; 44 class ChromeClient;
45 class ConsoleMessageStorage; 45 class ConsoleMessageStorage;
46 class Deprecation;
47 class EventHandlerRegistry; 46 class EventHandlerRegistry;
48 class OverscrollController; 47 class OverscrollController;
49 class Page; 48 class Page;
50 struct PageScaleConstraints; 49 struct PageScaleConstraints;
51 class PageScaleConstraintsSet; 50 class PageScaleConstraintsSet;
52 class TopDocumentRootScrollerController; 51 class TopDocumentRootScrollerController;
53 class UseCounter; 52 class UseCounter;
54 class VisualViewport; 53 class VisualViewport;
55 54
56 // FrameHost is the set of global data shared between multiple frames 55 // FrameHost is the set of global data shared between multiple frames
(...skipping 13 matching lines...) Expand all
70 public: 69 public:
71 static FrameHost* create(Page&); 70 static FrameHost* create(Page&);
72 ~FrameHost(); 71 ~FrameHost();
73 72
74 Page& page(); 73 Page& page();
75 const Page& page() const; 74 const Page& page() const;
76 75
77 UseCounter& useCounter(); 76 UseCounter& useCounter();
78 const UseCounter& useCounter() const; 77 const UseCounter& useCounter() const;
79 78
80 Deprecation& deprecation();
81 const Deprecation& deprecation() const;
82
83 // Corresponds to pixel density of the device where this Page is 79 // Corresponds to pixel density of the device where this Page is
84 // being displayed. In multi-monitor setups this can vary between pages. 80 // being displayed. In multi-monitor setups this can vary between pages.
85 // This value does not account for Page zoom, use LocalFrame::devicePixelRatio 81 // This value does not account for Page zoom, use LocalFrame::devicePixelRatio
86 // instead. This is to be deprecated. Use this with caution. 82 // instead. This is to be deprecated. Use this with caution.
87 // 1) If you need to scale the content per device scale factor, this is still 83 // 1) If you need to scale the content per device scale factor, this is still
88 // valid. In use-zoom-for-dsf mode, this is always 1, and will be remove 84 // valid. In use-zoom-for-dsf mode, this is always 1, and will be remove
89 // when transition is complete. 85 // when transition is complete.
90 // 2) If you want to compute the device related measure (such as device pixel 86 // 2) If you want to compute the device related measure (such as device pixel
91 // height, or the scale factor for drag image), use 87 // height, or the scale factor for drag image), use
92 // ChromeClient::screenInfo() instead. 88 // ChromeClient::screenInfo() instead.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 const Member<TopDocumentRootScrollerController> 139 const Member<TopDocumentRootScrollerController>
144 m_globalRootScrollerController; 140 m_globalRootScrollerController;
145 141
146 AtomicString m_overrideEncoding; 142 AtomicString m_overrideEncoding;
147 int m_subframeCount; 143 int m_subframeCount;
148 }; 144 };
149 145
150 } // namespace blink 146 } // namespace blink
151 147
152 #endif // FrameHost_h 148 #endif // FrameHost_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | third_party/WebKit/Source/core/frame/FrameHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698