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

Unified Diff: content/renderer/text_input_client_observer.h

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 years, 1 month 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
« no previous file with comments | « content/renderer/renderer_main.cc ('k') | content/renderer/text_input_client_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/text_input_client_observer.h
diff --git a/content/renderer/text_input_client_observer.h b/content/renderer/text_input_client_observer.h
index 6871057ba283f8d28f8a290dae6541bb2f46a4b1..e2ce697ea4cac598214f81f223ca1d8ff998004f 100644
--- a/content/renderer/text_input_client_observer.h
+++ b/content/renderer/text_input_client_observer.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "build/build_config.h"
#include "content/public/renderer/render_view_observer.h"
+#include "ppapi/features/features.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/range/range.h"
@@ -41,7 +42,7 @@ class TextInputClientObserver : public IPC::Listener, public IPC::Sender {
blink::WebLocalFrame* GetFocusedFrame() const;
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
// Returns the currently focused pepper plugin on the page. The expectation is
// that the focused pepper plugin is inside a frame whose local root is equal
// to GetWebFrameWidget()->localRoot().
« no previous file with comments | « content/renderer/renderer_main.cc ('k') | content/renderer/text_input_client_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698