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

Side by Side Diff: headless/lib/browser/headless_platform_event_source.h

Issue 1991953002: Implement a runtime headless mode for Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 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
(Empty)
1 // Copyright 2016 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 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_PLATFORM_EVENT_SOURCE_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_PLATFORM_EVENT_SOURCE_H_
7
8 #include "base/macros.h"
9 #include "ui/events/platform/platform_event_source.h"
10
11 namespace headless {
12
13 // A stub event source whose main purpose is to prevent the default platform
14 // event source from getting created.
15 class HeadlessPlatformEventSource : public ui::PlatformEventSource {
16 public:
17 HeadlessPlatformEventSource();
18 ~HeadlessPlatformEventSource() override;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(HeadlessPlatformEventSource);
22 };
23
24 } // namespace headless
25
26 #endif // HEADLESS_LIB_BROWSER_HEADLESS_PLATFORM_EVENT_SOURCE_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_browser_impl.cc ('k') | headless/lib/browser/headless_platform_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698