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

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

Issue 12220101: Minimal Chrome Frame with Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert install_worker.cc to un-break win64 build Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // This implements a browser-side endpoint for ChromeFrame UI automation
6 // activity. The client-side endpoint is implemented by
7 // ChromeFrameAutomationClient.
8 // The entire lifetime of this object should be contained within that of
9 // the BrowserProcess
10
11 #ifndef CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_
12 #define CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_
13
14 #include "base/basictypes.h"
15 #include "chrome/browser/automation/automation_provider.h"
16
17 class Profile;
18
19 // This class services automation IPC requests coming in from ChromeFrame
20 // instances.
21 class ChromeFrameAutomationProvider : public AutomationProvider {
22 public:
23 explicit ChromeFrameAutomationProvider(Profile* profile);
24 virtual ~ChromeFrameAutomationProvider();
25
26 // IPC::Listener overrides.
27 virtual bool OnMessageReceived(const IPC::Message& message);
28
29 protected:
30 // This function is called when we receive an invalid message type.
31 virtual void OnUnhandledMessage(const IPC::Message& message);
32
33 // Returns true if the message received is a valid chrome frame message.
34 bool IsValidMessage(uint32 type);
35
36 // Called to release an instance's ref count on the global BrowserProcess
37 // instance.
38 static void ReleaseBrowserProcess();
39
40 private:
41 DISALLOW_COPY_AND_ASSIGN(ChromeFrameAutomationProvider);
42 };
43
44 #endif // CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_
45
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_win.cc ('k') | chrome/browser/automation/chrome_frame_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698