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

Side by Side Diff: Source/web/InspectorOverlayImpl.h

Issue 1204453002: Devtools: Create layout editor experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 namespace blink { 47 namespace blink {
48 48
49 class Color; 49 class Color;
50 class EmptyChromeClient; 50 class EmptyChromeClient;
51 class LocalFrame; 51 class LocalFrame;
52 class GraphicsContext; 52 class GraphicsContext;
53 class JSONValue; 53 class JSONValue;
54 class Node; 54 class Node;
55 class Page; 55 class Page;
56 class WebViewImpl; 56 class WebViewImpl;
57 class LayoutEditor;
57 58
58 class InspectorOverlayImpl final : public NoBaseWillBeGarbageCollectedFinalized< InspectorOverlayImpl>, public InspectorOverlay, public WebPageOverlay, public In spectorOverlayHost::Listener { 59 class InspectorOverlayImpl final : public NoBaseWillBeGarbageCollectedFinalized< InspectorOverlayImpl>, public InspectorOverlay, public WebPageOverlay, public In spectorOverlayHost::Listener {
59 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorOverlayImpl); 60 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorOverlayImpl);
60 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlayImpl); 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlayImpl);
61 public: 62 public:
62 // FIXME: remove this once overlay works for non-main frame. 63 // FIXME: remove this once overlay works for non-main frame.
63 static PassOwnPtrWillBeRawPtr<InspectorOverlay> createEmpty(); 64 static PassOwnPtrWillBeRawPtr<InspectorOverlay> createEmpty();
64 65
65 static PassOwnPtrWillBeRawPtr<InspectorOverlayImpl> create(WebViewImpl* webV iewImpl) 66 static PassOwnPtrWillBeRawPtr<InspectorOverlayImpl> create(WebViewImpl* webV iewImpl)
66 { 67 {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 OwnPtr<EmptyChromeClient> m_overlayChromeClient; 120 OwnPtr<EmptyChromeClient> m_overlayChromeClient;
120 RefPtrWillBeMember<InspectorOverlayHost> m_overlayHost; 121 RefPtrWillBeMember<InspectorOverlayHost> m_overlayHost;
121 InspectorHighlightConfig m_quadHighlightConfig; 122 InspectorHighlightConfig m_quadHighlightConfig;
122 bool m_drawViewSize; 123 bool m_drawViewSize;
123 bool m_drawViewSizeWithGrid; 124 bool m_drawViewSizeWithGrid;
124 bool m_omitTooltip; 125 bool m_omitTooltip;
125 Timer<InspectorOverlayImpl> m_timer; 126 Timer<InspectorOverlayImpl> m_timer;
126 int m_suspendCount; 127 int m_suspendCount;
127 bool m_updating; 128 bool m_updating;
128 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener; 129 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener;
130 OwnPtr<LayoutEditor> m_layoutEditor;
129 }; 131 };
130 132
131 } // namespace blink 133 } // namespace blink
132 134
133 135
134 #endif // InspectorOverlayImpl_h 136 #endif // InspectorOverlayImpl_h
OLDNEW
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698