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

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

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | « base/win/scoped_variant.h ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AUTOMATION_PROVIDER_OBSERVERS_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 private: 592 private:
593 NotificationRegistrar registrar_; 593 NotificationRegistrar registrar_;
594 594
595 DISALLOW_COPY_AND_ASSIGN(DomOperationObserver); 595 DISALLOW_COPY_AND_ASSIGN(DomOperationObserver);
596 }; 596 };
597 597
598 // Sends a message back to the automation client with the results of the DOM 598 // Sends a message back to the automation client with the results of the DOM
599 // operation. 599 // operation.
600 class DomOperationMessageSender : public DomOperationObserver { 600 class DomOperationMessageSender : public DomOperationObserver {
601 public: 601 public:
602 explicit DomOperationMessageSender(AutomationProvider* automation, 602 DomOperationMessageSender(AutomationProvider* automation,
603 IPC::Message* relpy_message, 603 IPC::Message* relpy_message,
604 bool use_json_interface); 604 bool use_json_interface);
605 virtual ~DomOperationMessageSender(); 605 virtual ~DomOperationMessageSender();
606 606
607 virtual void OnDomOperationCompleted(const std::string& json) OVERRIDE; 607 virtual void OnDomOperationCompleted(const std::string& json) OVERRIDE;
608 virtual void OnModalDialogShown() OVERRIDE; 608 virtual void OnModalDialogShown() OVERRIDE;
609 609
610 private: 610 private:
611 base::WeakPtr<AutomationProvider> automation_; 611 base::WeakPtr<AutomationProvider> automation_;
612 scoped_ptr<IPC::Message> reply_message_; 612 scoped_ptr<IPC::Message> reply_message_;
613 bool use_json_interface_; 613 bool use_json_interface_;
614 614
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1585 1585
1586 private: 1586 private:
1587 NotificationRegistrar registrar_; 1587 NotificationRegistrar registrar_;
1588 base::WeakPtr<AutomationProvider> automation_; 1588 base::WeakPtr<AutomationProvider> automation_;
1589 scoped_ptr<IPC::Message> reply_message_; 1589 scoped_ptr<IPC::Message> reply_message_;
1590 1590
1591 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver); 1591 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver);
1592 }; 1592 };
1593 1593
1594 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1594 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
OLDNEW
« no previous file with comments | « base/win/scoped_variant.h ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698