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

Side by Side Diff: Source/core/inspector/InspectorFrontendHost.h

Issue 104523002: [DevTools] Add power profiler and power overview in timeline panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void sendMessageToEmbedder(const String& message); 66 void sendMessageToEmbedder(const String& message);
67 67
68 String getSelectionBackgroundColor(); 68 String getSelectionBackgroundColor();
69 String getSelectionForegroundColor(); 69 String getSelectionForegroundColor();
70 70
71 PassRefPtr<DOMFileSystem> isolatedFileSystem(const String& fileSystemName, c onst String& rootURL); 71 PassRefPtr<DOMFileSystem> isolatedFileSystem(const String& fileSystemName, c onst String& rootURL);
72 void upgradeDraggedFileSystemPermissions(DOMFileSystem*); 72 void upgradeDraggedFileSystemPermissions(DOMFileSystem*);
73 73
74 bool isUnderTest(); 74 bool isUnderTest();
75 75
76 void checkPowerProfileSupportedStatus();
77 void startPowerProfile();
78 void stopPowerProfile();
79 void setPowerProfileResolution(unsigned);
80
76 private: 81 private:
77 friend class FrontendMenuProvider; 82 friend class FrontendMenuProvider;
78 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); 83 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage);
79 84
80 InspectorFrontendClient* m_client; 85 InspectorFrontendClient* m_client;
81 Page* m_frontendPage; 86 Page* m_frontendPage;
82 FrontendMenuProvider* m_menuProvider; 87 FrontendMenuProvider* m_menuProvider;
83 }; 88 };
84 89
85 } // namespace WebCore 90 } // namespace WebCore
86 91
87 #endif // !defined(InspectorFrontendHost_h) 92 #endif // !defined(InspectorFrontendHost_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698