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

Unified Diff: extensions/common/event_filtering_info.h

Issue 1099553002: extensions: windows: list all windows from the current profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable focus event tests on MacOSX Created 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/common/event_filtering_info.h
diff --git a/extensions/common/event_filtering_info.h b/extensions/common/event_filtering_info.h
index a3587986a9ece864024876dab462af867538615a..4b76f2d14a796379f4736e126abb7b404393db09 100644
--- a/extensions/common/event_filtering_info.h
+++ b/extensions/common/event_filtering_info.h
@@ -26,12 +26,16 @@ class EventFilteringInfo {
public:
EventFilteringInfo();
~EventFilteringInfo();
+ void SetWindowType(const std::string& window_type);
void SetURL(const GURL& url);
void SetInstanceID(int instance_id);
void SetServiceType(const std::string& service_type) {
service_type_ = service_type;
}
+ bool has_window_type() const { return has_window_type_; }
not at google - send to devlin 2015/07/31 21:48:03 Could you add a comment: Note: window type is a C
llandwerlin-old 2015/08/03 10:11:54 Done.
+ const std::string& window_type() const { return window_type_; }
+
bool has_url() const { return has_url_; }
const GURL& url() const { return url_; }
@@ -52,6 +56,9 @@ class EventFilteringInfo {
bool has_instance_id_;
int instance_id_;
+ bool has_window_type_;
+ std::string window_type_;
+
// Allow implicit copy and assignment.
};

Powered by Google App Engine
This is Rietveld 408576698