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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 11667030: Add GPU memory usage contents browser test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extraneous comments Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 // Gets statistics about the v8 heap in a renderer process. 683 // Gets statistics about the v8 heap in a renderer process.
684 void GetV8HeapStats(Browser* browser, 684 void GetV8HeapStats(Browser* browser,
685 base::DictionaryValue* args, 685 base::DictionaryValue* args,
686 IPC::Message* reply_message); 686 IPC::Message* reply_message);
687 687
688 // Gets the current FPS associated with a renderer process view. 688 // Gets the current FPS associated with a renderer process view.
689 void GetFPS(Browser* browser, 689 void GetFPS(Browser* browser,
690 base::DictionaryValue* args, 690 base::DictionaryValue* args,
691 IPC::Message* reply_message); 691 IPC::Message* reply_message);
692 692
693 // Gets the current total global GPU memory usage.
694 void GetGpuMemoryUsage(Browser* browser,
695 base::DictionaryValue* args,
696 IPC::Message* reply_message);
697
693 // Fullscreen and Mouse Lock hooks. They take no JSON parameters. 698 // Fullscreen and Mouse Lock hooks. They take no JSON parameters.
694 void IsFullscreenForBrowser(Browser* browser, 699 void IsFullscreenForBrowser(Browser* browser,
695 base::DictionaryValue* args, 700 base::DictionaryValue* args,
696 IPC::Message* reply_message); 701 IPC::Message* reply_message);
697 void IsFullscreenForTab(Browser* browser, 702 void IsFullscreenForTab(Browser* browser,
698 base::DictionaryValue* args, 703 base::DictionaryValue* args,
699 IPC::Message* reply_message); 704 IPC::Message* reply_message);
700 void IsMouseLocked(Browser* browser, 705 void IsMouseLocked(Browser* browser,
701 base::DictionaryValue* args, 706 base::DictionaryValue* args,
702 IPC::Message* reply_message); 707 IPC::Message* reply_message);
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1603 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1599 1604
1600 // List of commands which just finish synchronously and don't require 1605 // List of commands which just finish synchronously and don't require
1601 // setting up an observer. 1606 // setting up an observer.
1602 static const int kSynchronousCommands[]; 1607 static const int kSynchronousCommands[];
1603 1608
1604 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1609 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1605 }; 1610 };
1606 1611
1607 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1612 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | chrome/test/data/gpu/mem_css3d.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698