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

Side by Side Diff: content/common/view_messages.h

Issue 23464080: [Android] Decouple pausing video from RenderView pause. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) 1308 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded)
1309 1309
1310 // Sent by the browser when the renderer should generate a new frame. 1310 // Sent by the browser when the renderer should generate a new frame.
1311 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, 1311 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame,
1312 cc::BeginFrameArgs /* args */) 1312 cc::BeginFrameArgs /* args */)
1313 1313
1314 // Sent by the browser when an IME update that requires acknowledgement has been 1314 // Sent by the browser when an IME update that requires acknowledgement has been
1315 // processed on the browser side. 1315 // processed on the browser side.
1316 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) 1316 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck)
1317 1317
1318 // Sent by the browser when we should pause video playback.
1319 IPC_MESSAGE_ROUTED0(ViewMsg_PauseVideo);
1320
1318 #elif defined(OS_MACOSX) 1321 #elif defined(OS_MACOSX)
1319 // Let the RenderView know its window has changed visibility. 1322 // Let the RenderView know its window has changed visibility.
1320 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, 1323 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
1321 bool /* visibile */) 1324 bool /* visibile */)
1322 1325
1323 // Let the RenderView know its window's frame has changed. 1326 // Let the RenderView know its window's frame has changed.
1324 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, 1327 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
1325 gfx::Rect /* window frame */, 1328 gfx::Rect /* window frame */,
1326 gfx::Rect /* content view frame */) 1329 gfx::Rect /* content view frame */)
1327 1330
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 // synchronously (see crbug.com/120597). This IPC message sends the character 2386 // synchronously (see crbug.com/120597). This IPC message sends the character
2384 // bounds after every composition change to always have correct bound info. 2387 // bounds after every composition change to always have correct bound info.
2385 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2388 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2386 gfx::Range /* composition range */, 2389 gfx::Range /* composition range */,
2387 std::vector<gfx::Rect> /* character bounds */) 2390 std::vector<gfx::Rect> /* character bounds */)
2388 #endif 2391 #endif
2389 2392
2390 // Adding a new message? Stick to the sort order above: first platform 2393 // Adding a new message? Stick to the sort order above: first platform
2391 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2394 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2392 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2395 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/public/browser/android/content_view_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698